org.apache.stanbol.commons.opennlp
Class TextAnalyzer.AnalysedText

java.lang.Object
  extended by org.apache.stanbol.commons.opennlp.TextAnalyzer.AnalysedText
Enclosing class:
TextAnalyzer

Deprecated. replaced by STANBOL-733 (stanbol nlp processing module

public class TextAnalyzer.AnalysedText
extends Object


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

sentence

protected final String sentence
Deprecated. 
The analysed sentence


tokens

protected final List<TextAnalyzer.AnalysedText.Token> tokens
Deprecated. 
Final and unmodifiable list with the tokens of the analysed sentence.


chunks

protected final List<TextAnalyzer.AnalysedText.Chunk> chunks
Deprecated. 
Final and unmodifiable list with the chunks of the analysed sentence or null of no chunks are available


language

protected String language
Deprecated. 
The language of the analyzed text

Method Detail

getTokens

public List<TextAnalyzer.AnalysedText.Token> getTokens()
Deprecated. 

getChunks

public List<TextAnalyzer.AnalysedText.Chunk> getChunks()
Deprecated. 

getText

public String getText()
Deprecated. 

getLanguage

public String getLanguage()
Deprecated. 

getOffset

public int getOffset()
Deprecated. 
Getter for the Offset of this Sentence relative to the whole analysed Text. 0 if there is no offset this analysed text represents the whole content

Returns:
the offset


Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.