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

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

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

public static final class TextAnalyzer.TextAnalyzerConfig
extends Object


Field Summary
protected  boolean enableChunker
          Deprecated.  
protected  boolean enablePosTagger
          Deprecated.  
protected  boolean enablePosTypeChunker
          Deprecated.  
protected  boolean enableSentenceDetector
          Deprecated.  
protected  boolean forceKeywordTokenizer
          Deprecated.  
protected  boolean forcePosTypeChunker
          Deprecated.  
protected  boolean forceSimpleTokenizer
          Deprecated.  
 
Constructor Summary
TextAnalyzer.TextAnalyzerConfig()
          Deprecated.  
 
Method Summary
 void enableChunker(boolean enableChunker)
          Deprecated.  
 void enablePosTagger(boolean enablePosTagger)
          Deprecated.  
 void enablePosTypeChunker(boolean enablePosTypeChunker)
          Deprecated. Enables the used of the PosTypeChunker if no Chunker for the current language is available.
 void enableSentenceDetector(boolean enableSentenceDetector)
          Deprecated.  
 void forceKeywordTokenizer(boolean useKeywordTokenizer)
          Deprecated.  
 void forcePosTypeChunker(boolean forcePosTypeChunker)
          Deprecated. Forces the use of the PosTypeChunker even if a Chunker for the current language would be available
 void forceSimpleTokenizer(boolean useSimpleTokenizer)
          Deprecated.  
 double getMinPosTypeProbability()
          Deprecated. Getter for the minimum POS tag probability so that the PosTypeChunker processes a POS tag.
 boolean isChunkerEnabled()
          Deprecated.  
 boolean isKeywordTokenizerForced()
          Deprecated.  
 boolean isPosTaggerEnable()
          Deprecated.  
 boolean isPosTypeChunkerEnabled()
          Deprecated.  
 boolean isPosTypeChunkerForced()
          Deprecated.  
 boolean isSentenceDetectorEnabled()
          Deprecated.  
 boolean isSimpleTokenizerForced()
          Deprecated.  
 void setMinPosTagProbability(double probability)
          Deprecated. Setter for the minimum POS tag probability so that the PosTypeChunker processes a POS tag.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

forceSimpleTokenizer

protected boolean forceSimpleTokenizer
Deprecated. 

forceKeywordTokenizer

protected boolean forceKeywordTokenizer
Deprecated. 

enablePosTagger

protected boolean enablePosTagger
Deprecated. 

enableChunker

protected boolean enableChunker
Deprecated. 

enableSentenceDetector

protected boolean enableSentenceDetector
Deprecated. 

enablePosTypeChunker

protected boolean enablePosTypeChunker
Deprecated. 

forcePosTypeChunker

protected boolean forcePosTypeChunker
Deprecated. 
Constructor Detail

TextAnalyzer.TextAnalyzerConfig

public TextAnalyzer.TextAnalyzerConfig()
Deprecated. 
Method Detail

isSimpleTokenizerForced

public final boolean isSimpleTokenizerForced()
Deprecated. 

forceSimpleTokenizer

public final void forceSimpleTokenizer(boolean useSimpleTokenizer)
Deprecated. 

isKeywordTokenizerForced

public final boolean isKeywordTokenizerForced()
Deprecated. 

forceKeywordTokenizer

public final void forceKeywordTokenizer(boolean useKeywordTokenizer)
Deprecated. 

isPosTaggerEnable

public final boolean isPosTaggerEnable()
Deprecated. 

enablePosTagger

public final void enablePosTagger(boolean enablePosTagger)
Deprecated. 

isChunkerEnabled

public final boolean isChunkerEnabled()
Deprecated. 

enableChunker

public final void enableChunker(boolean enableChunker)
Deprecated. 

isSentenceDetectorEnabled

public final boolean isSentenceDetectorEnabled()
Deprecated. 

enableSentenceDetector

public final void enableSentenceDetector(boolean enableSentenceDetector)
Deprecated. 

isPosTypeChunkerEnabled

public final boolean isPosTypeChunkerEnabled()
Deprecated. 

enablePosTypeChunker

public final void enablePosTypeChunker(boolean enablePosTypeChunker)
Deprecated. 
Enables the used of the PosTypeChunker if no Chunker for the current language is available.

Parameters:
enablePosTypeChunker -

isPosTypeChunkerForced

public final boolean isPosTypeChunkerForced()
Deprecated. 

forcePosTypeChunker

public final void forcePosTypeChunker(boolean forcePosTypeChunker)
Deprecated. 
Forces the use of the PosTypeChunker even if a Chunker for the current language would be available

Parameters:
forcePosTypeChunker -

getMinPosTypeProbability

public final double getMinPosTypeProbability()
Deprecated. 
Getter for the minimum POS tag probability so that the PosTypeChunker processes a POS tag.

Returns:
the minPosTypeProbability

setMinPosTagProbability

public final void setMinPosTagProbability(double probability)
Deprecated. 
Setter for the minimum POS tag probability so that the PosTypeChunker processes a POS tag.

Parameters:
minPosTagProbability - The probability [0..1] or value < 0 to deactivate this feature
Throws:
IllegalArgumentException - if values > 1 are parsed as probability


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