Package | Description |
---|---|
com.attivio.sdk.token | |
com.attivio.util |
Modifier and Type | Method and Description |
---|---|
Token |
Token.clone()
Returns a copy of this Token instance.
|
static Token |
Token.createElementAttributeToken(String key,
String value)
Creates an element attribute token.
|
static Token |
Token.createEndScopeToken(String text)
Creates an end scope token.
|
static Token |
Token.createStartScopeToken(String text)
Creates a start scope token.
|
Token |
Position.endScope(String name)
Mark this position as the last position in scope
name . |
Token |
Position.get()
Get the primary Token for this position.
|
Token[] |
Position.get(TokenAnnotation annotation)
Get all Tokens for this position that contain the specified annotation.
|
Token |
TokenList.getFirst()
Returns the first Token in this TokenList.
|
Token |
TokenList.getLast()
Returns the last Token in this TokenList.
|
Token |
TokenIterator.getNext()
Gets the next Token, without advancing the pointer.
|
Token |
Position.getSurfaceToken()
Returns the first token in this position that is a surface token.
|
Token[] |
Position.getTokens()
Gets all Tokens for this Position.
|
Token |
TokenIterator.next()
Moves the iterator to the next Token in the TokenList and returns that token.
|
Token |
ScopeInfo.next() |
Token |
TokenSink.startLanguageRegion(Locale locale)
Start a language region for
locale . |
Token |
Position.startScope(String name)
Mark this position as the first position in scope
name . |
Token |
Token.subSequence(int start,
int end)
Returns a new character sequence that is a subsequence of this sequence.
|
Token |
Token.toLowerCase()
Convert all characters in this Token to be LowerCased.
|
Token |
Token.toUpperCase()
Convert all characters in this Token to be LowerCased.
|
static Token |
Token.valueOf(Object value)
Return the token representation of an arbitrary
value . |
Modifier and Type | Method and Description |
---|---|
void |
TokenSink.add(Token t)
Appends a token using the default position increment.
|
void |
Position.add(Token t)
Add a Token to this Position.
|
void |
TokenList.add(Token t,
int increment)
Appends a token.
|
void |
TokenIterator.add(Token t,
int increment)
Appends a token.
|
abstract void |
TokenSink.add(Token t,
int increment)
Appends a token.
|
void |
TokenListSerializer.addToken(Token token) |
TokenList |
TokenList.append(Token t)
Appends a token using the default position increment.
|
TokenSink |
TokenSink.append(Token t)
Appends a token using the default position increment.
|
TokenList |
TokenList.append(Token t,
int increment)
Appends a token.
|
TokenSink |
TokenSink.append(Token t,
int increment)
Appends a token.
|
boolean |
Token.bufferEquals(Token token)
Return true if this Token's buffer contains the same text as
token . |
int |
Token.compareTo(Token other) |
int |
Token.compareToIgnoreCase(Token other)
Case insensitive equivalent to compareTo.
|
protected boolean |
Token.equals(Token other,
long annotationMask)
Compare this token to
other . |
static String |
TokenList.join(Token[] tokens,
int startIndex,
int endIndex,
char joinChar)
Join the text for all
tokens on joinChar . |
int |
Token.offsetGap(Token previous)
Get the offset gap between
previous and this token. |
void |
TokenIterator.set(Token t)
Replaces the current Token with a new Token
|
void |
TokenListSerializer.startPosition(int increment,
Token token) |
Modifier and Type | Method and Description |
---|---|
static String |
TokenList.join(Iterable<Token> tokens,
char joinChar)
Join the text for all
tokens on joinChar . |
static String |
TokenList.join(Iterator<Token> tokens,
char joinChar)
Join the text for all
tokens on joinChar . |
Constructor and Description |
---|
TokenList(Token... tokens)
Construct a new TokenList with the specified
tokens . |
TokenList(Token token)
Construct a new TokenList with a single
token . |
Modifier and Type | Method and Description |
---|---|
Token |
TokenUtils.TokenBuffer.token() |
Modifier and Type | Method and Description |
---|---|
void |
TokenUtils.PositionBuffer.accept(Token token) |
void |
TokenUtils.PositionBuffer.add(Token token) |
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.