You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by mb...@apache.org on 2008/01/29 11:37:28 UTC
svn commit: r616245 -
/incubator/uima/sandbox/trunk/RegularExpressionAnnotator/docbook/RegexAnnotatorUserGuide/regexAnnotatorUserGuide.xml
Author: mbaessler
Date: Tue Jan 29 02:37:27 2008
New Revision: 616245
URL: http://svn.apache.org/viewvc?rev=616245&view=rev
Log:
UIMA-728
update documentation to add new normalization function "Trim"
https://issues.apache.org/jira/browse/UIMA-728
Modified:
incubator/uima/sandbox/trunk/RegularExpressionAnnotator/docbook/RegexAnnotatorUserGuide/regexAnnotatorUserGuide.xml
Modified: incubator/uima/sandbox/trunk/RegularExpressionAnnotator/docbook/RegexAnnotatorUserGuide/regexAnnotatorUserGuide.xml
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/RegularExpressionAnnotator/docbook/RegexAnnotatorUserGuide/regexAnnotatorUserGuide.xml?rev=616245&r1=616244&r2=616245&view=diff
==============================================================================
--- incubator/uima/sandbox/trunk/RegularExpressionAnnotator/docbook/RegexAnnotatorUserGuide/regexAnnotatorUserGuide.xml (original)
+++ incubator/uima/sandbox/trunk/RegularExpressionAnnotator/docbook/RegexAnnotatorUserGuide/regexAnnotatorUserGuide.xml Tue Jan 29 02:37:27 2008
@@ -1022,6 +1022,13 @@
- normalize the feature value to upper case before it is assigned to the annotation.
</para>
</listitem>
+ <listitem>
+ <para>
+ <code>Trim</code>
+ - remove all leading and trailing whitespace characters from the feature value before
+ it is assigned to the annotation.
+ </para>
+ </listitem>
</itemizedlist>
Built-in normalization configuration:
<programlisting><emphasis><![CDATA[<setFeature name="normalizedFeature" type="String"
@@ -1361,6 +1368,7 @@
<xs:enumeration value="Custom" />
<xs:enumeration value="ToLowerCase" />
<xs:enumeration value="ToUpperCase" />
+ <xs:enumeration value="Trim" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>