Constructor and Description |
---|
PositionBuffer() |
Modifier and Type | Method and Description |
---|---|
void |
accept(Token token) |
void |
add(Token token) |
void |
clear() |
int |
endOffset() |
void |
ensureCapacity(int capacity) |
TokenUtils.PositionBuffer |
postProcess(int increment)
Post-process this position, setting the surface token's position increment to
increment . |
int |
startOffset() |
Phrase |
toPhrase(int offsetBase) |
boolean |
tryAdvance(Consumer<TokenUtils.TokenBuffer> consumer) |
public void ensureCapacity(int capacity)
public boolean tryAdvance(Consumer<TokenUtils.TokenBuffer> consumer)
public int startOffset()
public int endOffset()
public void clear()
public void add(Token token)
public TokenUtils.PositionBuffer postProcess(int increment)
increment
.public Phrase toPhrase(int offsetBase)
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.