org.apache.uima.java
true
org.apache.uima.examples.cas.RegExAnnotator
Simple Name Recognizer using Regular Expressions
Detects Names using a simple regular expression.
Patterns
Regular expression patterns to match. The language is that supported by Java 1.4.
String
true
false
TypeNames
Names of CAS Types to create for the patterns found. The indexes of this array
correspond to the indexes of the Patterns or PatternFiles arrays. If a match is found for
Patterns[i], it will result in an annotation of type
TypeNames[i].
String
true
false
ContainingAnnotationTypes
Names of CAS Input Types within which annotations should be created.
String
true
false
AnnotateEntireContainingAnnotation
When the ContainingAnnoationTypes parameter is specified, a value of true for this
parameter will cause the entire containing annotation to be used as the span of the new
annotation, rather than just the span of the regular expression match. This can be used
to "classify" previously created annotations according to whether or not they contain
text matching a regular expression.
Boolean
false
false
Patterns
\p{Upper}\w+
TypeNames
org.apache.uima.caseditor.Test
org.apache.uima.caseditor.Test
true
true
false