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

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

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

public class TextAnalyzer.AnalysedText.Chunk
extends Object


Field Summary
protected  opennlp.tools.util.Span chunkSpan
          Deprecated. Span over the TextAnalyzer.AnalysedText.tokens as used by the getStart() and getEnd() methods
protected  double probability
          Deprecated.  
protected  opennlp.tools.util.Span span
          Deprecated. The span over the char offset of this chunk within the TextAnalyzer.AnalysedText.sentence
 
Method Summary
 int getEnd()
          Deprecated.  
 double getProbability()
          Deprecated.  
 int getSize()
          Deprecated.  
 int getStart()
          Deprecated.  
 String getText()
          Deprecated. The text of this chunk
 List<TextAnalyzer.AnalysedText.Token> getTokens()
          Deprecated.  
 String toString()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

span

protected final opennlp.tools.util.Span span
Deprecated. 
The span over the char offset of this chunk within the TextAnalyzer.AnalysedText.sentence


chunkSpan

protected final opennlp.tools.util.Span chunkSpan
Deprecated. 
Span over the TextAnalyzer.AnalysedText.tokens as used by the getStart() and getEnd() methods


probability

protected final double probability
Deprecated. 
Method Detail

getTokens

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

getStart

public int getStart()
Deprecated. 
Returns:
the span

getEnd

public int getEnd()
Deprecated. 

getSize

public int getSize()
Deprecated. 

getProbability

public double getProbability()
Deprecated. 
Returns:
the probability

getText

public String getText()
Deprecated. 
The text of this chunk

Returns:

toString

public String toString()
Deprecated. 
Overrides:
toString in class Object


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