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/10/06 20:01:27 UTC
svn commit: r1179728 - in /incubator/opennlp/trunk/opennlp-uima/descriptors:
Chunker.xml ChunkerTrainer.xml TypeSystem.xml
Author: joern
Date: Thu Oct 6 18:01:27 2011
New Revision: 1179728
URL: http://svn.apache.org/viewvc?rev=1179728&view=rev
Log:
OPENNLP-317 Renamed the Chunk annotations "type" feature to "chunkType" , because type is not allowed as a name in JCasGen.
Modified:
incubator/opennlp/trunk/opennlp-uima/descriptors/Chunker.xml
incubator/opennlp/trunk/opennlp-uima/descriptors/ChunkerTrainer.xml
incubator/opennlp/trunk/opennlp-uima/descriptors/TypeSystem.xml
Modified: incubator/opennlp/trunk/opennlp-uima/descriptors/Chunker.xml
URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-uima/descriptors/Chunker.xml?rev=1179728&r1=1179727&r2=1179728&view=diff
==============================================================================
--- incubator/opennlp/trunk/opennlp-uima/descriptors/Chunker.xml (original)
+++ incubator/opennlp/trunk/opennlp-uima/descriptors/Chunker.xml Thu Oct 6 18:01:27 2011
@@ -98,7 +98,7 @@
<nameValuePair>
<name>opennlp.uima.ChunkTagFeature</name>
<value>
- <string>type</string>
+ <string>chunkType</string>
</value>
</nameValuePair>
</configurationParameterSettings>
Modified: incubator/opennlp/trunk/opennlp-uima/descriptors/ChunkerTrainer.xml
URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-uima/descriptors/ChunkerTrainer.xml?rev=1179728&r1=1179727&r2=1179728&view=diff
==============================================================================
--- incubator/opennlp/trunk/opennlp-uima/descriptors/ChunkerTrainer.xml (original)
+++ incubator/opennlp/trunk/opennlp-uima/descriptors/ChunkerTrainer.xml Thu Oct 6 18:01:27 2011
@@ -63,7 +63,20 @@
<multiValued>false</multiValued>
<mandatory>true</mandatory>
</configurationParameter>
-
+
+ <configurationParameter>
+ <name>opennlp.uima.ChunkType</name>
+ <type>String</type>
+ <multiValued>false</multiValued>
+ <mandatory>true</mandatory>
+ </configurationParameter>
+
+ <configurationParameter>
+ <name>opennlp.uima.ChunkTagFeature</name>
+ <type>String</type>
+ <multiValued>false</multiValued>
+ <mandatory>true</mandatory>
+ </configurationParameter>
</configurationParameters>
<configurationParameterSettings>
@@ -102,6 +115,20 @@
</value>
</nameValuePair>
+ <nameValuePair>
+ <name>opennlp.uima.ChunkType</name>
+ <value>
+ <string>opennlp.uima.Chunk</string>
+ </value>
+ </nameValuePair>
+
+ <nameValuePair>
+ <name>opennlp.uima.ChunkTagFeature</name>
+ <value>
+ <string>chunkType</string>
+ </value>
+ </nameValuePair>
+
</configurationParameterSettings>
<typeSystemDescription />
Modified: incubator/opennlp/trunk/opennlp-uima/descriptors/TypeSystem.xml
URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-uima/descriptors/TypeSystem.xml?rev=1179728&r1=1179727&r2=1179728&view=diff
==============================================================================
--- incubator/opennlp/trunk/opennlp-uima/descriptors/TypeSystem.xml (original)
+++ incubator/opennlp/trunk/opennlp-uima/descriptors/TypeSystem.xml Thu Oct 6 18:01:27 2011
@@ -53,7 +53,7 @@
<supertypeName>uima.tcas.Annotation</supertypeName>
<features>
<featureDescription>
- <name>type</name>
+ <name>chunkType</name>
<description></description>
<rangeTypeName>uima.cas.String</rangeTypeName>
</featureDescription>