-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fully support YiSi-2 by facilitating SRL calls for both languages.
YiSi now supports calling mateplus/mate for both the input and the hypotheses in a single JVM using separate class loaders within each Mate object. Squashed merge commit of the following: commit 0ede584117de5f6453781d653374f009ff4f267f Author: Darlene Stewart <[email protected]> Date: Wed May 22 12:13:52 2019 -0400 Added alternate reference for srl_test. commit 9ce21f9ad0895f0818ae205518fb649bdfab5920 Author: Darlene Stewart <[email protected]> Date: Tue May 21 14:28:58 2019 -0400 Updated es.mplsconfig.template. commit a9c328c0fc504c35da22604ac658647cd199a74f Merge: d578e94 6a6a217 Author: Darlene Stewart <[email protected]> Date: Mon May 6 14:51:15 2019 -0400 Merge branch 'dev.yisi_2_srl' into master. YiSi now supports calling mateplus/mate for both the input and the hypotheses in a single JVM using separate class loaders within each Mate object. commit 6a6a21770b616ca22810f272fed4c350f3f1ac1c Author: Darlene Stewart <[email protected]> Date: Mon May 6 14:41:16 2019 -0400 Added MATETOOLS_HOME and updated zh.mplsconfig generation. commit 3c2556b4c06bf2f2b1a2a660342eec533c9f00e7 Author: Darlene Stewart <[email protected]> Date: Mon May 6 12:04:26 2019 -0400 Support alternate reference output files for YiSi SRL tests. commit aca412c8de0ac1098e796713a2b50ba9030d6de4 Author: Darlene Stewart <[email protected]> Date: Fri May 3 17:48:41 2019 -0400 Enabled test_yisi_2_srl. commit 346ec683cc1732f7e283cdfe1f27e5db8c981453 Author: Darlene Stewart <[email protected]> Date: Fri May 3 17:45:24 2019 -0400 Have each Mate object use a separate class loader to call mateplus. This is needed because different versions of the same underlying mate-tools classes are included for different languages. commit b4baa0c280fe5b69d9440f34672bbc7143425f9e Author: Darlene Stewart <[email protected]> Date: Thu Apr 18 14:30:50 2019 -0400 Use a singleton for the JVM.
- Loading branch information
1 parent
7788b1f
commit f487c4e
Showing
17 changed files
with
306 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,15 @@ | ||
matejar=<YISI_HOME>/obj/srlmate.jar:<MATEPLUS_HOME>/lib/srl.jar:<MATEPLUS_HOME>/lib/anna-3.3.jar:<MATEPLUS_HOME>/lib/opennlp-maxent-3.0.3.jar:<MATEPLUS_HOME>/lib/opennlp-tools-1.5.3.jar:<MATEPLUS_HOME>/lib/liblinear-1.92.jar:<MATEPLUS_HOME>/lib/stanford-corenlp-3.9.1.jar:<MATEPLUS_HOME>/lib/transition-1.30.jar:<MATEPLUS_HOME>/lib/whatswrong-0.2.3.jar:<MATEPLUS_HOME>/lib/seg.jar:<MATEPLUS_HOME>/lib/slf4j-api-1.7.25.jar:<MATEPLUS_HOME>/lib/slf4j-jdk14-1.7.25.jar | ||
# yisi_home is needed to locate srlmate.jar within YiSi. | ||
yisi_home=<YISI_HOME> | ||
# mate_jars is a colon (:) separated list of all jar files needed to run | ||
# mateplus or mate-tools for this language. | ||
mate_jars=<MATETOOLS_HOME>/lib/srl.jar:<MATETOOLS_HOME>/lib/anna-3.3.jar:<MATETOOLS_HOME>/lib/opennlp-maxent-3.0.2-incubating.jar:<MATETOOLS_HOME>/lib/opennlp-tools-1.5.2-incubating.jar:<MATETOOLS_HOME>/lib/liblinear-1.51-with-deps.jar:<MATETOOLS_HOME>/lib/whatswrong-0.2.3.jar | ||
#mate_jars=<MATETOOLS_HOME>/lib/srl.jar:<MATETOOLS_HOME>/lib/anna-3.3.jar:<MATETOOLS_HOME>/lib/opennlp-maxent-3.0.3.jar:<MATETOOLS_HOME>/lib/opennlp-tools-1.5.3.jar:<MATETOOLS_HOME>/lib/liblinear-1.92.jar:<MATETOOLS_HOME>/lib/stanford-corenlp-3.9.1.jar:<MATETOOLS_HOME>/lib/whatswrong-0.2.3.jar:/<MATETOOLS_HOME>/lib/slf4j-api-1.7.25.jar:<MATETOOLS_HOME>/lib/slf4j-jdk14-1.7.25.jar | ||
lang=spa | ||
rerank=0 | ||
hybrid=0 | ||
token= | ||
morph=MATEPLUS_HOME>/models/CoNLL2009-ST-Spanish-ALL.anna-3.3.morphtagger.model | ||
lemma=MATEPLUS_HOME>/models/CoNLL2009-ST-Spanish-ALL.anna-3.3.lemmatizer.model | ||
tagger=MATEPLUS_HOME>/models/CoNLL2009-ST-Spanish-ALL.anna-3.3.postagger.model | ||
parser=MATEPLUS_HOME>/models/CoNLL2009-ST-Spanish-ALL.anna-3.3.parser.model | ||
srl=MATEPLUS_HOME>/models/CoNLL2009-ST-Spanish-ALL.anna-3.3.srl-4.21.srl-rr.model | ||
morph=<MATETOOLS_HOME>/models/CoNLL2009-ST-Spanish-ALL.anna-3.3.morphtagger.model | ||
lemma=<MATETOOLS_HOME>/models/CoNLL2009-ST-Spanish-ALL.anna-3.3.lemmatizer.model | ||
tagger=<MATETOOLS_HOME>/models/CoNLL2009-ST-Spanish-ALL.anna-3.3.postagger.model | ||
parser=<MATETOOLS_HOME>/models/CoNLL2009-ST-Spanish-ALL.anna-3.3.parser.model | ||
srl=<MATETOOLS_HOME>/models/CoNLL2009-ST-Spanish-ALL.anna-3.3.srl-4.21.srl-rr.model |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,15 @@ | ||
matejar=<YISI_HOME>/obj/srlmate.jar:<MATEPLUS_HOME>/lib/srl.jar:<MATEPLUS_HOME>/lib/anna-3.3.jar:<MATEPLUS_HOME>/lib/opennlp-maxent-3.0.3.jar:<MATEPLUS_HOME>/lib/opennlp-tools-1.5.3.jar:<MATEPLUS_HOME>/lib/liblinear-1.92.jar:<MATEPLUS_HOME>/lib/stanford-corenlp-3.9.1.jar:<MATEPLUS_HOME>/lib/transition-1.30.jar:<MATEPLUS_HOME>/lib/whatswrong-0.2.3.jar:<MATEPLUS_HOME>/lib/seg.jar:<MATEPLUS_HOME>/lib/slf4j-api-1.7.25.jar:<MATEPLUS_HOME>/lib/slf4j-jdk14-1.7.25.jar | ||
# yisi_home is needed to locate srlmate.jar within YiSi. | ||
yisi_home=<YISI_HOME> | ||
# mate_jars is a colon (:) separated list of all jar files needed to run | ||
# mateplus or mate-tools for this language. | ||
mate_jars=<MATETOOLS_HOME>/lib/srl.jar:<MATETOOLS_HOME>/lib/anna-3.3.jar:<MATETOOLS_HOME>/lib/opennlp-maxent-3.0.2-incubating.jar:<MATETOOLS_HOME>/lib/opennlp-tools-1.5.2-incubating.jar:<MATETOOLS_HOME>/lib/liblinear-1.51-with-deps.jar:<MATETOOLS_HOME>/lib/whatswrong-0.2.3.jar:<MATETOOLS_HOME>/lib/seg.jar | ||
#mate_jars=<MATETOOLS_HOME>/lib/srl.jar:<MATETOOLS_HOME>/lib/anna-3.3.jar:<MATETOOLS_HOME>/lib/opennlp-maxent-3.0.3.jar:<MATETOOLS_HOME>/lib/opennlp-tools-1.5.3.jar:<MATETOOLS_HOME>/lib/liblinear-1.92.jar:<MATETOOLS_HOME>/lib/whatswrong-0.2.3.jar:<MATETOOLS_HOME>/lib/stanford-segmenter-3.6.0.jar:/<MATETOOLS_HOME>/lib/slf4j-api-1.7.25.jar:<MATETOOLS_HOME>/lib/slf4j-jdk14-1.7.25.jar | ||
lang=chi | ||
rerank=0 | ||
hybrid=0 | ||
token=<MATEPLUS_HOME>/models/stanford-segmenter-2015-12-09/data | ||
token=<MATETOOLS_HOME>/models/stanford-segmenter-2015-12-09/data | ||
morph= | ||
lemma= | ||
tagger=<MATEPLUS_HOME>/models/CoNLL2009-ST-Chinese-ALL.anna-3.3.postagger.model | ||
parser=<MATEPLUS_HOME>/models/CoNLL2009-ST-Chinese-ALL.anna-3.3.parser.model | ||
srl=<MATEPLUS_HOME>/models/CoNLL2009-ST-Chinese-ALL.anna-3.3.srl-4.1.srl.model | ||
tagger=<MATETOOLS_HOME>/models/CoNLL2009-ST-Chinese-ALL.anna-3.3.postagger.model | ||
parser=<MATETOOLS_HOME>/models/CoNLL2009-ST-Chinese-ALL.anna-3.3.parser.model | ||
srl=<MATETOOLS_HOME>/models/CoNLL2009-ST-Chinese-ALL.anna-3.3.srl-4.1.srl.model |
Oops, something went wrong.