Deprecated API


Contents
Deprecated Interfaces
opennlp.tools.util.featuregen.FeatureGeneratorFactory
          do not use this interface, will be removed! 
 

Deprecated Classes
opennlp.tools.sentdetect.AbstractEndOfSentenceScanner
          use DefaultEndOfSentenceScanner instead 
opennlp.tools.util.model.ClassSerializer
           
opennlp.tools.util.featuregen.FastTokenClassFeatureGenerator
          Use TokenClassFeatureGenerator instead! 
opennlp.tools.util.model.FeatureGeneratorFactorySerializer
           
opennlp.tools.util.HashSumEventStream
           
opennlp.tools.postag.POSDictionaryWriter
           
opennlp.tools.postag.POSTaggerTrainer
          Use POSTaggerME.train(String, ObjectStream, opennlp.tools.util.model.ModelType, POSDictionary, Dictionary, int, int) instead. 
opennlp.tools.util.TreeHeap
          not used anymore, when there is need for a heap use ListHeap instead 
 

Deprecated Fields
opennlp.tools.tokenize.TokenizerME.alphaNumeric
          As of release 1.5.2, replaced by Factory#getAlphanumericPattern(String) 
 

Deprecated Methods
opennlp.tools.chunker.ChunkerME.chunk(List, List)
           
opennlp.tools.chunker.Chunker.chunk(List, List)
          please use Chunker.chunk(String[], String[]) instead. 
opennlp.tools.util.featuregen.FeatureGeneratorFactory.createFeatureGenerator(FeatureGeneratorResourceProvider)
           
opennlp.tools.namefind.TokenNameFinderEvaluator.main(String[])
           
opennlp.tools.namefind.NameFinderEventStream.main(String[])
           
opennlp.tools.tokenize.SimpleTokenizer.main(String[])
           
opennlp.tools.parser.Parse.main(String[])
           
opennlp.tools.util.ListHeap.main(String[])
           
opennlp.tools.postag.POSTaggerTrainer.main(String[])
           
opennlp.tools.dictionary.serializer.DictionarySerializer.serialize(OutputStream, Iterator)
          Use {@link DictionarySerializer#serialize(java.io.OutputStream, java.util.Iterator, boolean) instead 
opennlp.tools.postag.POSTagger.tag(List)
          call tag(String[]) instead 
opennlp.tools.postag.POSTaggerME.tag(List)
           
opennlp.tools.postag.POSTagger.tag(String)
          call tag(String[]) instead use WhiteSpaceTokenizer.INSTANCE.tokenize to obtain the String array. 
opennlp.tools.postag.POSTaggerME.tag(String)
           
opennlp.tools.postag.POSTaggerTrainer.test(AbstractModel)
           
opennlp.tools.postag.POSTagger.topKSequences(List)
          call topKSequences(String[]) instead 
opennlp.tools.postag.POSTaggerME.topKSequences(List)
           
opennlp.tools.chunker.ChunkerME.topKSequences(List, List)
           
opennlp.tools.chunker.Chunker.topKSequences(List, List)
          please use Chunker.topKSequences(String[], String[]) instead. 
opennlp.tools.doccat.DocumentCategorizerME.train(DocumentCategorizerEventStream)
           
opennlp.tools.namefind.NameFinderME.train(EventStream, int, int)
           
opennlp.tools.parser.chunking.Parser.train(EventStream, int, int)
          Please do not use anymore, use the ObjectStream train methods instead! This method will be removed soon. 
opennlp.tools.parser.treeinsert.Parser.train(EventStream, int, int)
           
opennlp.tools.chunker.ChunkerME.train(String, ObjectStream, int, int)
          use ChunkerME.train(String, ObjectStream, ChunkerContextGenerator, TrainingParameters) instead and pass in a TrainingParameters object. 
opennlp.tools.chunker.ChunkerME.train(String, ObjectStream, int, int, ChunkerContextGenerator)
          use ChunkerME.train(String, ObjectStream, ChunkerContextGenerator, TrainingParameters) instead and pass in a TrainingParameters object. 
opennlp.tools.parser.chunking.Parser.train(String, ObjectStream, HeadRules, int, int)
          use Parser.train(String, ObjectStream, HeadRules, TrainingParameters) instead and pass in a TrainingParameters object. 
opennlp.tools.postag.POSTaggerME.train(String, ObjectStream, ModelType, POSDictionary, Dictionary, int, int)
          use POSTaggerME.train(String, ObjectStream, TrainingParameters, POSDictionary, Dictionary) instead and pass in a TrainingParameters object. 
opennlp.tools.sentdetect.SentenceDetectorME.train(String, ObjectStream, boolean, Dictionary, int, int)
          use SentenceDetectorME.train(String, ObjectStream, boolean, Dictionary, TrainingParameters) instead and pass in a TrainingParameters object. 
opennlp.tools.tokenize.TokenizerME.train(String, ObjectStream, boolean, int, int)
          use TokenizerME.train(String, ObjectStream, boolean, TrainingParameters) instead and pass in a TrainingParameters object. 
opennlp.tools.namefind.NameFinderME.train(String, String, ObjectStream, byte[], Map, int, int)
          use NameFinderME.train(String, String, ObjectStream, TrainingParameters, byte[], Map) instead and pass in a TrainingParameters object. 
opennlp.tools.namefind.NameFinderME.train(String, String, ObjectStream, Map, int, int)
          use NameFinderME.train(String, String, ObjectStream, TrainingParameters, AdaptiveFeatureGenerator, Map) instead and pass in a TrainingParameters object. 
opennlp.tools.postag.POSTaggerTrainer.trainMaxentModel(EventStream, File)
           
opennlp.tools.postag.POSTaggerTrainer.trainMaxentModel(EventStream, int, int)
           
opennlp.tools.util.CountedSet.write(String, int)
           
opennlp.tools.util.CountedSet.write(String, int, String)
           
opennlp.tools.util.CountedSet.write(String, int, String, String)
           
 

Deprecated Constructors
opennlp.tools.chunker.ChunkerCrossValidator(String, int, int)
          use ChunkerCrossValidator.ChunkerCrossValidator(String, TrainingParameters, ChunkerEvaluationMonitor...) instead and pass in a TrainingParameters object. 
opennlp.tools.chunker.ChunkerME(MaxentModel)
           
opennlp.tools.chunker.ChunkerME(MaxentModel, ChunkerContextGenerator)
           
opennlp.tools.chunker.ChunkerME(MaxentModel, ChunkerContextGenerator, int)
           
opennlp.tools.namefind.DefaultNameContextGenerator()
          use the other constructor and always provide the feature generators 
opennlp.tools.dictionary.Dictionary(InputStream, boolean)
          This constructor is deprecated. Passing the case sensitivity flag has no effect. Use Dictionary.Dictionary(InputStream) instead and set the case sensitivity during the dictionary creation. 
opennlp.tools.doccat.DocumentCategorizerME(MaxentModel)
          Use DocumentCategorizerME.DocumentCategorizerME(DoccatModel) instead. 
opennlp.tools.doccat.DocumentCategorizerME(MaxentModel, FeatureGenerator...)
          Use DocumentCategorizerME.DocumentCategorizerME(DoccatModel, FeatureGenerator...) instead. 
opennlp.tools.parser.lang.en.HeadRules(String)
           
opennlp.tools.namefind.NameFinderME(MaxentModel)
          Use the new model API! 
opennlp.tools.namefind.NameFinderME(MaxentModel, NameContextGenerator)
           
opennlp.tools.namefind.NameFinderME(MaxentModel, NameContextGenerator, int)
           
opennlp.tools.parser.treeinsert.Parser(AbstractModel, AbstractModel, AbstractModel, POSTagger, Chunker, HeadRules)
           
opennlp.tools.parser.treeinsert.Parser(AbstractModel, AbstractModel, AbstractModel, POSTagger, Chunker, HeadRules, int, double)
           
opennlp.tools.parser.chunking.Parser(MaxentModel, MaxentModel, POSTagger, Chunker, HeadRules)
           
opennlp.tools.parser.chunking.Parser(MaxentModel, MaxentModel, POSTagger, Chunker, HeadRules, int, double)
           
opennlp.tools.postag.POSDictionary(BufferedReader, boolean)
          Use POSDictionary.create(InputStream) instead, old format might removed. 
opennlp.tools.postag.POSDictionary(String)
          Use POSDictionary.create(InputStream) instead, old format might removed. 
opennlp.tools.postag.POSDictionary(String, boolean)
          Use POSDictionary.create(InputStream) instead, old format might removed. 
opennlp.tools.postag.POSDictionary(String, String, boolean)
          Use POSDictionary.create(InputStream) instead, old format might removed. 
opennlp.tools.postag.POSTaggerCrossValidator(String, ModelType, POSDictionary, Dictionary, int, int)
          use POSTaggerCrossValidator.POSTaggerCrossValidator(String, TrainingParameters, POSDictionary, Dictionary, POSTaggerEvaluationMonitor...) instead and pass in a TrainingParameters object. 
opennlp.tools.postag.POSTaggerME(AbstractModel, Dictionary)
           
opennlp.tools.postag.POSTaggerME(AbstractModel, Dictionary, TagDictionary)
           
opennlp.tools.postag.POSTaggerME(AbstractModel, POSContextGenerator)
           
opennlp.tools.postag.POSTaggerME(AbstractModel, POSContextGenerator, TagDictionary)
           
opennlp.tools.postag.POSTaggerME(AbstractModel, TagDictionary)
           
opennlp.tools.postag.POSTaggerME(int, AbstractModel, POSContextGenerator, TagDictionary)
           
opennlp.tools.sentdetect.SDCrossValidator(String, int, int)
          use SDCrossValidator.SDCrossValidator(String, TrainingParameters) instead and pass in a TrainingParameters object. 
opennlp.tools.sentdetect.SDCrossValidator(String, int, int, Dictionary)
          use SDCrossValidator.SDCrossValidator(String, TrainingParameters, Dictionary, SentenceDetectorEvaluationMonitor...) instead and pass in a TrainingParameters object. 
opennlp.tools.tokenize.SimpleTokenizer()
          Use INSTANCE field instead to obtain an instance, constructor will be made private in the future. 
opennlp.tools.tokenize.TokenizerCrossValidator(String, boolean, int, int)
          use TokenizerCrossValidator.TokenizerCrossValidator(String, boolean, TrainingParameters, TokenizerEvaluationMonitor...) instead and pass in a TrainingParameters object. 
opennlp.tools.namefind.TokenNameFinderCrossValidator(String, int, int)
          use TokenNameFinderCrossValidator.TokenNameFinderCrossValidator(String, String, TrainingParameters, byte[], Map, TokenNameFinderEvaluationMonitor...) instead and pass in a TrainingParameters object. 
opennlp.tools.namefind.TokenNameFinderCrossValidator(String, String, byte[], Map, int, int)
          use TokenNameFinderCrossValidator.TokenNameFinderCrossValidator(String, String, TrainingParameters, byte[], Map, TokenNameFinderEvaluationMonitor...) instead and pass in a TrainingParameters object. 
opennlp.tools.namefind.TokenNameFinderCrossValidator(String, String, int, int)
          use TokenNameFinderCrossValidator.TokenNameFinderCrossValidator(String, String, TrainingParameters, byte[], Map, TokenNameFinderEvaluationMonitor...) instead and pass in a TrainingParameters object. 
 

Deprecated Enum Constants
opennlp.tools.parser.ParserEventTypeEnum.CHUNK
           
opennlp.tools.parser.ParserEventTypeEnum.TAG
           
 



Copyright © 2011 The Apache Software Foundation. All Rights Reserved.