public class TextAnalyzer.AnalysedText extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
TextAnalyzer.AnalysedText.Chunk
Deprecated.
replaced by STANBOL-733 (stanbol nlp processing module
|
class |
TextAnalyzer.AnalysedText.Token
Deprecated.
replaced by STANBOL-733 (stanbol nlp processing module
|
| Modifier and Type | Field and Description |
|---|---|
protected List<TextAnalyzer.AnalysedText.Chunk> |
chunks
Deprecated.
Final and
unmodifiable list
with the chunks of the analysed sentence or null
of no chunks are available |
protected String |
language
Deprecated.
The language of the analyzed text
|
protected String |
sentence
Deprecated.
The analysed sentence
|
protected List<TextAnalyzer.AnalysedText.Token> |
tokens
Deprecated.
Final and
unmodifiable list
with the tokens of the analysed sentence. |
| Modifier and Type | Method and Description |
|---|---|
List<TextAnalyzer.AnalysedText.Chunk> |
getChunks()
Deprecated.
|
String |
getLanguage()
Deprecated.
|
int |
getOffset()
Deprecated.
Getter for the Offset of this Sentence relative to the whole analysed
Text.
|
String |
getText()
Deprecated.
|
List<TextAnalyzer.AnalysedText.Token> |
getTokens()
Deprecated.
|
protected final String sentence
protected final List<TextAnalyzer.AnalysedText.Token> tokens
unmodifiable list
with the tokens of the analysed sentence.protected final List<TextAnalyzer.AnalysedText.Chunk> chunks
unmodifiable list
with the chunks of the analysed sentence or null
of no chunks are availableprotected String language
public List<TextAnalyzer.AnalysedText.Token> getTokens()
public List<TextAnalyzer.AnalysedText.Chunk> getChunks()
public String getText()
public String getLanguage()
public int getOffset()
0 if there is no offset this analysed text represents
the whole contentCopyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.