|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.stanbol.commons.opennlp.TextAnalyzer.AnalysedText
public class TextAnalyzer.AnalysedText
| Nested Class Summary | |
|---|---|
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 |
| Field Summary | |
|---|---|
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. |
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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 available
protected String language
| Method Detail |
|---|
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 content
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||