public class TokenizeAnnotation extends Processor
Modifier and Type | Field and Description |
---|---|
java.lang.String |
annotationKind
Specify the type of annotation, by default we wil lcompare annotation
with NORMALIZED annotation values = exact|lowercase|normalized"
|
java.lang.String |
annotationsToTokenize
Comma separated list of Annotations to transform in tokens to allow You
should not have overlap between two annotation of this type, you can put
a KeepLongest operation within the AnnotationManager just before to avoid problems
|
java.lang.String |
resource
The processor resource
|
Constructor and Description |
---|
TokenizeAnnotation(java.lang.String name,
java.lang.String resource,
java.lang.String fields)
resource should be a valid tokenizer resource
|
Modifier and Type | Method and Description |
---|---|
protected void |
finalize() |
void |
init(java.lang.String name,
java.lang.String[] fields)
Initialize the processor
|
protected void |
init(java.lang.String name,
java.lang.String[] fields,
java.lang.String[] annotations,
int kind,
java.lang.String tokenizerResource) |
checkResource, destroy, getName, init
public java.lang.String resource
public java.lang.String annotationsToTokenize
public java.lang.String annotationKind
public TokenizeAnnotation(java.lang.String name, java.lang.String resource, java.lang.String fields)
protected void finalize()
finalize
in class java.lang.Object
public void init(java.lang.String name, java.lang.String[] fields)
Processor
protected void init(java.lang.String name, java.lang.String[] fields, java.lang.String[] annotations, int kind, java.lang.String tokenizerResource)
Copyright © 2013 Dassault Systèmes, All Rights Reserved.