You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opennlp.apache.org by jo...@apache.org on 2011/04/05 13:10:54 UTC

svn commit: r1088972 - in /incubator/opennlp/trunk/opennlp-uima/descriptors: ChunkerTrainer.xml PersonNameFinderTrainer.xml PosTaggerTrainer.xml SentenceDetectorTrainer.xml TokenizerTrainer.xml

Author: joern
Date: Tue Apr  5 11:10:54 2011
New Revision: 1088972

URL: http://svn.apache.org/viewvc?rev=1088972&view=rev
Log:
OPENNLP-150 Added the missing language parameter to the training descriptors. Thanks to Tommaso Teofili for providing the patch and for testing the UIMA integration.

Modified:
    incubator/opennlp/trunk/opennlp-uima/descriptors/ChunkerTrainer.xml
    incubator/opennlp/trunk/opennlp-uima/descriptors/PersonNameFinderTrainer.xml
    incubator/opennlp/trunk/opennlp-uima/descriptors/PosTaggerTrainer.xml
    incubator/opennlp/trunk/opennlp-uima/descriptors/SentenceDetectorTrainer.xml
    incubator/opennlp/trunk/opennlp-uima/descriptors/TokenizerTrainer.xml

Modified: incubator/opennlp/trunk/opennlp-uima/descriptors/ChunkerTrainer.xml
URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-uima/descriptors/ChunkerTrainer.xml?rev=1088972&r1=1088971&r2=1088972&view=diff
==============================================================================
--- incubator/opennlp/trunk/opennlp-uima/descriptors/ChunkerTrainer.xml (original)
+++ incubator/opennlp/trunk/opennlp-uima/descriptors/ChunkerTrainer.xml Tue Apr  5 11:10:54 2011
@@ -56,6 +56,14 @@
 				<multiValued>false</multiValued>
 				<mandatory>true</mandatory>
 			</configurationParameter>
+
+			<configurationParameter>
+				<name>opennlp.uima.Language</name>
+				<type>String</type>
+				<multiValued>false</multiValued>
+				<mandatory>true</mandatory>
+			</configurationParameter>
+
 		</configurationParameters>
 
 		<configurationParameterSettings>
@@ -86,6 +94,14 @@
 					<string>pos</string>
 				</value>
 			</nameValuePair>
+
+			<nameValuePair>
+				<name>opennlp.uima.Language</name>
+				<value>
+					<string>en</string>
+				</value>
+			</nameValuePair>
+
 		</configurationParameterSettings>
 		
 		<typeSystemDescription />

Modified: incubator/opennlp/trunk/opennlp-uima/descriptors/PersonNameFinderTrainer.xml
URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-uima/descriptors/PersonNameFinderTrainer.xml?rev=1088972&r1=1088971&r2=1088972&view=diff
==============================================================================
--- incubator/opennlp/trunk/opennlp-uima/descriptors/PersonNameFinderTrainer.xml (original)
+++ incubator/opennlp/trunk/opennlp-uima/descriptors/PersonNameFinderTrainer.xml Tue Apr  5 11:10:54 2011
@@ -71,7 +71,14 @@
 				<mandatory>false</mandatory>
 			</configurationParameter>
 		</configurationParameters>
-		
+
+			<configurationParameter>
+				<name>opennlp.uima.Language</name>
+				<type>String</type>
+				<multiValued>false</multiValued>
+				<mandatory>true</mandatory>
+			</configurationParameter>
+
 		<configurationParameterSettings>
 
 			<nameValuePair>
@@ -101,6 +108,14 @@
 					<string>opennlp.uima.Person</string>
 				</value>
 			</nameValuePair>
+
+			<nameValuePair>
+				<name>opennlp.uima.Language</name>
+				<value>
+					<string>en</string>
+				</value>
+			</nameValuePair>
+
 		</configurationParameterSettings>
 		<typeSystemDescription>
 			<imports>

Modified: incubator/opennlp/trunk/opennlp-uima/descriptors/PosTaggerTrainer.xml
URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-uima/descriptors/PosTaggerTrainer.xml?rev=1088972&r1=1088971&r2=1088972&view=diff
==============================================================================
--- incubator/opennlp/trunk/opennlp-uima/descriptors/PosTaggerTrainer.xml (original)
+++ incubator/opennlp/trunk/opennlp-uima/descriptors/PosTaggerTrainer.xml Tue Apr  5 11:10:54 2011
@@ -56,6 +56,14 @@
 				<multiValued>false</multiValued>
 				<mandatory>true</mandatory>
 			</configurationParameter>
+
+			<configurationParameter>
+				<name>opennlp.uima.Language</name>
+				<type>String</type>
+				<multiValued>false</multiValued>
+				<mandatory>true</mandatory>
+			</configurationParameter>
+
 		</configurationParameters>
 
 		<configurationParameterSettings>
@@ -86,6 +94,14 @@
 					<string>pos</string>
 				</value>
 			</nameValuePair>
+
+			<nameValuePair>
+				<name>opennlp.uima.Language</name>
+				<value>
+					<string>en</string>
+				</value>
+			</nameValuePair>
+
 		</configurationParameterSettings>
 		
 		<typeSystemDescription />

Modified: incubator/opennlp/trunk/opennlp-uima/descriptors/SentenceDetectorTrainer.xml
URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-uima/descriptors/SentenceDetectorTrainer.xml?rev=1088972&r1=1088971&r2=1088972&view=diff
==============================================================================
--- incubator/opennlp/trunk/opennlp-uima/descriptors/SentenceDetectorTrainer.xml (original)
+++ incubator/opennlp/trunk/opennlp-uima/descriptors/SentenceDetectorTrainer.xml Tue Apr  5 11:10:54 2011
@@ -43,6 +43,14 @@
 				<multiValued>false</multiValued>
 				<mandatory>true</mandatory>
 			</configurationParameter>
+
+			<configurationParameter>
+				<name>opennlp.uima.Language</name>
+				<type>String</type>
+				<multiValued>false</multiValued>
+				<mandatory>true</mandatory>
+			</configurationParameter>
+
 		</configurationParameters>
 
 		<configurationParameterSettings>
@@ -59,6 +67,14 @@
 					<string>opennlp.uima.Sentence</string>
 				</value>
 			</nameValuePair>
+
+			<nameValuePair>
+				<name>opennlp.uima.Language</name>
+				<value>
+					<string>en</string>
+				</value>
+			</nameValuePair>
+
 		</configurationParameterSettings>
 		<typeSystemDescription />
 		<typePriorities />

Modified: incubator/opennlp/trunk/opennlp-uima/descriptors/TokenizerTrainer.xml
URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-uima/descriptors/TokenizerTrainer.xml?rev=1088972&r1=1088971&r2=1088972&view=diff
==============================================================================
--- incubator/opennlp/trunk/opennlp-uima/descriptors/TokenizerTrainer.xml (original)
+++ incubator/opennlp/trunk/opennlp-uima/descriptors/TokenizerTrainer.xml Tue Apr  5 11:10:54 2011
@@ -55,6 +55,12 @@
 				<multiValued>false</multiValued>
 				<mandatory>true</mandatory>
 			</configurationParameter>
+			<configurationParameter>
+				<name>opennlp.uima.Language</name>
+				<type>String</type>
+				<multiValued>false</multiValued>
+				<mandatory>true</mandatory>
+			</configurationParameter>
 		</configurationParameters>
 		<configurationParameterSettings>
 			<nameValuePair>
@@ -83,6 +89,12 @@
 					<boolean>false</boolean>
 				</value>
 			</nameValuePair>
+			<nameValuePair>
+				<name>opennlp.uima.Language</name>
+				<value>
+					<string>en</string>
+				</value>
+			</nameValuePair>
 		</configurationParameterSettings>
 		<typeSystemDescription>
 			<imports>