Package | Description |
---|---|
com.attivio.sdk.search.query.phrase |
Contains all phrase operators.
|
com.attivio.sdk.token |
Modifier and Type | Method and Description |
---|---|
boolean |
PhraseTerm.containsAnnotation(TokenAnnotation value)
Returns true if the specified annotation is set.
|
void |
PhraseTerm.setAnnotation(TokenAnnotation value)
Set a TokenAnnotation.
|
void |
PhraseTerm.unsetAnnotation(TokenAnnotation value)
Unset a TokenAnnotation.
|
Constructor and Description |
---|
PhraseTerm(TokenAnnotation... annotation)
Constructor.
|
PhraseTerm(TokenAnnotation annotation)
Constructor.
|
SearchTerm(String text,
TokenAnnotation... annotation)
Constructor.
|
SearchTerm(String text,
TokenAnnotation annotation)
Constructor.
|
WildcardTerm(String text,
TokenAnnotation... annotation)
Constructor
|
WildcardTerm(String text,
TokenAnnotation annotation)
Constructor
|
Modifier and Type | Method and Description |
---|---|
static TokenAnnotation |
TokenAnnotation.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TokenAnnotation[] |
TokenAnnotation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Position.add(CharSequence token,
TokenAnnotation annotation,
boolean indexed)
Add an annotated token to this Position.
|
void |
Position.add(String token,
TokenAnnotation annotation)
Add an annotated token to this Position.
|
void |
Position.add(String token,
TokenAnnotation annotation,
boolean indexed)
Add an annotated token to this Position.
|
boolean |
Position.contains(TokenAnnotation annotation)
Returns
true if any token at this position is marked with annotation . |
boolean |
Token.containsAnnotation(TokenAnnotation annotation)
Returns true if the specified annotation is set.
|
boolean |
TokenAnnotationSet.containsAnnotation(TokenAnnotation annotation)
Returns true if the specified annotation is set.
|
Token[] |
Position.get(TokenAnnotation annotation)
Get all Tokens for this position that contain the specified annotation.
|
static long |
TokenAnnotation.mask(TokenAnnotation... annotations)
Get the union of masks for
annotations . |
void |
TokenList.remove(TokenAnnotation annotation)
Remove all tokens annotated with
annotation . |
void |
Position.remove(TokenAnnotation annotation)
Remove all tokens from this Position with the specified
annotation . |
void |
Token.setAnnotation(TokenAnnotation annotation)
Set a TokenAnnotation.
|
void |
TokenAnnotationSet.setAnnotation(TokenAnnotation annotation)
Set a TokenAnnotation.
|
void |
Token.unsetAnnotation(TokenAnnotation annotation)
Unset a TokenAnnotation.
|
void |
TokenAnnotationSet.unsetAnnotation(TokenAnnotation annotation)
Unset a TokenAnnotation.
|
Constructor and Description |
---|
Token(String text,
TokenAnnotation annotation)
Construct a new annotated token with
text . |
Copyright © 2018 Attivio, Inc. All Rights Reserved.
PATENT NOTICE: Attivio, Inc. Software Related Patents. With respect to the Attivio software product(s) being used, the following patents apply: Querying Joined Data Within A Search Engine Index: United States Patent No.(s): 8,073,840. Ordered Processing of Groups of Messages: U.S. Patent No.(s) 8,495,656. Signal processing approach to sentiment analysis for entities in documents: U.S. Patent No.(s) 8,725,494. Other U.S. and International Patents Pending.