public interface LanguageEncounter
LanguageParser to extract natural
language details. This encounter used to indicate sentences and tokens
within those sentences.| Modifier and Type | Method and Description |
|---|---|
void |
endSentence(Location location)
End the current sentence.
|
void |
startSentence(Location location)
Start a new sentence.
|
void |
token(Token token)
A token has been encountered, either within a sentence or outside a
sentence.
|
void startSentence(Location location)
location - the location at which the sentence startsvoid endSentence(Location location)
location - the location at which the sentence endsvoid token(Token token)
token - the token that has been extractedCopyright © 2018. All rights reserved.