Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- a_0 - Static variable in class opennlp.tools.stemmer.snowball.arabicStemmer
- a_0 - Static variable in class opennlp.tools.stemmer.snowball.catalanStemmer
- a_0 - Static variable in class opennlp.tools.stemmer.snowball.danishStemmer
- a_0 - Static variable in class opennlp.tools.stemmer.snowball.dutchStemmer
- a_0 - Static variable in class opennlp.tools.stemmer.snowball.englishStemmer
- a_0 - Static variable in class opennlp.tools.stemmer.snowball.finnishStemmer
- a_0 - Static variable in class opennlp.tools.stemmer.snowball.frenchStemmer
- a_0 - Static variable in class opennlp.tools.stemmer.snowball.germanStemmer
- a_0 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_0 - Static variable in class opennlp.tools.stemmer.snowball.hungarianStemmer
- a_0 - Static variable in class opennlp.tools.stemmer.snowball.indonesianStemmer
- a_0 - Static variable in class opennlp.tools.stemmer.snowball.irishStemmer
- a_0 - Static variable in class opennlp.tools.stemmer.snowball.italianStemmer
- a_0 - Static variable in class opennlp.tools.stemmer.snowball.norwegianStemmer
- a_0 - Static variable in class opennlp.tools.stemmer.snowball.porterStemmer
- a_0 - Static variable in class opennlp.tools.stemmer.snowball.portugueseStemmer
- a_0 - Static variable in class opennlp.tools.stemmer.snowball.romanianStemmer
- a_0 - Static variable in class opennlp.tools.stemmer.snowball.russianStemmer
- a_0 - Static variable in class opennlp.tools.stemmer.snowball.spanishStemmer
- a_0 - Static variable in class opennlp.tools.stemmer.snowball.swedishStemmer
- a_0 - Static variable in class opennlp.tools.stemmer.snowball.turkishStemmer
- a_1 - Static variable in class opennlp.tools.stemmer.snowball.arabicStemmer
- a_1 - Static variable in class opennlp.tools.stemmer.snowball.catalanStemmer
- a_1 - Static variable in class opennlp.tools.stemmer.snowball.danishStemmer
- a_1 - Static variable in class opennlp.tools.stemmer.snowball.dutchStemmer
- a_1 - Static variable in class opennlp.tools.stemmer.snowball.englishStemmer
- a_1 - Static variable in class opennlp.tools.stemmer.snowball.finnishStemmer
- a_1 - Static variable in class opennlp.tools.stemmer.snowball.frenchStemmer
- a_1 - Static variable in class opennlp.tools.stemmer.snowball.germanStemmer
- a_1 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_1 - Static variable in class opennlp.tools.stemmer.snowball.hungarianStemmer
- a_1 - Static variable in class opennlp.tools.stemmer.snowball.indonesianStemmer
- a_1 - Static variable in class opennlp.tools.stemmer.snowball.irishStemmer
- a_1 - Static variable in class opennlp.tools.stemmer.snowball.italianStemmer
- a_1 - Static variable in class opennlp.tools.stemmer.snowball.norwegianStemmer
- a_1 - Static variable in class opennlp.tools.stemmer.snowball.porterStemmer
- a_1 - Static variable in class opennlp.tools.stemmer.snowball.portugueseStemmer
- a_1 - Static variable in class opennlp.tools.stemmer.snowball.romanianStemmer
- a_1 - Static variable in class opennlp.tools.stemmer.snowball.russianStemmer
- a_1 - Static variable in class opennlp.tools.stemmer.snowball.spanishStemmer
- a_1 - Static variable in class opennlp.tools.stemmer.snowball.swedishStemmer
- a_1 - Static variable in class opennlp.tools.stemmer.snowball.turkishStemmer
- a_10 - Static variable in class opennlp.tools.stemmer.snowball.arabicStemmer
- a_10 - Static variable in class opennlp.tools.stemmer.snowball.englishStemmer
- a_10 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_10 - Static variable in class opennlp.tools.stemmer.snowball.hungarianStemmer
- a_10 - Static variable in class opennlp.tools.stemmer.snowball.turkishStemmer
- a_11 - Static variable in class opennlp.tools.stemmer.snowball.arabicStemmer
- a_11 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_11 - Static variable in class opennlp.tools.stemmer.snowball.hungarianStemmer
- a_11 - Static variable in class opennlp.tools.stemmer.snowball.turkishStemmer
- a_12 - Static variable in class opennlp.tools.stemmer.snowball.arabicStemmer
- a_12 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_12 - Static variable in class opennlp.tools.stemmer.snowball.turkishStemmer
- a_13 - Static variable in class opennlp.tools.stemmer.snowball.arabicStemmer
- a_13 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_13 - Static variable in class opennlp.tools.stemmer.snowball.turkishStemmer
- a_14 - Static variable in class opennlp.tools.stemmer.snowball.arabicStemmer
- a_14 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_14 - Static variable in class opennlp.tools.stemmer.snowball.turkishStemmer
- a_15 - Static variable in class opennlp.tools.stemmer.snowball.arabicStemmer
- a_15 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_15 - Static variable in class opennlp.tools.stemmer.snowball.turkishStemmer
- a_16 - Static variable in class opennlp.tools.stemmer.snowball.arabicStemmer
- a_16 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_16 - Static variable in class opennlp.tools.stemmer.snowball.turkishStemmer
- a_17 - Static variable in class opennlp.tools.stemmer.snowball.arabicStemmer
- a_17 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_17 - Static variable in class opennlp.tools.stemmer.snowball.turkishStemmer
- a_18 - Static variable in class opennlp.tools.stemmer.snowball.arabicStemmer
- a_18 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_18 - Static variable in class opennlp.tools.stemmer.snowball.turkishStemmer
- a_19 - Static variable in class opennlp.tools.stemmer.snowball.arabicStemmer
- a_19 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_19 - Static variable in class opennlp.tools.stemmer.snowball.turkishStemmer
- a_2 - Static variable in class opennlp.tools.stemmer.snowball.arabicStemmer
- a_2 - Static variable in class opennlp.tools.stemmer.snowball.catalanStemmer
- a_2 - Static variable in class opennlp.tools.stemmer.snowball.danishStemmer
- a_2 - Static variable in class opennlp.tools.stemmer.snowball.dutchStemmer
- a_2 - Static variable in class opennlp.tools.stemmer.snowball.englishStemmer
- a_2 - Static variable in class opennlp.tools.stemmer.snowball.finnishStemmer
- a_2 - Static variable in class opennlp.tools.stemmer.snowball.frenchStemmer
- a_2 - Static variable in class opennlp.tools.stemmer.snowball.germanStemmer
- a_2 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_2 - Static variable in class opennlp.tools.stemmer.snowball.hungarianStemmer
- a_2 - Static variable in class opennlp.tools.stemmer.snowball.indonesianStemmer
- a_2 - Static variable in class opennlp.tools.stemmer.snowball.irishStemmer
- a_2 - Static variable in class opennlp.tools.stemmer.snowball.italianStemmer
- a_2 - Static variable in class opennlp.tools.stemmer.snowball.norwegianStemmer
- a_2 - Static variable in class opennlp.tools.stemmer.snowball.porterStemmer
- a_2 - Static variable in class opennlp.tools.stemmer.snowball.portugueseStemmer
- a_2 - Static variable in class opennlp.tools.stemmer.snowball.romanianStemmer
- a_2 - Static variable in class opennlp.tools.stemmer.snowball.russianStemmer
- a_2 - Static variable in class opennlp.tools.stemmer.snowball.spanishStemmer
- a_2 - Static variable in class opennlp.tools.stemmer.snowball.swedishStemmer
- a_2 - Static variable in class opennlp.tools.stemmer.snowball.turkishStemmer
- a_20 - Static variable in class opennlp.tools.stemmer.snowball.arabicStemmer
- a_20 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_20 - Static variable in class opennlp.tools.stemmer.snowball.turkishStemmer
- a_21 - Static variable in class opennlp.tools.stemmer.snowball.arabicStemmer
- a_21 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_21 - Static variable in class opennlp.tools.stemmer.snowball.turkishStemmer
- a_22 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_22 - Static variable in class opennlp.tools.stemmer.snowball.turkishStemmer
- a_23 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_23 - Static variable in class opennlp.tools.stemmer.snowball.turkishStemmer
- a_24 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_25 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_26 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_27 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_28 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_29 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_3 - Static variable in class opennlp.tools.stemmer.snowball.arabicStemmer
- a_3 - Static variable in class opennlp.tools.stemmer.snowball.catalanStemmer
- a_3 - Static variable in class opennlp.tools.stemmer.snowball.dutchStemmer
- a_3 - Static variable in class opennlp.tools.stemmer.snowball.englishStemmer
- a_3 - Static variable in class opennlp.tools.stemmer.snowball.finnishStemmer
- a_3 - Static variable in class opennlp.tools.stemmer.snowball.frenchStemmer
- a_3 - Static variable in class opennlp.tools.stemmer.snowball.germanStemmer
- a_3 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_3 - Static variable in class opennlp.tools.stemmer.snowball.hungarianStemmer
- a_3 - Static variable in class opennlp.tools.stemmer.snowball.indonesianStemmer
- a_3 - Static variable in class opennlp.tools.stemmer.snowball.irishStemmer
- a_3 - Static variable in class opennlp.tools.stemmer.snowball.italianStemmer
- a_3 - Static variable in class opennlp.tools.stemmer.snowball.porterStemmer
- a_3 - Static variable in class opennlp.tools.stemmer.snowball.portugueseStemmer
- a_3 - Static variable in class opennlp.tools.stemmer.snowball.romanianStemmer
- a_3 - Static variable in class opennlp.tools.stemmer.snowball.russianStemmer
- a_3 - Static variable in class opennlp.tools.stemmer.snowball.spanishStemmer
- a_3 - Static variable in class opennlp.tools.stemmer.snowball.turkishStemmer
- a_30 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_31 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_32 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_33 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_34 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_35 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_36 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_37 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_38 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_39 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_4 - Static variable in class opennlp.tools.stemmer.snowball.arabicStemmer
- a_4 - Static variable in class opennlp.tools.stemmer.snowball.catalanStemmer
- a_4 - Static variable in class opennlp.tools.stemmer.snowball.dutchStemmer
- a_4 - Static variable in class opennlp.tools.stemmer.snowball.englishStemmer
- a_4 - Static variable in class opennlp.tools.stemmer.snowball.finnishStemmer
- a_4 - Static variable in class opennlp.tools.stemmer.snowball.frenchStemmer
- a_4 - Static variable in class opennlp.tools.stemmer.snowball.germanStemmer
- a_4 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_4 - Static variable in class opennlp.tools.stemmer.snowball.hungarianStemmer
- a_4 - Static variable in class opennlp.tools.stemmer.snowball.indonesianStemmer
- a_4 - Static variable in class opennlp.tools.stemmer.snowball.italianStemmer
- a_4 - Static variable in class opennlp.tools.stemmer.snowball.porterStemmer
- a_4 - Static variable in class opennlp.tools.stemmer.snowball.portugueseStemmer
- a_4 - Static variable in class opennlp.tools.stemmer.snowball.romanianStemmer
- a_4 - Static variable in class opennlp.tools.stemmer.snowball.russianStemmer
- a_4 - Static variable in class opennlp.tools.stemmer.snowball.spanishStemmer
- a_4 - Static variable in class opennlp.tools.stemmer.snowball.turkishStemmer
- a_40 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_41 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_42 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_43 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_44 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_45 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_46 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_47 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_48 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_49 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_5 - Static variable in class opennlp.tools.stemmer.snowball.arabicStemmer
- a_5 - Static variable in class opennlp.tools.stemmer.snowball.dutchStemmer
- a_5 - Static variable in class opennlp.tools.stemmer.snowball.englishStemmer
- a_5 - Static variable in class opennlp.tools.stemmer.snowball.finnishStemmer
- a_5 - Static variable in class opennlp.tools.stemmer.snowball.frenchStemmer
- a_5 - Static variable in class opennlp.tools.stemmer.snowball.germanStemmer
- a_5 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_5 - Static variable in class opennlp.tools.stemmer.snowball.hungarianStemmer
- a_5 - Static variable in class opennlp.tools.stemmer.snowball.italianStemmer
- a_5 - Static variable in class opennlp.tools.stemmer.snowball.porterStemmer
- a_5 - Static variable in class opennlp.tools.stemmer.snowball.portugueseStemmer
- a_5 - Static variable in class opennlp.tools.stemmer.snowball.romanianStemmer
- a_5 - Static variable in class opennlp.tools.stemmer.snowball.russianStemmer
- a_5 - Static variable in class opennlp.tools.stemmer.snowball.spanishStemmer
- a_5 - Static variable in class opennlp.tools.stemmer.snowball.turkishStemmer
- a_50 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_51 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_52 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_53 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_54 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_55 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_56 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_57 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_58 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_59 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_6 - Static variable in class opennlp.tools.stemmer.snowball.arabicStemmer
- a_6 - Static variable in class opennlp.tools.stemmer.snowball.englishStemmer
- a_6 - Static variable in class opennlp.tools.stemmer.snowball.finnishStemmer
- a_6 - Static variable in class opennlp.tools.stemmer.snowball.frenchStemmer
- a_6 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_6 - Static variable in class opennlp.tools.stemmer.snowball.hungarianStemmer
- a_6 - Static variable in class opennlp.tools.stemmer.snowball.italianStemmer
- a_6 - Static variable in class opennlp.tools.stemmer.snowball.portugueseStemmer
- a_6 - Static variable in class opennlp.tools.stemmer.snowball.romanianStemmer
- a_6 - Static variable in class opennlp.tools.stemmer.snowball.russianStemmer
- a_6 - Static variable in class opennlp.tools.stemmer.snowball.spanishStemmer
- a_6 - Static variable in class opennlp.tools.stemmer.snowball.turkishStemmer
- a_60 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_61 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_62 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_63 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_64 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_65 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_66 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_67 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_7 - Static variable in class opennlp.tools.stemmer.snowball.arabicStemmer
- a_7 - Static variable in class opennlp.tools.stemmer.snowball.englishStemmer
- a_7 - Static variable in class opennlp.tools.stemmer.snowball.finnishStemmer
- a_7 - Static variable in class opennlp.tools.stemmer.snowball.frenchStemmer
- a_7 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_7 - Static variable in class opennlp.tools.stemmer.snowball.hungarianStemmer
- a_7 - Static variable in class opennlp.tools.stemmer.snowball.italianStemmer
- a_7 - Static variable in class opennlp.tools.stemmer.snowball.portugueseStemmer
- a_7 - Static variable in class opennlp.tools.stemmer.snowball.russianStemmer
- a_7 - Static variable in class opennlp.tools.stemmer.snowball.spanishStemmer
- a_7 - Static variable in class opennlp.tools.stemmer.snowball.turkishStemmer
- a_8 - Static variable in class opennlp.tools.stemmer.snowball.arabicStemmer
- a_8 - Static variable in class opennlp.tools.stemmer.snowball.englishStemmer
- a_8 - Static variable in class opennlp.tools.stemmer.snowball.finnishStemmer
- a_8 - Static variable in class opennlp.tools.stemmer.snowball.frenchStemmer
- a_8 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_8 - Static variable in class opennlp.tools.stemmer.snowball.hungarianStemmer
- a_8 - Static variable in class opennlp.tools.stemmer.snowball.portugueseStemmer
- a_8 - Static variable in class opennlp.tools.stemmer.snowball.spanishStemmer
- a_8 - Static variable in class opennlp.tools.stemmer.snowball.turkishStemmer
- a_9 - Static variable in class opennlp.tools.stemmer.snowball.arabicStemmer
- a_9 - Static variable in class opennlp.tools.stemmer.snowball.englishStemmer
- a_9 - Static variable in class opennlp.tools.stemmer.snowball.finnishStemmer
- a_9 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- a_9 - Static variable in class opennlp.tools.stemmer.snowball.hungarianStemmer
- a_9 - Static variable in class opennlp.tools.stemmer.snowball.spanishStemmer
- a_9 - Static variable in class opennlp.tools.stemmer.snowball.turkishStemmer
- A_UMLAUT - Static variable in class opennlp.tools.util.featuregen.FeatureGeneratorUtil
- abbDict - Variable in class opennlp.tools.sentdetect.ThreadSafeSentenceDetectorME
-
Deprecated.
- abbDict - Variable in class opennlp.tools.tokenize.TokenizerME
- abbIndex - Variable in class opennlp.tools.sentdetect.SentenceDetectorME
-
The abbreviation dictionary index that backs
SentenceDetectorME.isAcceptableBreak(CharSequence, int, int). - abbreviation - Variable in record class opennlp.tools.util.normalizer.UnicodeWhitespace.RelatedCharacter
-
The field for the
abbreviationrecord component. - abbreviation - Variable in record class opennlp.tools.util.normalizer.UnicodeWhitespace.WhitespaceCharacter
-
The field for the
abbreviationrecord component. - abbreviation() - Method in record class opennlp.tools.util.normalizer.UnicodeWhitespace.RelatedCharacter
-
Returns the value of the
abbreviationrecord component. - abbreviation() - Method in record class opennlp.tools.util.normalizer.UnicodeWhitespace.WhitespaceCharacter
-
Returns the value of the
abbreviationrecord component. - abbreviationDictionary - Variable in class opennlp.tools.sentdetect.SentenceDetectorFactory
- abbreviationDictionary - Variable in class opennlp.tools.tokenize.TokenizerFactory
- AbbreviationIndex(Dictionary) - Constructor for class opennlp.tools.sentdetect.SentenceDetectorME.AbbreviationIndex
-
Reads
abbDictonce, so this instance is immutable and safe to share. - ABBREVIATIONS_ENTRY_NAME - Static variable in class opennlp.tools.sentdetect.SentenceDetectorFactory
- ABBREVIATIONS_ENTRY_NAME - Static variable in class opennlp.tools.tokenize.TokenizerFactory
- AbstractBottomUpParser - Class in opennlp.tools.parser
-
Abstract class which contains code to tag and chunk parses for bottom up parsing and leaves implementation of advancing parses and completing parses to extend class.
- AbstractBottomUpParser(POSTagger, Chunker, HeadRules, int, double) - Constructor for class opennlp.tools.parser.AbstractBottomUpParser
-
Initializes a bottom-up parser with the components every subclass needs.
- AbstractClassPathModelFinder - Class in opennlp.tools.models
-
A base implementation of a
ClassPathModelFinderfor the detection of OpenNLP models in the classpath. - AbstractClassPathModelFinder() - Constructor for class opennlp.tools.models.AbstractClassPathModelFinder
-
By default, it scans for
ClassPathModelFinder.OPENNLP_MODEL_JAR_PREFIX. - AbstractClassPathModelFinder(String) - Constructor for class opennlp.tools.models.AbstractClassPathModelFinder
- AbstractContextGenerator - Class in opennlp.tools.parser
-
Abstract class containing many of the methods used to generate contexts for parsing.
- AbstractContextGenerator() - Constructor for class opennlp.tools.parser.AbstractContextGenerator
- AbstractDataIndexer<P> - Class in opennlp.tools.ml.model
-
Abstract
DataIndexerimplementation for collecting event and context counts used in training. - AbstractDataIndexer() - Constructor for class opennlp.tools.ml.model.AbstractDataIndexer
- AbstractEventModelSequenceTrainer<P> - Class in opennlp.tools.ml
-
A basic
EventModelSequenceTrainerimplementation that processesevents. - AbstractEventModelSequenceTrainer() - Constructor for class opennlp.tools.ml.AbstractEventModelSequenceTrainer
- AbstractEventStream<T> - Class in opennlp.tools.util
-
A base
ObjectStreamimplementation for events. - AbstractEventStream(ObjectStream<T>) - Constructor for class opennlp.tools.util.AbstractEventStream
-
Initializes an
AbstractEventStreamwith a sampleIterator. - AbstractEventTrainer<P> - Class in opennlp.tools.ml
-
A basic
EventTrainerimplementation. - AbstractEventTrainer() - Constructor for class opennlp.tools.ml.AbstractEventTrainer
- AbstractEventTrainer(P) - Constructor for class opennlp.tools.ml.AbstractEventTrainer
- AbstractMLModelWriter - Class in opennlp.tools.ml
- AbstractMLModelWriter() - Constructor for class opennlp.tools.ml.AbstractMLModelWriter
- AbstractModel - Class in opennlp.tools.ml.model
-
A basic
MaxentModelimplementation. - AbstractModel(Context[], String[], String[]) - Constructor for class opennlp.tools.ml.model.AbstractModel
-
Initializes an
AbstractModel. - AbstractModel(Context[], String[], Map<String, Context>, String[]) - Constructor for class opennlp.tools.ml.model.AbstractModel
-
Initializes an
AbstractModel. - AbstractModelReader - Class in opennlp.tools.ml.model
-
An abstract, basic implementation of a model reader.
- AbstractModelReader(File) - Constructor for class opennlp.tools.ml.model.AbstractModelReader
-
Initializes a
AbstractModelReadervia aFile. - AbstractModelReader(DataReader) - Constructor for class opennlp.tools.ml.model.AbstractModelReader
-
Initializes a
AbstractModelReadervia aDataReader. - AbstractModelWriter - Class in opennlp.tools.ml.model
-
An abstract, basic implementation of a model writer.
- AbstractModelWriter() - Constructor for class opennlp.tools.ml.model.AbstractModelWriter
- AbstractObjectStream<T> - Class in opennlp.tools.util
-
A base
ObjectStreamimplementation. - AbstractObjectStream(ObjectStream<T>) - Constructor for class opennlp.tools.util.AbstractObjectStream
-
Initializes an
AbstractObjectStream. - AbstractParserEventStream - Class in opennlp.tools.parser
-
Abstract class extended by parser event streams which perform tagging and chunking.
- AbstractParserEventStream(ObjectStream<Parse>, HeadRules, ParserEventTypeEnum) - Constructor for class opennlp.tools.parser.AbstractParserEventStream
- AbstractParserEventStream(ObjectStream<Parse>, HeadRules, ParserEventTypeEnum, Dictionary) - Constructor for class opennlp.tools.parser.AbstractParserEventStream
- AbstractSampleStreamFactory<T,
P> - Class in opennlp.tools.formats -
Base class for sample stream factories.
- AbstractSampleStreamFactory() - Constructor for class opennlp.tools.formats.AbstractSampleStreamFactory
- AbstractSampleStreamFactory(Class<P>) - Constructor for class opennlp.tools.formats.AbstractSampleStreamFactory
- AbstractSnowballStemmer - Class in opennlp.tools.stemmer.snowball
-
Parent class of all snowball stemmers, which must implement
stem - AbstractSnowballStemmer() - Constructor for class opennlp.tools.stemmer.snowball.AbstractSnowballStemmer
- AbstractTokenizer - Class in opennlp.tools.tokenize
- AbstractTokenizer() - Constructor for class opennlp.tools.tokenize.AbstractTokenizer
- AbstractToSentenceSampleStream<T> - Class in opennlp.tools.formats.convert
- AbstractToSentenceSampleStream(Detokenizer, ObjectStream<T>, int) - Constructor for class opennlp.tools.formats.convert.AbstractToSentenceSampleStream
- AbstractTrainer<P> - Class in opennlp.tools.ml
- AbstractTrainer() - Constructor for class opennlp.tools.ml.AbstractTrainer
- AbstractTrainer(P) - Constructor for class opennlp.tools.ml.AbstractTrainer
-
Initializes a
AbstractTrainerviaParameters. - AbstractXmlFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- ACCENT_FOLD - Enum constant in enum class opennlp.tools.util.normalizer.Dimension
-
Diacritic and accent folding; lossy, script gated, and language-wrong for some languages.
- accentFold - Variable in class opennlp.tools.util.normalizer.NormalizationProfile
- accentFold() - Method in class opennlp.tools.util.normalizer.NormalizationProfile
-
Returns the diacritic fold for the language, or
nullfor none. - accentFold() - Method in class opennlp.tools.util.normalizer.TermAnalyzer.Builder
-
Enables
Dimension.ACCENT_FOLD. - accentFold() - Method in class opennlp.tools.util.normalizer.TextNormalizer.Builder
-
Returns this builder with script-gated diacritic folding appended.
- accentFold(Set<Character.UnicodeScript>, boolean) - Method in class opennlp.tools.util.normalizer.TermAnalyzer.Builder
-
Enables
Dimension.ACCENT_FOLDrestricted to a specific set of scripts, instead of the default Latin/Greek/Cyrillic. - AccentFoldCharSequenceNormalizer - Class in opennlp.tools.util.normalizer
-
A
CharSequenceNormalizerthat folds diacritics for matching, the multilingual-safe counterpart to a Latin-only ASCII folding filter. - AccentFoldCharSequenceNormalizer(Set<Character.UnicodeScript>, boolean) - Constructor for class opennlp.tools.util.normalizer.AccentFoldCharSequenceNormalizer
-
Creates an accent-folding normalizer.
- accept(int, int) - Method in interface opennlp.tools.tokenize.lattice.WhitespaceRuns.RunHandler
-
Handles one stretch.
- accept(int, int) - Method in interface opennlp.tools.tokenize.uax29.WordSegmenter.SegmentConsumer
-
Accepts one segment.
- accept(int, String[]) - Method in interface opennlp.tools.document.DocumentAnnotators.SentenceTokenConsumer
-
Consumes one sentence's tokens.
- accept(int, List<MecabDictionary.WordEntry>) - Method in interface opennlp.tools.tokenize.lattice.MecabDictionary.PrefixMatchConsumer
-
Accepts one match.
- accept(String, int) - Method in interface opennlp.tools.util.normalizer.BundledUnicodeData.LineConsumer
-
Accepts one line.
- accepted - Variable in class opennlp.tools.stemmer.hunspell.AffixCondition
-
Per position: the accepted code points, or
nullfor any code point. - acceptsCase(int[], String, String, HunspellDictionary.Affix...) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Checks case-sensitive and warning restrictions for a selected entry.
- acceptsRulePart(int[], boolean, HunspellDictionary.Affix...) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Checks blocking flags on a compound-rule part.
- accumulate(int[], int, boolean[], double) - Method in class opennlp.tools.depparse.FeedforwardDependencyTrainer.Optimizer
-
Runs one example forward and adds its cross-entropy gradient to the buffers.
- accuracy - Variable in class opennlp.tools.doccat.DocumentCategorizerEvaluator
- accuracy - Variable in class opennlp.tools.langdetect.LanguageDetectorEvaluator
- ACCURACY - Enum constant in enum class opennlp.tools.monitoring.TrainingMeasure
- active - Static variable in enum class opennlp.tools.util.CompatibilityMode
- active - Static variable in enum class opennlp.tools.util.WhitespaceMode
- ACTIVITIES - Enum constant in enum class opennlp.tools.util.normalizer.EmojiCategory
-
Upstream group
Activities: events, sports, games, and arts. - ADAGRAD_EPSILON - Static variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer
-
The AdaGrad denominator offset that keeps the first steps finite.
- AdaptiveFeatureGenerator - Interface in opennlp.tools.util.featuregen
-
An interface for generating features for name entity identification and for updating document level contexts.
- ADChunkSampleStream - Class in opennlp.tools.formats.ad
-
Parser for Floresta Sita(c)tica Arvores Deitadas corpus, output to for the Portuguese Chunker training.
- ADChunkSampleStream(InputStreamFactory, String) - Constructor for class opennlp.tools.formats.ad.ADChunkSampleStream
-
Instantiates a
ADChunkSampleStreamstream from anInputStreamFactory. - ADChunkSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.formats.ad.ADChunkSampleStream
-
Instantiates a
ADChunkSampleStreamstream fromObjectStream<String>, that could be aPlainTextByLineStreamobject. - ADChunkSampleStreamFactory - Class in opennlp.tools.formats.ad
-
A Factory to create a Arvores Deitadas ChunkStream from the command line utility.
- ADChunkSampleStreamFactory(Class<ADChunkSampleStreamFactory.Parameters>) - Constructor for class opennlp.tools.formats.ad.ADChunkSampleStreamFactory
- ADChunkSampleStreamFactory.Parameters - Interface in opennlp.tools.formats.ad
- add(boolean, boolean, boolean) - Method in class opennlp.tools.depparse.AttachmentScores
-
Adds the outcome of one token.
- add(char) - Method in class opennlp.tools.stemmer.PorterStemmer
-
Add a character to the word being stemmed.
- add(char, int, int) - Method in class opennlp.tools.tokenize.MappedText
-
Appends one UTF-16 code unit with its source range.
- add(double) - Method in class opennlp.tools.util.eval.Mean
-
Adds a value to the arithmetic mean.
- add(double, long) - Method in class opennlp.tools.util.eval.Mean
-
Adds a value
counttimes to the arithmetic mean. - add(int) - Method in class opennlp.tools.tokenize.uax29.WordSegmenter.IntList
- add(CharSequence) - Method in class opennlp.tools.ngram.NGramCharModel
-
Adds an
ngram. - add(CharSequence, int, int) - Method in class opennlp.tools.ngram.NGramCharModel
-
Adds a
CharSequencethat will be ngrammed into chars. - add(CharSequence, int, int) - Method in class opennlp.tools.ngram.NGramModel
-
Adds character NGrams to the current instance.
- add(String) - Method in class opennlp.tools.ml.model.SimpleEventStreamBuilder
-
Adds one event.
- add(String...) - Method in class opennlp.tools.languagemodel.NGramLanguageModel
-
Adds further tokens.
- add(String...) - Method in class opennlp.tools.stopword.DictionaryStopwordFilter.Builder
-
Adds one entry (1-gram or n-gram).
- add(String, double) - Method in class opennlp.tools.util.Sequence
-
Adds an outcome and probability to this sequence.
- add(String, int[], HunspellDictionary.Affix...) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer.Analysis
-
Adds morphology-aware stems after case and warning checks.
- add(String, int, int) - Method in class opennlp.tools.tokenize.MappedText
-
Appends every UTF-16 code unit of a string, each with the same source range.
- add(Map<String, NormalizationProfile>, String, SnowballStemmer.ALGORITHM, CharSequenceNormalizer) - Static method in class opennlp.tools.util.normalizer.NormalizationProfiles
- add(AttachmentScores) - Method in class opennlp.tools.depparse.AttachmentScores
-
Adds every token counted by another accumulator, weighted by its token counts.
- add(DocumentAnnotator) - Method in class opennlp.tools.document.DocumentAnalyzer.Builder
-
Appends an annotator to the pipeline.
- add(IrishSentenceBankDocument.IrishSentenceBankSentence) - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument
- add(Parse, HeadRules) - Method in class opennlp.tools.parser.Parse
- add(CharSequenceNormalizer) - Method in class opennlp.tools.util.normalizer.TextNormalizer.Builder
-
Appends a normalization step and returns this builder.
- add(StringList) - Method in class opennlp.tools.ngram.NGramModel
-
Adds one NGram, if it already exists the count increase by one.
- add(StringList, int, int) - Method in class opennlp.tools.ngram.NGramModel
-
Adds NGrams up to the specified length to the current instance.
- addAll(Collection<String[]>) - Method in class opennlp.tools.stopword.DictionaryStopwordFilter.Builder
-
Adds a bulk of entries.
- addAll(List<String>) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer.Results
-
Adds distinct results up to the output limit.
- addBroken(String, List<String>, String, List<String>) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer.Results
-
Combines accepted readings before and after a word break.
- addCharPreds(String, char, List<String>) - Method in class opennlp.tools.tokenize.DefaultTokenContextGenerator
-
Helper function for
DefaultTokenContextGenerator.createContext(java.lang.String, int)that appends to a givenkeya fixed text sequence depending onc. - addChunkEvents(List<Event>, Parse[]) - Method in class opennlp.tools.parser.AbstractParserEventStream
- addCodePoint(int, int, int) - Method in class opennlp.tools.tokenize.MappedText
-
Appends one code point, as one or two UTF-16 code units that share the same source range.
- addCompound(List<HunspellStemmer.CompoundPart>) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer.Results
-
Adds a complete compound analysis, preserving homonym alternatives.
- addCompoundCrossDouble(String, String, String, HunspellDictionary.Affix, HunspellDictionary.Affix, HunspellDictionary.Affix, HunspellDictionary.CompoundPosition, List<HunspellStemmer.CompoundPart>) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Validates a continuation sequence combined with an opposite-end affix.
- addContribution(int, int, double[]) - Method in class opennlp.tools.depparse.FeedforwardNetwork
-
Adds the hidden-layer contribution of one embedding row at one feature position.
- addCutoffAndIterations(Map<String, String>, int, int) - Static method in class opennlp.tools.util.model.ModelUtil
-
Adds
cutoffanditerationstomanifestInfoEntries. - addElement(ADSentenceStream.SentenceParser.TreeElement) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Node
- addEntries - Variable in class opennlp.tools.stopword.DictionaryStopwordFilter.Builder
- addEntry(BitSet, String, int, String) - Static method in class opennlp.tools.util.normalizer.CodePointSet
- addFeatureGenerator(AdaptiveFeatureGenerator) - Method in class opennlp.tools.namefind.DefaultNameContextGenerator
- addFeatureGenerator(AdaptiveFeatureGenerator) - Method in interface opennlp.tools.namefind.NameContextGenerator
-
Adds a feature generator.
- addIfNotEmpty(String, List<String>) - Method in class opennlp.tools.formats.ad.ADNameSampleStream
- addIn(double) - Method in class opennlp.tools.ml.naivebayes.LogProbability
-
Compounds the existing
probabilitymass on the label with the new probability passed in to the method. - addIn(double) - Method in class opennlp.tools.ml.naivebayes.Probability
-
Compounds the existing probability mass on the label with the new probability passed in to the method.
- addIn(T, double, int) - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
-
Compounds the existing
probabilitymass on the labeltwith the new probability passed in to the method. - addIn(T, double, int) - Method in class opennlp.tools.ml.naivebayes.Probabilities
-
Compounds the existing probability mass on the label
twith the new probability passed in to the method. - additionalContext - Variable in class opennlp.tools.namefind.NameSample
- additionalContext - Variable in class opennlp.tools.postag.POSSample
- additionalContext(String[], Map<String, String>) - Static method in class opennlp.tools.namefind.NameFinderEventStream
-
Generated previous decision features for each token based on contents of the specified
prevMap. - additionalContextFeatureGenerator - Variable in class opennlp.tools.namefind.NameFinderEventStream
- additionalContextFeatureGenerator - Variable in class opennlp.tools.namefind.NameFinderME
-
One shared additional-context feature generator per
NameFinderMEinstance. - AdditionalContextFeatureGenerator - Class in opennlp.tools.util.featuregen
-
The
AdditionalContextFeatureGeneratorgenerates the context from the passed in additional context. - AdditionalContextFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.AdditionalContextFeatureGenerator
- additionalData - Variable in record class opennlp.tools.util.TokenTag
-
The field for the
additionalDatarecord component. - additionalData() - Method in record class opennlp.tools.util.TokenTag
-
Returns the value of the
additionalDatarecord component. - addLayer(Document, LayerKey<T>, Document) - Static method in interface opennlp.tools.document.Document
-
Adds one layer of
fromtobasethroughDocument.with(LayerKey, List), capturing the key's value type. - addMappingsFromXmlChildren(NodeList, Map<String, ArtifactSerializer<?>>) - Static method in class opennlp.tools.util.featuregen.GeneratorFactory
- addModel(String, String, Map<String, Map<ModelType, URL>>) - Method in class opennlp.tools.util.DownloadUtil.DownloadParser
- addNamedEntities(Map<Integer, String>, Map<Integer, List<Integer>>) - Method in class opennlp.tools.formats.masc.MascSentence
-
Add the named entity annotation to the tokenized sentence
- addNamedEntityTags(Map<String, Map<Integer, ? extends Object>>) - Method in class opennlp.tools.formats.masc.MascDocument
-
Attaches the named entity labels to individual tokens.
- addNames(String, Span[], Parse[]) - Static method in class opennlp.tools.parser.Parse
-
Utility method to insert named entities.
- addNextPunctuation(Parse) - Method in class opennlp.tools.parser.Parse
-
Designates that the specified punctuation follows this parse.
- addParseEvents(List<Event>, Parse[]) - Method in class opennlp.tools.parser.AbstractParserEventStream
-
Produces all events for the specified sentence
chunksand adds them to the specifiednewEventslist. - addParseEvents(List<Event>, Parse[]) - Method in class opennlp.tools.parser.chunking.ParserEventStream
-
Adds
eventsfor parsing (post tagging and chunking) to the specified list of events for the specified parse chunks. - addParseEvents(List<Event>, Parse[]) - Method in class opennlp.tools.parser.treeinsert.ParserEventStream
- addPennTags(Map<String, Map<Integer, ?>>) - Method in class opennlp.tools.formats.masc.MascDocument
-
Attach tags and bases to MascWords in each of the sentences.
- addPreviousPunctuation(Parse) - Method in class opennlp.tools.parser.Parse
-
Designates that the specified punctuation should is prior to this parse.
- addProb(double) - Method in class opennlp.tools.parser.Parse
-
Adds the specified
logProbto this current log for this parse. - addRulePart(String, String, String, boolean, List<HunspellStemmer.CompoundPart>, HunspellDictionary.Affix...) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Adds homonyms permitted by their blocking and affix flags.
- addSequence(String) - Method in class opennlp.tools.util.normalizer.UnicodeEmojiSequences.Node
-
Adds one sequence below this node, which is the root of the trie.
- addSharpVariants(String, int, Set<String>) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Collects sharp-s alternatives with a fixed search limit.
- addTagEvents(List<Event>, Parse[]) - Method in class opennlp.tools.parser.AbstractParserEventStream
- addTextLang(String, String, Map<Locale, String>) - Method in class opennlp.tools.formats.conllu.ConlluStream
- addToken(StringBuilder, List<Span>, String, boolean) - Static method in class opennlp.tools.tokenize.TokenSample
- addTokens(List<Annotation<String>>, String, int) - Method in class opennlp.tools.tokenize.TokenizerAnnotator
-
Tokenizes one stretch of text and appends its tokens, shifted back into document coordinates.
- addToReport(String, String) - Method in class opennlp.tools.ml.AbstractTrainer
-
Adds the key-value pair to the report map.
- addTrimmedSpan(List<Span>, CharSequence, int, int, double) - Method in class opennlp.tools.sentdetect.SentenceDetectorME
- addUnknown(List<LatticeTokenizer.Node>, String, int, int, MecabDictionary.Category, List<MecabDictionary.WordEntry>) - Method in class opennlp.tools.tokenize.lattice.LatticeTokenizer
-
Emits unknown-word candidates per the category's grouping and length settings.
- adjoin(Parse, HeadRules) - Method in class opennlp.tools.parser.Parse
-
Sister adjoins this node's last child and the specified sister node and returns their new parent node.
- adjoinRoot(Parse, HeadRules, int) - Method in class opennlp.tools.parser.Parse
- ADMetadata - Class in opennlp.tools.formats.ad
-
Reads the ids from the metadata of an Arvores Deitadas sentence, which differs between corpora.
- ADMetadata() - Constructor for class opennlp.tools.formats.ad.ADMetadata
- ADMetadata.IdSpans - Record Class in opennlp.tools.formats.ad
-
Where the digit runs of the two ids lie in the metadata, each as an inclusive start and an exclusive end.
- ADMetadata.TextAndParagraph - Record Class in opennlp.tools.formats.ad
-
The ids of a sentence.
- ADNameSampleStream - Class in opennlp.tools.formats.ad
-
Parser for Floresta Sita(c)tica Arvores Deitadas corpus, output to for the Portuguese NER training.
- ADNameSampleStream(InputStreamFactory, String, boolean) - Constructor for class opennlp.tools.formats.ad.ADNameSampleStream
-
Deprecated, for removal: This API element is subject to removal in a future version.
- ADNameSampleStream(ObjectStream<String>, boolean) - Constructor for class opennlp.tools.formats.ad.ADNameSampleStream
-
Initializes a new
ADNameSampleStreamstream from aObjectStream<String>, that could be aPlainTextByLineStreamobject. - ADNameSampleStreamFactory - Class in opennlp.tools.formats.ad
-
A Factory to create a Arvores Deitadas NameSampleDataStream from the command line utility.
- ADNameSampleStreamFactory(Class<ADNameSampleStreamFactory.Parameters>) - Constructor for class opennlp.tools.formats.ad.ADNameSampleStreamFactory
- ADNameSampleStreamFactory.Parameters - Interface in opennlp.tools.formats.ad
- ADPOSSampleStream - Class in opennlp.tools.formats.ad
-
Note: Do not use this class, internal use only!
- ADPOSSampleStream(InputStreamFactory, String, boolean, boolean) - Constructor for class opennlp.tools.formats.ad.ADPOSSampleStream
-
Creates a new
POSSamplestream from anInputStreamFactory - ADPOSSampleStream(ObjectStream<String>, boolean, boolean) - Constructor for class opennlp.tools.formats.ad.ADPOSSampleStream
-
Creates a new
ADPOSSampleStreamstream from aObjectStream<String>, that could be aPlainTextByLineStreamobject. - ADPOSSampleStreamFactory - Class in opennlp.tools.formats.ad
-
Note: Do not use this class, internal use only!
- ADPOSSampleStreamFactory(Class<ADPOSSampleStreamFactory.Parameters>) - Constructor for class opennlp.tools.formats.ad.ADPOSSampleStreamFactory
- ADPOSSampleStreamFactory.Parameters - Interface in opennlp.tools.formats.ad
- ADSentenceSampleStream - Class in opennlp.tools.formats.ad
-
Note: Do not use this class, internal use only!
- ADSentenceSampleStream(InputStreamFactory, String, boolean) - Constructor for class opennlp.tools.formats.ad.ADSentenceSampleStream
-
Initializes a new
ADSentenceSampleStream. - ADSentenceSampleStream(ObjectStream<String>, boolean) - Constructor for class opennlp.tools.formats.ad.ADSentenceSampleStream
-
Initializes a new
ADSentenceSampleStreamfrom aObjectStream<String>, that could be aPlainTextByLineStreamobject. - ADSentenceSampleStreamFactory - Class in opennlp.tools.formats.ad
-
Note: Do not use this class, internal use only!
- ADSentenceSampleStreamFactory(Class<ADSentenceSampleStreamFactory.Parameters>) - Constructor for class opennlp.tools.formats.ad.ADSentenceSampleStreamFactory
- ADSentenceSampleStreamFactory.Parameters - Interface in opennlp.tools.formats.ad
- adSentenceStream - Variable in class opennlp.tools.formats.ad.ADChunkSampleStream
- adSentenceStream - Variable in class opennlp.tools.formats.ad.ADNameSampleStream
- adSentenceStream - Variable in class opennlp.tools.formats.ad.ADPOSSampleStream
- adSentenceStream - Variable in class opennlp.tools.formats.ad.ADSentenceSampleStream
- ADSentenceStream - Class in opennlp.tools.formats.ad
-
Stream filter which merges text lines into sentences, following the Arvores Deitadas syntax.
- ADSentenceStream(ObjectStream<String>) - Constructor for class opennlp.tools.formats.ad.ADSentenceStream
- ADSentenceStream.Sentence - Record Class in opennlp.tools.formats.ad
- ADSentenceStream.SentenceParser - Class in opennlp.tools.formats.ad
-
Parses a sample of AD corpus.
- ADSentenceStream.SentenceParser.Leaf - Class in opennlp.tools.formats.ad
-
Represents the AD leaf
- ADSentenceStream.SentenceParser.LeafEnd - Record Class in opennlp.tools.formats.ad
-
The end of a leaf line.
- ADSentenceStream.SentenceParser.LeafRest - Record Class in opennlp.tools.formats.ad
-
The part of a leaf line after the lemma.
- ADSentenceStream.SentenceParser.LineScan - Class in opennlp.tools.formats.ad
-
What the scans of one line remember: for each index, whether no end of a leaf line was found there, and the index of the next closing parenthesis at or after it.
- ADSentenceStream.SentenceParser.Node - Class in opennlp.tools.formats.ad
-
Represents the AD node
- ADSentenceStream.SentenceParser.PunctuationLine - Record Class in opennlp.tools.formats.ad
-
A punctuation line.
- ADSentenceStream.SentenceParser.Tag - Record Class in opennlp.tools.formats.ad
-
A tag at the start of a line.
- ADSentenceStream.SentenceParser.TreeElement - Class in opennlp.tools.formats.ad
-
Represents a tree element, Node or Leaf
- ADTokenSampleStreamFactory - Class in opennlp.tools.formats.ad
-
Note: Do not use this class, internal use only!
- ADTokenSampleStreamFactory(Class<ADTokenSampleStreamFactory.Parameters>) - Constructor for class opennlp.tools.formats.ad.ADTokenSampleStreamFactory
- ADTokenSampleStreamFactory.Parameters - Interface in opennlp.tools.formats.ad
- advance(List<ArcStandardBeam.Node>, int, Transition[]) - Static method in class opennlp.tools.depparse.ArcStandardBeam
-
Keeps the best expansions and advances their states.
- advanceChunks(Parse, double) - Method in class opennlp.tools.parser.AbstractBottomUpParser
-
Returns the top chunk sequences for the specified
Parse. - advanceChunks(Parse, double) - Method in class opennlp.tools.parser.treeinsert.Parser
- advanceLeft(String, int) - Static method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument
-
Helper to adjust the span of punctuation tokens: ignores spaces to the left of the string.
- advanceParses(Parse, double) - Method in class opennlp.tools.parser.AbstractBottomUpParser
-
Advances the specified
Parseand returns the an array advanced parses whose probability accounts for more than the specified amount of probability mass. - advanceParses(Parse, double) - Method in class opennlp.tools.parser.chunking.Parser
- advanceParses(Parse, double) - Method in class opennlp.tools.parser.treeinsert.Parser
- advanceRight(String, int) - Static method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument
-
Helper to adjust the span of punctuation tokens: ignores spaces to the right of the string.
- advanceTags(Parse) - Method in class opennlp.tools.parser.AbstractBottomUpParser
-
Advances the
Parseby assigning it POS tags and returns multiple tag sequences. - advanceTop(Parse) - Method in class opennlp.tools.parser.AbstractBottomUpParser
-
Adds the
Parser.TOP_NODEto the specified parse. - advanceTop(Parse) - Method in class opennlp.tools.parser.chunking.Parser
- advanceTop(Parse) - Method in class opennlp.tools.parser.treeinsert.Parser
- affix - Variable in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.Affix
-
The field for the
affixrecord component. - affix() - Method in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.Affix
-
Returns the value of the
affixrecord component. - Affix(int, boolean, String, String, AffixCondition, int[], boolean, List<String>, String) - Constructor for record class opennlp.tools.stemmer.hunspell.HunspellDictionary.Affix
-
Creates an instance of a
Affixrecord class. - AFFIX_FILE_SUFFIX - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
The file suffix for a Hunspell affix file.
- AFFIX_STREAM - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- affixAdmits(HunspellDictionary.Affix, HunspellDictionary.CompoundPosition) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Checks whether an affix admits its derived form at a compound position: its continuation classes carry the general compounding flag or the position's dedicated flag.
- AffixCondition - Class in opennlp.tools.stemmer.hunspell
-
One parsed affix condition: a fixed-length sequence of literal code points and bracketed character classes, matched with a single scan and no regular expressions.
- AffixCondition(int[][], boolean[], boolean) - Constructor for class opennlp.tools.stemmer.hunspell.AffixCondition
-
Initializes the condition.
- affixes - Variable in record class opennlp.tools.stemmer.hunspell.HunspellStemmer.CompoundPart
-
The field for the
affixesrecord component. - affixes() - Method in record class opennlp.tools.stemmer.hunspell.HunspellStemmer.CompoundPart
-
Returns the value of the
affixesrecord component. - AffixFile() - Constructor for class opennlp.tools.stemmer.hunspell.HunspellDictionary.AffixFile
- afterPrefix(WordBreak, WordBreak, WordBreak, WordBreak, int) - Static method in class opennlp.tools.tokenize.uax29.WordSegmenter
- AggregateCharSequenceNormalizer - Class in opennlp.tools.util.normalizer
-
A
CharSequenceNormalizerimplementation that aggregates the functionality of other normalizers. - AggregateCharSequenceNormalizer(CharSequenceNormalizer...) - Constructor for class opennlp.tools.util.normalizer.AggregateCharSequenceNormalizer
-
Creates an aggregate that applies the given normalizers in order.
- AggregatedFeatureGenerator - Class in opennlp.tools.util.featuregen
-
The
AggregatedFeatureGeneratoraggregates a set offeature generatorsand calls them to generate the features. - AggregatedFeatureGenerator(Collection<AdaptiveFeatureGenerator>) - Constructor for class opennlp.tools.util.featuregen.AggregatedFeatureGenerator
-
Initializes an
AggregatedFeatureGeneratorvia specifiedgenerators. - AggregatedFeatureGenerator(AdaptiveFeatureGenerator...) - Constructor for class opennlp.tools.util.featuregen.AggregatedFeatureGenerator
-
Initializes an
AggregatedFeatureGeneratorvia specifiedgenerators. - AggregatedFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
A
GeneratorFactorythat producesAggregatedFeatureGeneratorinstances whenAggregatedFeatureGeneratorFactory.create()is called. - AggregatedFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.AggregatedFeatureGeneratorFactory
- ALETTER - Enum constant in enum class opennlp.tools.tokenize.uax29.WordBreak
-
Alphabetic letters.
- algorithm - Variable in class opennlp.tools.stemmer.snowball.SnowballStemmerFactory
- algorithm() - Method in interface opennlp.tools.util.Parameters
- algorithm() - Method in class opennlp.tools.util.TrainingParameters
- algorithm(String) - Method in interface opennlp.tools.util.Parameters
- algorithm(String) - Method in class opennlp.tools.util.TrainingParameters
- ALGORITHM() - Constructor for enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- ALGORITHM_DEFAULT_VALUE - Static variable in interface opennlp.tools.util.Parameters
- ALGORITHM_OPTION - Static variable in class opennlp.tools.stemmer.StemmerAnnotatorProvider
-
The option that names the stemming algorithm.
- ALGORITHM_PARAM - Static variable in interface opennlp.tools.util.Parameters
- algorithms - Variable in class opennlp.tools.stemmer.StemmerAnnotatorProvider
- algorithmType - Variable in enum class opennlp.tools.ml.AlgorithmType
- AlgorithmType - Enum Class in opennlp.tools.ml
- AlgorithmType(String, String, String, String, String) - Constructor for enum class opennlp.tools.ml.AlgorithmType
- ALIAS_TAG - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
The directive that defines the file-wide flag alias table.
- AlignedAggregateCharSequenceNormalizer - Class in opennlp.tools.util.normalizer
-
An
OffsetAwareNormalizerthat applies a chain of offset-aware normalizers in order and composes their per-stageAlignments withAlignment.andThen(Alignment), so the result maps a span found in the fully normalized text back to the original input through every stage. - AlignedAggregateCharSequenceNormalizer(OffsetAwareNormalizer[]) - Constructor for class opennlp.tools.util.normalizer.AlignedAggregateCharSequenceNormalizer
- AlignedText - Record Class in opennlp.tools.util.normalizer
-
The result of a normalization that keeps the original text alongside the normalized form and a full
Alignmentbetween them. - AlignedText(CharSequence, CharSequence, Alignment) - Constructor for record class opennlp.tools.util.normalizer.AlignedText
-
Validates the components.
- alignment - Variable in record class opennlp.tools.util.normalizer.AlignedText
-
The field for the
alignmentrecord component. - alignment() - Method in record class opennlp.tools.util.normalizer.AlignedText
-
Returns the value of the
alignmentrecord component. - Alignment - Class in opennlp.tools.util.normalizer
-
A bidirectional alignment between an original text and a normalized form of it.
- Alignment(int[], int[], int) - Constructor for class opennlp.tools.util.normalizer.Alignment
- Alignment.Builder - Class in opennlp.tools.util.normalizer
-
Builds an
Alignmentas the normalized text is produced, by recording each edit in order. - all() - Static method in class opennlp.tools.util.normalizer.UnicodeDash
-
Returns all Unicode dash characters, in ascending code point order.
- all() - Static method in class opennlp.tools.util.normalizer.UnicodeWhitespace
-
Returns the
25Unicode whitespace characters, in ascending code point order. - ALL_CAPITAL_LETTER - Static variable in class opennlp.tools.util.featuregen.StringPattern
- ALL_DIGIT - Static variable in class opennlp.tools.util.featuregen.StringPattern
- ALL_HIRAGANA - Static variable in class opennlp.tools.util.featuregen.StringPattern
- ALL_KATAKANA - Static variable in class opennlp.tools.util.featuregen.StringPattern
- ALL_LETTERS - Static variable in class opennlp.tools.util.featuregen.StringPattern
- ALL_LOWERCASE_LETTER - Static variable in class opennlp.tools.util.featuregen.StringPattern
- ALLCAP - Enum constant in enum class opennlp.tools.stemmer.hunspell.HunspellDictionary.CaseType
-
Every letter uppercase.
- allCaps - Variable in class opennlp.tools.stemmer.hunspell.HunspellStemmer.Analysis
-
Whether the input is all uppercase, in which case the hidden capitalized forms of mixed-case entries also match.
- allDocumentWords - Variable in class opennlp.tools.formats.masc.MascSentence
- allDocumentWords - Variable in record class opennlp.tools.formats.masc.MascSentence.QuarkExtractor
-
The field for the
allDocumentWordsrecord component. - allDocumentWords() - Method in record class opennlp.tools.formats.masc.MascSentence.QuarkExtractor
-
Returns the value of the
allDocumentWordsrecord component. - ALLOW_PARTIAL - Enum constant in enum class opennlp.tools.stemmer.hunspell.HunspellDictionary.LoadMode
-
Skip unsupported directives and record their first source locations.
- ALLOWED_KEY_SUFFIX - Static variable in class opennlp.tools.util.ext.Providers
-
The suffix of the configuration key that limits which provider classes may be used, see
Providers.allowedKey(). - ALLOWED_PACKAGES_PROPERTY - Static variable in class opennlp.tools.util.ext.ExtensionLoader
-
System property for supplying additional allowed package prefixes.
- ALLOWED_PREFIXES - Static variable in class opennlp.tools.util.ext.ExtensionLoader
-
Package prefixes whose classes are permitted to be instantiated as extensions.
- allowedClasses() - Method in class opennlp.tools.util.ext.Providers
- allowedKey - Variable in class opennlp.tools.util.ext.Providers
- allowedKey() - Method in class opennlp.tools.util.ext.Providers
- allowsBreak(CharSequence, int, int) - Method in class opennlp.tools.sentdetect.SentenceDetectorME.AbbreviationIndex
-
Checks whether a sentence break at a candidate position is allowed by the
Dictionary. - allowsContinuation(int) - Method in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.Affix
-
Checks whether a further affix may stack on this one.
- alpha - Variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer.UpdateInfo
- ALPHA_NUMERIC_PATTERN - Static variable in class opennlp.tools.tokenize.TokenizerFactory
- ALPHABETIC - Static variable in class opennlp.tools.tokenize.SimpleTokenizer.CharacterEnum
- alphanumeric - Variable in class opennlp.tools.tokenize.TokenizerME
- alphanumeric - Variable in class opennlp.tools.tokenize.TokSpanEventStream
- ALPHANUMERIC - Enum constant in enum class opennlp.tools.tokenize.uax29.WordType
-
A token that contains at least one letter (optionally mixed with digits and connectors).
- ALPHANUMERIC - Static variable in class opennlp.tools.util.normalizer.AsciiChars
-
The ASCII letters and digits.
- alphanumericCheck() - Method in class opennlp.tools.tokenize.TokenizerFactory
-
Returns the check the alphanumeric optimization applies to a candidate token.
- AlphanumericCheck - Interface in opennlp.tools.tokenize
-
Checks whether a candidate token is accepted by the alphanumeric optimization of
TokenizerMEandTokSpanEventStream, so it is not split further. - alphaNumericPattern - Variable in class opennlp.tools.tokenize.TokenizerFactory
- AmbiguousProviderException - Exception Class in opennlp.tools.util.ext
-
Thrown if more than one
providerhas the highest priority. - AmbiguousProviderException(String) - Constructor for exception class opennlp.tools.util.ext.AmbiguousProviderException
-
Initializes the exception.
- Among - Class in opennlp.tools.stemmer.snowball
-
Internal class used by Snowball stemmers
- Among(String, int, int) - Constructor for class opennlp.tools.stemmer.snowball.Among
- Among(String, int, int, String, MethodHandles.Lookup) - Constructor for class opennlp.tools.stemmer.snowball.Among
- Analysis(String, String, HunspellStemmer.Results, boolean) - Constructor for class opennlp.tools.stemmer.hunspell.HunspellStemmer.Analysis
-
Creates an analysis context.
- analysisFields() - Method in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.Affix
-
Returns the morphological fields, or the
fl:flag field when none are declared. - analyze(CharSequence) - Method in class opennlp.tools.document.DocumentAnalyzer
-
Analyzes a text by running every annotator in order.
- analyze(CharSequence) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Returns morphological analyses as space-separated Hunspell fields.
- analyze(CharSequence) - Method in class opennlp.tools.util.normalizer.TermAnalyzer
-
Segments
textwith the UAX #29 word tokenizer and returns oneTermper word token, in order. - analyze(String) - Method in class opennlp.tools.tokenize.lattice.LatticeTokenizer
-
Segments a text into morphemes with their dictionary features.
- analyze(String[], String[]) - Method in class opennlp.tools.util.normalizer.TermAnalyzer
-
Returns one
Termper supplied token, attaching the matching part-of-speech tag so thatDimension.LEMMAcan be computed. - analyze(String, HunspellStemmer.Analysis) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Adds every analysis of one case variant to the result set: the word's own dictionary entry, single suffix removal, twofold suffix removal through continuation classes, single prefix removal, and cross-product removal of one prefix together with one suffix and an optional continuation suffix.
- analyzer - Variable in class opennlp.tools.util.normalizer.Term
- ANCHOR_END - Static variable in class opennlp.tools.util.DownloadUtil.DownloadParser
- ANCHOR_START - Static variable in class opennlp.tools.util.DownloadUtil.DownloadParser
- AncoraSpanishHeadRules - Class in opennlp.tools.parser.lang.es
-
Class for storing the Ancora Spanish head rules associated with parsing.
- AncoraSpanishHeadRules(Reader) - Constructor for class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules
-
Creates a new set of head rules based on the specified reader.
- AncoraSpanishHeadRules.HeadRule - Class in opennlp.tools.parser.lang.es
- AncoraSpanishHeadRules.HeadRulesSerializer - Class in opennlp.tools.parser.lang.es
- andThen(AlignedText) - Method in record class opennlp.tools.util.normalizer.AlignedText
-
Composes this result with a stage that further normalizes this result's normalized text.
- andThen(Alignment) - Method in class opennlp.tools.util.normalizer.Alignment
-
Composes this alignment with one that further normalizes this alignment's normalized text.
- ANIMAL - Enum constant in enum class opennlp.tools.util.normalizer.EmojiEntityType
-
An animal, from the
animal-*subgroups. - ANIMALS_AND_NATURE - Enum constant in enum class opennlp.tools.util.normalizer.EmojiCategory
-
Upstream group
Animals & Nature: animals, plants, and nature symbols. - annotate(CharSequence) - Method in class opennlp.tools.util.normalizer.EmojiAnnotator
-
Annotates one symbol.
- annotate(Document) - Method in class opennlp.tools.chunker.ChunkerAnnotator
-
Chunks the document sentence by sentence and adds the
ChunkerAnnotator.CHUNKSlayer. - annotate(Document) - Method in interface opennlp.tools.document.DocumentAnnotator
-
Annotates a document.
- annotate(Document) - Method in class opennlp.tools.lemmatizer.LemmatizerAnnotator
-
Lemmatizes the document sentence by sentence and adds the
LemmatizerAnnotator.LEMMASlayer. - annotate(Document) - Method in class opennlp.tools.namefind.NameFinderAnnotator
-
Finds names sentence by sentence and adds the
Layers.ENTITIESlayer. - annotate(Document) - Method in class opennlp.tools.parser.ParserAnnotator
-
Parses the document sentence by sentence and adds the
ParserAnnotator.PHRASESlayer. - annotate(Document) - Method in class opennlp.tools.postag.POSTaggerAnnotator
-
Tags the document sentence by sentence and adds the
Layers.POS_TAGSlayer. - annotate(Document) - Method in class opennlp.tools.sentdetect.SentenceDetectorAnnotator
-
Detects sentences over the document text and adds the
Layers.SENTENCESlayer, each sentence annotated with its covered text on its span. - annotate(Document) - Method in class opennlp.tools.stemmer.StemmerAnnotator
-
Stems the token layer and adds the
StemmerAnnotator.STEMSlayer. - annotate(Document) - Method in class opennlp.tools.termvector.TermVectorAnnotator
-
Aggregates the token layer into the
TermVectorAnnotator.TERM_VECTORSlayer. - annotate(Document) - Method in class opennlp.tools.tokenize.TokenizerAnnotator
-
Tokenizes the document and adds the
Layers.TOKENSlayer, sentence by sentence when a sentence layer is present and over the whole text otherwise. - annotate(Term) - Method in class opennlp.tools.util.normalizer.EmojiAnnotator
-
Annotates one term, keyed on its
originaltext. - Annotation<T> - Record Class in opennlp.tools.document
-
One annotation of a
Document: a typed value anchored to aSpanof the document's original text, or a span-less value under adocument-scopedkey. - Annotation(Span, T) - Constructor for record class opennlp.tools.document.Annotation
-
Validates the annotation.
- AnnotationConfiguration - Class in opennlp.tools.formats.brat
-
Encapsulates a type to class mapping for entities, relations, events, etc.
- AnnotationConfiguration(Map<String, String>) - Constructor for class opennlp.tools.formats.brat.AnnotationConfiguration
-
Initializes an
AnnotationConfigurationwith the specifiedtypeToClassMap. - annotationFiles - Variable in class opennlp.tools.formats.masc.MascDocumentStream.HeaderHandler
- annotationMap - Variable in class opennlp.tools.formats.brat.BratDocument
- ANNOTATIONS - Static variable in class opennlp.tools.util.normalizer.EmojiAnnotations
- annotator - Variable in class opennlp.tools.doccat.EmojiFeatureGenerator
- annotator - Variable in class opennlp.tools.sentiment.EmojiSentimentContextGenerator
- annotator - Variable in class opennlp.tools.util.featuregen.EmojiAnnotationFeatureGenerator
- AnnotatorNoteAnnotation - Class in opennlp.tools.formats.brat
- AnnotatorNoteAnnotation(String, String, String) - Constructor for class opennlp.tools.formats.brat.AnnotatorNoteAnnotation
- AnnotatorNoteParser() - Constructor for class opennlp.tools.formats.brat.BratAnnotationStream.AnnotatorNoteParser
- annotators - Variable in class opennlp.tools.document.DocumentAnalyzer
- annotators - Variable in class opennlp.tools.document.DocumentAnalyzer.Builder
- ANY - Static variable in class opennlp.tools.stemmer.hunspell.AffixCondition
-
The shared instance for the condition
., which accepts every stem. - ANY_ONE - Static variable in class opennlp.tools.models.WildcardMatcher
- ANY_RUN - Static variable in class opennlp.tools.models.AbstractClassPathModelFinder
- ANY_RUN - Static variable in class opennlp.tools.models.WildcardMatcher
- anyReplacement(String, Predicate<String>) - Method in class opennlp.tools.stemmer.hunspell.HunspellConversion
-
Tests individual replacements without combining separate corrections.
- APOSTROPHE - Static variable in class opennlp.tools.tokenize.lang.en.TokenSampleStream
- append(int, int) - Method in class opennlp.tools.util.normalizer.Alignment.Builder
-
Appends one normalized character's original range, growing the backing arrays as needed.
- appendEscapes(StringBuilder, ByteArrayOutputStream) - Method in class opennlp.tools.util.ext.ProviderSpec
- appendHex(StringBuilder, int) - Static method in class opennlp.tools.tokenize.TokenizerCharacterPolicy
-
Appends
codePointas upper-case hex with at leastTokenizerCharacterPolicy.MIN_HEX_DIGITSdigits. - appendRanges(StringBuilder, CodePointSet) - Static method in class opennlp.tools.tokenize.TokenizerCharacterPolicy
-
Appends the members of
setas comma separated code points and ranges. - appendWithoutAccents(String, int, int, MappedText) - Method in class opennlp.tools.tokenize.WordpieceEncoder
-
Appends characters excluding non-spacing marks with one source range.
- appendWithoutAccents(MappedText, MappedText) - Method in class opennlp.tools.tokenize.WordpieceEncoder
-
Appends mapped characters excluding non-spacing marks.
- apply(String) - Method in class opennlp.tools.stemmer.hunspell.HunspellConversion
-
Replaces the longest matching pattern at each input position without rescanning replacement text.
- apply(String, String, boolean) - Method in class opennlp.tools.util.archive.TarStream
-
Applies one pax record.
- apply(Transition) - Method in class opennlp.tools.depparse.ArcStandardState
-
Applies a transition, updating stack, buffer, and arcs.
- apply(Dimension, String, String) - Method in class opennlp.tools.util.normalizer.TermAnalyzer
-
Applies one dimension's transform to a single token value.
- applyCaseSensitivity(StringList) - Method in class opennlp.tools.dictionary.Dictionary
- applyFinalSigma(String, String) - Static method in class opennlp.tools.depparse.FeedforwardNetwork
-
Replaces each word-final sigma of a lowered word with the final form.
- applyMerge(List<String>, BPETokenizer.SymbolPair) - Method in class opennlp.tools.tokenize.BPETokenizerTrainer
-
Applies a single merge operation to a symbol sequence.
- applyMerges(List<String>) - Method in class opennlp.tools.tokenize.BPETokenizer
-
Iteratively applies learned BPE merge operations to a list of symbols.
- applyUpdates(int) - Method in class opennlp.tools.depparse.FeedforwardDependencyTrainer.Optimizer
-
Applies one AdaGrad step from the gradient buffers to every parameter.
- aprobs - Variable in class opennlp.tools.parser.treeinsert.Parser
- ARABIC - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- arabicStemmer - Class in opennlp.tools.stemmer.snowball
-
This class implements the stemming algorithm defined by a snowball script.
- arabicStemmer() - Constructor for class opennlp.tools.stemmer.snowball.arabicStemmer
- arcs() - Method in class opennlp.tools.depparse.DependencyTree
- ArcStandardBeam - Class in opennlp.tools.depparse
-
One step of arc-standard beam search over a
FeedforwardNetwork, shared by beam decoding and beam refinement: every node of the beam is expanded by each applicable transition scored by summed log-probability, and the best expansions are advanced. - ArcStandardBeam() - Constructor for class opennlp.tools.depparse.ArcStandardBeam
-
Prevents construction of this utility class.
- ArcStandardBeam.Node - Class in opennlp.tools.depparse
-
One path of the beam.
- ArcStandardOracle - Class in opennlp.tools.depparse
-
Converts an annotated dependency tree into the sequence of parser transitions needed to reconstruct it.
- ArcStandardOracle() - Constructor for class opennlp.tools.depparse.ArcStandardOracle
-
Prevents construction of this utility class.
- ArcStandardState - Class in opennlp.tools.depparse
-
Tracks the state of an arc-standard dependency parse: a stack of tokens being processed, a buffer of unread tokens, and the dependency arcs created so far.
- ArcStandardState(int) - Constructor for class opennlp.tools.depparse.ArcStandardState
-
Initializes the start configuration for a sentence: the artificial root on the stack and every token in the buffer.
- ArcStandardState(ArcStandardState) - Constructor for class opennlp.tools.depparse.ArcStandardState
-
Deep-copies
source; used only byArcStandardState.copy(). - areOutcomesCompatible(String[]) - Method in class opennlp.tools.namefind.BilouCodec
-
B requires CL or L, C requires BL, L requires B, O requires any valid combo/unit, U requires none. - areOutcomesCompatible(String[]) - Method in class opennlp.tools.namefind.BioCodec
- areOutcomesCompatible(String[]) - Method in interface opennlp.tools.util.SequenceCodec
-
Checks if the
outcomesof a model are compatible with thisSequenceCodec. - arg1 - Variable in class opennlp.tools.formats.brat.RelationAnnotation
- ARG1_OFFSET - Static variable in class opennlp.tools.formats.brat.BratAnnotationStream.RelationAnnotationParser
- arg2 - Variable in class opennlp.tools.formats.brat.RelationAnnotation
- ARG2_OFFSET - Static variable in class opennlp.tools.formats.brat.BratAnnotationStream.RelationAnnotationParser
- argmax(double[]) - Static method in class opennlp.tools.ml.ArrayMath
-
Finds the index of the maximum element in a vector
x - args - Variable in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- argument - Variable in record class opennlp.tools.cmdline.ArgumentParser.Argument
-
The field for the
argumentrecord component. - argument() - Method in record class opennlp.tools.cmdline.ArgumentParser.Argument
-
Returns the value of the
argumentrecord component. - Argument(String, String, String, boolean) - Constructor for record class opennlp.tools.cmdline.ArgumentParser.Argument
-
Creates an instance of a
Argumentrecord class. - argumentFactories - Static variable in class opennlp.tools.cmdline.ArgumentParser
- ArgumentParser - Class in opennlp.tools.cmdline
-
Parser for command line arguments.
- ArgumentParser() - Constructor for class opennlp.tools.cmdline.ArgumentParser
- ArgumentParser.Argument - Record Class in opennlp.tools.cmdline
-
Auxiliary record that holds information about an argument.
- ArgumentParser.ArgumentFactory - Interface in opennlp.tools.cmdline
- ArgumentParser.ArgumentProxy - Record Class in opennlp.tools.cmdline
- ArgumentParser.BooleanArgumentFactory - Class in opennlp.tools.cmdline
- ArgumentParser.CharsetArgumentFactory - Class in opennlp.tools.cmdline
- ArgumentParser.FileArgumentFactory - Class in opennlp.tools.cmdline
- ArgumentParser.IntegerArgumentFactory - Class in opennlp.tools.cmdline
- ArgumentParser.LongArgumentFactory - Class in opennlp.tools.cmdline
- ArgumentParser.OptionalParameter - Annotation Interface in opennlp.tools.cmdline
- ArgumentParser.ParameterDescription - Annotation Interface in opennlp.tools.cmdline
- ArgumentParser.StringArgumentFactory - Class in opennlp.tools.cmdline
- ArgumentProxy(Map<String, Object>) - Constructor for record class opennlp.tools.cmdline.ArgumentParser.ArgumentProxy
-
Creates an instance of a
ArgumentProxyrecord class. - arguments - Variable in record class opennlp.tools.cmdline.ArgumentParser.ArgumentProxy
-
The field for the
argumentsrecord component. - arguments - Variable in class opennlp.tools.formats.brat.EventAnnotation
- arguments() - Method in record class opennlp.tools.cmdline.ArgumentParser.ArgumentProxy
-
Returns the value of the
argumentsrecord component. - ARRAY_HEADER_BYTES - Static variable in class opennlp.tools.depparse.ContributionCache
-
The bytes charged per contribution vector beyond its values.
- ArrayMath - Class in opennlp.tools.ml
-
Utility class for simple vector arithmetic.
- ArrayMath() - Constructor for class opennlp.tools.ml.ArrayMath
- arrayToCounts(CharSequence[]) - Method in class opennlp.tools.langdetect.LanguageDetectorME
- artifactMap - Variable in class opennlp.tools.util.model.BaseModel
- artifactProvider - Variable in class opennlp.tools.util.BaseToolFactory
- ArtifactProvider - Interface in opennlp.tools.util.model
-
Provides access to model persisted artifacts.
- ArtifactSerializer<T> - Interface in opennlp.tools.util.model
-
Responsible to create an artifact from an
InputStream. - artifactSerializers - Variable in class opennlp.tools.util.model.BaseModel
- ascii() - Static method in class opennlp.tools.tokenize.TokenizerCharacterPolicy
-
Returns a policy for ASCII letters and digits, with no marks.
- ASCII - Static variable in class opennlp.tools.tokenize.TokenizerCharacterPolicy
- ASCII_DIGIT_STRINGS - Static variable in class opennlp.tools.util.StringUtil
-
The immutable list of the ten ASCII digit strings
"0"to"9", indexed by digit value. - ASCII_DIGITS - Static variable in class opennlp.tools.util.normalizer.NumberCharSequenceNormalizer
- ASCII_EXPRESSION - Static variable in class opennlp.tools.tokenize.lang.Factory
- ASCII_KIND - Static variable in enum class opennlp.tools.tokenize.uax29.WordType
- AsciiChars - Class in opennlp.tools.util.normalizer
-
ASCII character helpers shared by the normalizer implementations of this package, so the character definitions cannot drift apart between classes.
- AsciiChars() - Constructor for class opennlp.tools.util.normalizer.AsciiChars
- asciiField(byte[], int, int) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Extracts one ASCII field.
- assign(int, int, byte, byte[], List<int[]>) - Static method in class opennlp.tools.tokenize.uax29.WordBreakProperty
-
Assigns
ordinalto the code point range[start, end], filling the BMP portion directly and recording the rest as a supplementary range. - assign_to(StringBuilder) - Method in class opennlp.tools.stemmer.snowball.SnowballProgram
- assignedDependents - Variable in class opennlp.tools.depparse.ArcStandardState
- assignedDependents(int) - Method in class opennlp.tools.depparse.ArcStandardState
-
Retrieves how many dependents have been attached to a token so far.
- assignedRelation(int) - Method in class opennlp.tools.depparse.ArcStandardState
-
Retrieves the relation a token was attached under, when it has been attached.
- assignRows(Map<String, Integer>, int, String[], List<String>, String) - Static method in class opennlp.tools.depparse.FeedforwardDependencyTrainer
-
Assigns the next embedding rows of one vocabulary: the reserved symbols first, then the observed symbols in sorted order, skipping observed symbols that spell a reserved one.
- asStringSet() - Method in class opennlp.tools.dictionary.Dictionary
-
Converts this
Dictionaryto aSet<String>. - at(CharSequence, int) - Static method in class opennlp.tools.util.normalizer.CodePoints
-
Reads the code point starting at
index. - at(Dimension) - Method in class opennlp.tools.util.normalizer.Term
-
Returns the token at
dimension. - At(int, int) - Constructor for record class opennlp.tools.util.normalizer.CodePoints.At
-
Creates an instance of a
Atrecord class. - AT - Static variable in class opennlp.tools.util.normalizer.MailAddressScan
- atEnd - Variable in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.WordBreak
-
The field for the
atEndrecord component. - atEnd() - Method in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.WordBreak
-
Returns the value of the
atEndrecord component. - atStart - Variable in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.WordBreak
-
The field for the
atStartrecord component. - atStart() - Method in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.WordBreak
-
Returns the value of the
atStartrecord component. - attach(int, int, String) - Method in class opennlp.tools.depparse.ArcStandardState
-
Records the arc from
headtodependentand updates the dependent bookkeeping ofheadwhen it is a token rather than the artificial root. - ATTACH - Enum constant in enum class opennlp.tools.parser.ParserEventTypeEnum
- ATTACH_DAUGHTER - Static variable in class opennlp.tools.parser.treeinsert.Parser
-
Outcome used when a node should be attached as a daughter to another node.
- ATTACH_MODEL_ENTRY_NAME - Static variable in class opennlp.tools.parser.ParserModel
- ATTACH_SISTER - Static variable in class opennlp.tools.parser.treeinsert.Parser
-
Outcome used when a node should be attached as a sister to another node.
- ATTACH_TO_OFFSET - Static variable in class opennlp.tools.formats.brat.BratAnnotationStream.AnnotatorNoteParser
- attachContextGenerator - Variable in class opennlp.tools.parser.treeinsert.Parser
- attachContextGenerator - Variable in class opennlp.tools.parser.treeinsert.ParserEventStream
- AttachContextGenerator - Class in opennlp.tools.parser.treeinsert
-
Generates predictive contexts for deciding how constituents should be attached.
- AttachContextGenerator(Set<String>) - Constructor for class opennlp.tools.parser.treeinsert.AttachContextGenerator
-
Instantiates an
AttachContextGeneratorfor making decisions about attachments. - ATTACHED_TO_OFFSET - Static variable in class opennlp.tools.formats.brat.BratAnnotationStream.AttributeAnnotationParser
- attachedId - Variable in class opennlp.tools.formats.brat.AnnotatorNoteAnnotation
- attachedTo - Variable in class opennlp.tools.formats.brat.AttributeAnnotation
- ATTACHING_TO_NEXT - Static variable in class opennlp.tools.tokenize.lang.en.TokenSampleStream
-
Tokens that are not separated from the following word by a space.
- attachments - Variable in class opennlp.tools.parser.treeinsert.Parser
- AttachmentScores - Class in opennlp.tools.depparse
-
Accumulates the unlabeled and labeled attachment scores over all tokens and over the tokens that are not punctuation.
- AttachmentScores() - Constructor for class opennlp.tools.depparse.AttachmentScores
- attachModel - Variable in class opennlp.tools.parser.treeinsert.Parser
- attrib(Node, String, boolean) - Static method in class opennlp.tools.formats.nkjp.NKJPTextDocument
-
Helper method to get the value of an attribute.
- attribute(String) - Method in record class opennlp.tools.util.normalizer.EmojiAnnotation
-
Returns the value of one attribute with its provenance.
- ATTRIBUTE_CASE_SENSITIVE - Static variable in class opennlp.tools.dictionary.serializer.DictionaryEntryPersistor
- ATTRIBUTE_TYPE - Static variable in class opennlp.tools.formats.brat.AnnotationConfiguration
- AttributeAnnotation - Class in opennlp.tools.formats.brat
- AttributeAnnotation(String, String, String, String) - Constructor for class opennlp.tools.formats.brat.AttributeAnnotation
- AttributeAnnotationParser() - Constructor for class opennlp.tools.formats.brat.BratAnnotationStream.AttributeAnnotationParser
- attributes - Variable in record class opennlp.tools.dictionary.serializer.Entry
-
The field for the
attributesrecord component. - attributes - Variable in record class opennlp.tools.util.normalizer.EmojiAnnotation
-
The field for the
attributesrecord component. - attributes() - Method in record class opennlp.tools.dictionary.serializer.Entry
-
Returns the value of the
attributesrecord component. - attributes() - Method in record class opennlp.tools.util.normalizer.EmojiAnnotation
-
Returns the value of the
attributesrecord component. - Attributes - Class in opennlp.tools.dictionary.serializer
-
The
Attributesclass stores name value pairs. - Attributes() - Constructor for class opennlp.tools.dictionary.serializer.Attributes
- AUTHORITY_PREFIX - Static variable in class opennlp.tools.util.ext.ProviderSpec
- AVAILABLE_METHOD - Static variable in class opennlp.tools.util.ext.Providers
- availableModels - Static variable in class opennlp.tools.util.DownloadUtil
- averageParams - Variable in class opennlp.tools.ml.perceptron.SimplePerceptronSequenceTrainer
-
Stores the average parameter values of each predicate during iteration.
B
- b - Variable in class opennlp.tools.stemmer.PorterStemmer
- B_continue_stemming_noun_suffixes - Variable in class opennlp.tools.stemmer.snowball.turkishStemmer
- B_e_found - Variable in class opennlp.tools.stemmer.snowball.dutchStemmer
- B_ending_removed - Variable in class opennlp.tools.stemmer.snowball.finnishStemmer
- B_is_defined - Variable in class opennlp.tools.stemmer.snowball.arabicStemmer
- B_is_noun - Variable in class opennlp.tools.stemmer.snowball.arabicStemmer
- B_is_verb - Variable in class opennlp.tools.stemmer.snowball.arabicStemmer
- B_standard_suffix_removed - Variable in class opennlp.tools.stemmer.snowball.romanianStemmer
- B_test1 - Variable in class opennlp.tools.stemmer.snowball.greekStemmer
- B_Y_found - Variable in class opennlp.tools.stemmer.snowball.englishStemmer
- B_Y_found - Variable in class opennlp.tools.stemmer.snowball.porterStemmer
- B0_TAG - Static variable in class opennlp.tools.depparse.DependencyContextGenerator
-
Feature prefix: the first buffer tag.
- B0_WORD - Static variable in class opennlp.tools.depparse.DependencyContextGenerator
-
Feature prefix: the first buffer word.
- B0_WORD_TAG - Static variable in class opennlp.tools.depparse.DependencyContextGenerator
-
Feature prefix: word and tag of the first buffer position.
- B1_TAG - Static variable in class opennlp.tools.depparse.DependencyContextGenerator
-
Feature prefix: the second buffer tag.
- B1_WORD - Static variable in class opennlp.tools.depparse.DependencyContextGenerator
-
Feature prefix: the second buffer word.
- B2_TAG - Static variable in class opennlp.tools.depparse.DependencyContextGenerator
-
Feature prefix: the third buffer tag.
- backing - Variable in class opennlp.tools.stopword.DictionaryStopwordFilter
- backpropagate(int[], int, double) - Method in class opennlp.tools.depparse.FeedforwardDependencyTrainer.Optimizer
-
Adds the gradient of one decoded step to the buffers: the weighted difference between the step's softmax and its chosen transition.
- BACKSLASH - Static variable in class opennlp.tools.ml.maxent.BasicContextGenerator
- BACKSLASH - Static variable in class opennlp.tools.util.ResourceInstaller
-
The path separator used on Windows.
- backward(int[], boolean[], double) - Method in class opennlp.tools.depparse.FeedforwardDependencyTrainer.Optimizer
-
Propagates
FeedforwardDependencyTrainer.Optimizer.outputDelta, the loss gradient on the raw output scores, back through the layers of the lastFeedforwardDependencyTrainer.Optimizer.forward(int[], boolean[], double)pass into the gradient buffers. - BACKWARDS_MULTIWORD_ID - Static variable in class opennlp.tools.formats.conllu.ConlluStream
- BagOfWordsFeatureGenerator - Class in opennlp.tools.doccat
-
Generates a feature for each word in a document.
- BagOfWordsFeatureGenerator() - Constructor for class opennlp.tools.doccat.BagOfWordsFeatureGenerator
-
Instantiates a default
BagOfWordsFeatureGeneratorinstance. - BagOfWordsFeatureGenerator(boolean) - Constructor for class opennlp.tools.doccat.BagOfWordsFeatureGenerator
-
Instantiates a
BagOfWordsFeatureGeneratorinstance. - base - Variable in class opennlp.tools.formats.masc.MascToken
- base - Variable in class opennlp.tools.tokenize.lattice.DoubleArrayLexicon
- base - Variable in class opennlp.tools.tokenize.lattice.DoubleArrayLexicon.Builder
- BASE_256_FIRST_BYTE_BITS - Static variable in class opennlp.tools.util.archive.TarStream
- BASE_256_MARKER - Static variable in class opennlp.tools.util.archive.TarStream
- BASE_256_NEGATIVE - Static variable in class opennlp.tools.util.archive.TarStream
- BASE_URL - Static variable in class opennlp.tools.util.DownloadUtil
- BaseLink - Class in opennlp.tools.entitylinker
-
Represents a minimal tuple of information.
- BaseLink(String, String, String, String) - Constructor for class opennlp.tools.entitylinker.BaseLink
- BaseModel - Class in opennlp.tools.util.model
-
This is a common base model which can be used by the components' specific model classes.
- BaseModel(String, boolean) - Constructor for class opennlp.tools.util.model.BaseModel
- BaseModel(String, File) - Constructor for class opennlp.tools.util.model.BaseModel
-
Initializes a
BaseModelinstance. - BaseModel(String, InputStream) - Constructor for class opennlp.tools.util.model.BaseModel
-
Initializes a
BaseModelinstance. - BaseModel(String, String, Map<String, String>) - Constructor for class opennlp.tools.util.model.BaseModel
-
Initializes a
BaseModelinstance. - BaseModel(String, String, Map<String, String>, BaseToolFactory) - Constructor for class opennlp.tools.util.model.BaseModel
-
Initializes a
BaseModelinstance. - BaseModel(String, URL) - Constructor for class opennlp.tools.util.model.BaseModel
-
Initializes a
BaseModelinstance. - BaseModel(String, Path) - Constructor for class opennlp.tools.util.model.BaseModel
-
Initializes a
BaseModelinstance. - BaseModel.FilteredObjectInputStream - Class in opennlp.tools.util.model
-
Isolates all references to
ObjectInputFilter, which is not available on every platform (e.g. - BaseToolFactory - Class in opennlp.tools.util
-
Base class for all tool
factories. - BaseToolFactory() - Constructor for class opennlp.tools.util.BaseToolFactory
-
All subclasses should have an empty constructor
- BasicContextGenerator - Class in opennlp.tools.ml.maxent
-
A
ContextGeneratorimplementation for maxent decisions, assuming that the input given to theBasicContextGenerator.getContext(String)method is a String containing contextual predicates separated by whitespace, for instance: - BasicContextGenerator() - Constructor for class opennlp.tools.ml.maxent.BasicContextGenerator
-
Initializes a
BasicContextGeneratorthat splits on runs of whitespace under the UnicodeWhite_Spaceproperty, seeStringUtil.isUnicodeWhitespace(int). - BasicContextGenerator(String) - Constructor for class opennlp.tools.ml.maxent.BasicContextGenerator
-
Initializes a
BasicContextGeneratorthat splits onseponly. - BasicFormatParams - Interface in opennlp.tools.cmdline.params
-
Common format parameters.
- BasicTrainingParams - Interface in opennlp.tools.cmdline.params
-
Common training parameters.
- BATCH_SIZE_PARAM - Static variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer
-
The training parameter key of the minibatch size; default 256.
- batchSize - Variable in record class opennlp.tools.depparse.FeedforwardDependencyTrainer.Settings
-
The field for the
batchSizerecord component. - batchSize() - Method in record class opennlp.tools.depparse.FeedforwardDependencyTrainer.Settings
-
Returns the value of the
batchSizerecord component. - bcg - Variable in class opennlp.tools.parser.chunking.ParserEventStream
- BEAM_SIZE_PARAMETER - Static variable in class opennlp.tools.ml.BeamSearch
- beamParse(FeedforwardContext, int) - Method in class opennlp.tools.depparse.FeedforwardDependencyParser
-
Decodes with a beam and returns its highest scoring complete sequence.
- BeamSearch - Class in opennlp.tools.ml
-
Performs k-best search over a sequence.
- BeamSearch(int, MaxentModel) - Constructor for class opennlp.tools.ml.BeamSearch
-
Initializes a
BeamSearchinstance. - BeamSearch(int, MaxentModel, int) - Constructor for class opennlp.tools.ml.BeamSearch
-
Initializes a
BeamSearchinstance with an optional per-thread contexts cache. - BeamSearch.CacheState - Class in opennlp.tools.ml
- BeamSearch.SearchNode - Class in opennlp.tools.ml
-
Immutable node in a backward-linked chain of outcome candidates, used only inside
BeamSearch.bestSequences(int, Object[], Object[], double, BeamSearchContextGenerator, SequenceValidator). - BeamSearchContextGenerator<T> - Interface in opennlp.tools.util
-
Interface for context generators used with a sequence beam search.
- beamSize - Variable in class opennlp.tools.depparse.FeedforwardDependencyParser
- beamSize - Variable in record class opennlp.tools.depparse.FeedforwardDependencyTrainer.Settings
-
The field for the
beamSizerecord component. - beamSize - Variable in class opennlp.tools.lemmatizer.LemmatizerME
- beamSize() - Method in class opennlp.tools.depparse.FeedforwardDependencyParser
-
Returns the number of transition sequences the parser retains.
- beamSize() - Method in record class opennlp.tools.depparse.FeedforwardDependencyTrainer.Settings
-
Returns the value of the
beamSizerecord component. - before(CharSequence, int) - Static method in class opennlp.tools.util.normalizer.CodePoints
-
Reads the code point ending at
index(exclusive end offset). - begin - Variable in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.CompoundPattern
-
The field for the
beginrecord component. - begin() - Method in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.CompoundPattern
-
Returns the value of the
beginrecord component. - BEGIN - Enum constant in enum class opennlp.tools.stemmer.hunspell.HunspellDictionary.CompoundPosition
-
The first part.
- BEGIN_OFFSET - Static variable in class opennlp.tools.formats.brat.BratAnnotationStream.SpanAnnotationParser
- beginFlag - Variable in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.CompoundPattern
-
The field for the
beginFlagrecord component. - beginFlag() - Method in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.CompoundPattern
-
Returns the value of the
beginFlagrecord component. - beginSample - Variable in class opennlp.tools.namefind.TokenNameFinderCrossValidator.NameToDocumentSampleStream
- beginSample - Variable in class opennlp.tools.sentiment.SentimentCrossValidator.SentimentToDocumentSampleStream
- BERT_CLS_TOKEN - Static variable in class opennlp.tools.tokenize.WordpieceTokenizer
-
BERT classification token:
[CLS]. - BERT_SEP_TOKEN - Static variable in class opennlp.tools.tokenize.WordpieceTokenizer
-
BERT separator token:
[SEP]. - BERT_UNK_TOKEN - Static variable in class opennlp.tools.tokenize.WordpieceTokenizer
-
BERT unknown token:
[UNK]. - BertNormalization - Class in opennlp.tools.tokenize
-
Character classifications and text transforms of the reference BERT
BasicTokenizer, shared byWordpieceEncoderandWordpieceTokenizer. - BertNormalization() - Constructor for class opennlp.tools.tokenize.BertNormalization
- bestApplicable(ArcStandardState, String[], String[]) - Method in class opennlp.tools.depparse.DependencyParserME
-
Scores all outcomes for the current configuration and picks the best transition that is applicable; inapplicable outcomes are passed over regardless of score.
- bestSequence - Variable in class opennlp.tools.chunker.ChunkerME
- bestSequence - Variable in class opennlp.tools.lemmatizer.LemmatizerME
- bestSequence(T[], Object[], BeamSearchContextGenerator<T>, SequenceValidator<T>) - Method in class opennlp.tools.ml.BeamSearch
-
Finds the
Sequencewith the highest probability. - bestSequence(T[], Object[], BeamSearchContextGenerator<T>, SequenceValidator<T>) - Method in interface opennlp.tools.ml.model.SequenceClassificationModel
-
Finds the
Sequencewith the highest probability. - bestSequences(int, T[], Object[], double, BeamSearchContextGenerator<T>, SequenceValidator<T>) - Method in class opennlp.tools.ml.BeamSearch
-
Finds the n most probable
sequenceswith the highest probability. - bestSequences(int, T[], Object[], double, BeamSearchContextGenerator<T>, SequenceValidator<T>) - Method in interface opennlp.tools.ml.model.SequenceClassificationModel
-
Finds the n most probable
sequenceswith the highest probability. - bestSequences(int, T[], Object[], BeamSearchContextGenerator<T>, SequenceValidator<T>) - Method in class opennlp.tools.ml.BeamSearch
-
Finds the n most probable
sequenceswith the highest probability. - bestSequences(int, T[], Object[], BeamSearchContextGenerator<T>, SequenceValidator<T>) - Method in interface opennlp.tools.ml.model.SequenceClassificationModel
-
Finds the n most probable
sequenceswith the highest probability. - between(int, int, int) - Static method in class opennlp.tools.util.Version
-
Checks whether a
versionis in between an interval and its boundaries. - BIBLIOGRAPHIC_TO_TERMINOLOGIC - Static variable in class opennlp.tools.util.LanguageCodeValidator
-
ISO 639-2 bibliographic codes that
Locale.getISO3Language()never returns, mapped to their ISO 639-2/T (terminologic) equivalent. - bigram - Variable in class opennlp.tools.parser.chunking.BuildContextGenerator
- BigramNameFeatureGenerator - Class in opennlp.tools.util.featuregen
-
Adds bigram features based on tokens and token classes.
- BigramNameFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.BigramNameFeatureGenerator
- BigramNameFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
A
GeneratorFactorythat producesBigramNameFeatureGeneratorinstances whenBigramNameFeatureGeneratorFactory.create()is called. - BigramNameFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.BigramNameFeatureGeneratorFactory
- BilouCodec - Class in opennlp.tools.namefind
-
The default
SequenceCodecimplementation according to theBILOUscheme. - BilouCodec() - Constructor for class opennlp.tools.namefind.BilouCodec
- BilouNameFinderSequenceValidator - Class in opennlp.tools.namefind
-
A
SequenceValidatorimplementation for theBilouCodec. - BilouNameFinderSequenceValidator() - Constructor for class opennlp.tools.namefind.BilouNameFinderSequenceValidator
- BinaryFileDataReader - Class in opennlp.tools.ml.model
-
A
DataReaderthat reads files from a binary format. - BinaryFileDataReader(DataInputStream) - Constructor for class opennlp.tools.ml.model.BinaryFileDataReader
-
Instantiates
BinaryFileDataReadervia anDataInputStream. - BinaryFileDataReader(File) - Constructor for class opennlp.tools.ml.model.BinaryFileDataReader
- BinaryFileDataReader(InputStream) - Constructor for class opennlp.tools.ml.model.BinaryFileDataReader
- BinaryGISModelReader - Class in opennlp.tools.ml.maxent.io
-
A
GISModelReaderthat reads models from a binary format. - BinaryGISModelReader(DataInputStream) - Constructor for class opennlp.tools.ml.maxent.io.BinaryGISModelReader
-
Instantiates
BinaryGISModelReadervia aDataInputStreamcontaining the model contents. - BinaryGISModelWriter - Class in opennlp.tools.ml.maxent.io
-
A
GISModelWriterthat writes models in a binary format. - BinaryGISModelWriter(AbstractModel, DataOutputStream) - Constructor for class opennlp.tools.ml.maxent.io.BinaryGISModelWriter
- BinaryGISModelWriter(AbstractModel, File) - Constructor for class opennlp.tools.ml.maxent.io.BinaryGISModelWriter
- BinaryNaiveBayesModelReader - Class in opennlp.tools.ml.naivebayes
-
A
NaiveBayesModelReaderthat reads models from a binary format. - BinaryNaiveBayesModelReader(DataInputStream) - Constructor for class opennlp.tools.ml.naivebayes.BinaryNaiveBayesModelReader
-
Instantiates
BinaryNaiveBayesModelReadervia aDataInputStreamcontaining the model contents. - BinaryNaiveBayesModelReader(File) - Constructor for class opennlp.tools.ml.naivebayes.BinaryNaiveBayesModelReader
-
Instantiates
BinaryNaiveBayesModelReadervia aFileand creates a reader for it. - BinaryNaiveBayesModelWriter - Class in opennlp.tools.ml.naivebayes
-
A
NaiveBayesModelWriterthat writes models in a binary format. - BinaryNaiveBayesModelWriter(AbstractModel, DataOutputStream) - Constructor for class opennlp.tools.ml.naivebayes.BinaryNaiveBayesModelWriter
- BinaryNaiveBayesModelWriter(AbstractModel, File) - Constructor for class opennlp.tools.ml.naivebayes.BinaryNaiveBayesModelWriter
- BinaryPerceptronModelReader - Class in opennlp.tools.ml.perceptron
-
A
PerceptronModelReaderthat reads models from a binary format. - BinaryPerceptronModelReader(DataInputStream) - Constructor for class opennlp.tools.ml.perceptron.BinaryPerceptronModelReader
-
Instantiates
BinaryPerceptronModelReadervia aDataInputStreamcontaining the model contents. - BinaryPerceptronModelReader(File) - Constructor for class opennlp.tools.ml.perceptron.BinaryPerceptronModelReader
-
Instantiates
BinaryPerceptronModelReadervia aFileand creates a reader for it. - BinaryPerceptronModelWriter - Class in opennlp.tools.ml.perceptron
-
A
PerceptronModelWriterthat writes models in a binary format. - BinaryPerceptronModelWriter(AbstractModel, DataOutputStream) - Constructor for class opennlp.tools.ml.perceptron.BinaryPerceptronModelWriter
- BinaryPerceptronModelWriter(AbstractModel, File) - Constructor for class opennlp.tools.ml.perceptron.BinaryPerceptronModelWriter
- BinaryQNModelReader - Class in opennlp.tools.ml.maxent.io
-
A
QNModelReaderthat reads models from a binary format. - BinaryQNModelReader(DataInputStream) - Constructor for class opennlp.tools.ml.maxent.io.BinaryQNModelReader
-
Instantiates
BinaryQNModelReadervia aDataInputStreamcontaining the model contents. - BinaryQNModelWriter - Class in opennlp.tools.ml.maxent.io
-
A
QNModelWriterthat writes models in a binary format. - BinaryQNModelWriter(AbstractModel, DataOutputStream) - Constructor for class opennlp.tools.ml.maxent.io.BinaryQNModelWriter
- BinaryQNModelWriter(AbstractModel, File) - Constructor for class opennlp.tools.ml.maxent.io.BinaryQNModelWriter
- BioCodec - Class in opennlp.tools.namefind
-
The default
SequenceCodecimplementation according to theBIOscheme: B: 'beginning' of a NE I: 'inside', the word is inside a NE O: 'outside', the word is a regular word outside a NE See also the paper by Roth D. - BioCodec() - Constructor for class opennlp.tools.namefind.BioCodec
- BioNLP2004NameSampleStream - Class in opennlp.tools.formats
-
A
sample streamfor the training files of the BioNLP/NLPBA 2004 shared task. - BioNLP2004NameSampleStream(InputStreamFactory, int) - Constructor for class opennlp.tools.formats.BioNLP2004NameSampleStream
-
Initializes a
BioNLP2004NameSampleStream. - BioNLP2004NameSampleStreamFactory - Class in opennlp.tools.formats
- BioNLP2004NameSampleStreamFactory(Class<BioNLP2004NameSampleStreamFactory.Parameters>) - Constructor for class opennlp.tools.formats.BioNLP2004NameSampleStreamFactory
- BioNLP2004NameSampleStreamFactory.Parameters - Interface in opennlp.tools.formats
- BITS_PER_HEX_DIGIT - Static variable in class opennlp.tools.tokenize.TokenizerCharacterPolicy
- BIZARRE_TAG_SEPARATOR - Static variable in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
- BLOCK - Static variable in class opennlp.tools.util.archive.TarStream
- bmp - Variable in class opennlp.tools.tokenize.lattice.CategoryTable
- bmp - Variable in class opennlp.tools.tokenize.lattice.CategoryTable.Builder
- bmp - Variable in class opennlp.tools.tokenize.uax29.WordBreakProperty.Data
- BODY_DELIMITERS - Static variable in class opennlp.tools.util.normalizer.UrlCharSequenceNormalizer
-
Delimiters that end a URL body besides whitespace and control characters.
- bodyEnd(CharSequence, int) - Method in class opennlp.tools.util.normalizer.UrlCharSequenceNormalizer
-
Finds the end of a URL body that starts at an index.
- BOM - Static variable in class opennlp.tools.formats.conllu.ConlluDependencySampleStream
-
The byte order mark some editors prepend to UTF-8 content.
- BooleanArgumentFactory() - Constructor for class opennlp.tools.cmdline.ArgumentParser.BooleanArgumentFactory
- boundaries - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary.BoundaryIndex
-
The boundary code points, sorted ascending.
- boundaries(CharSequence) - Static method in class opennlp.tools.tokenize.uax29.WordSegmenter
-
Returns the word boundary character offsets in
text, in ascending order, including the boundaries at0andtext.length(). - BOUNDARY_CONTEXT - Static variable in class opennlp.tools.tokenize.lattice.LatticeTokenizer
-
The context id of the beginning and end of text.
- boundaryAfter(CharSequence, int) - Static method in class opennlp.tools.util.normalizer.EmojiEmoticons
-
Returns whether position
endis the text boundary or followed by whitespace. - boundaryBefore(CharSequence, int) - Static method in class opennlp.tools.util.normalizer.EmojiEmoticons
-
Returns whether position
iis preceded by the text boundary or whitespace. - BoundaryIndex(Map<Integer, List<HunspellDictionary.Affix>>) - Constructor for class opennlp.tools.stemmer.hunspell.HunspellDictionary.BoundaryIndex
-
Initializes the index from mutable buckets, freezing each one.
- bounds - Variable in class opennlp.tools.tokenize.lattice.CategoryTable.Builder
- BOX_TAG - Static variable in class opennlp.tools.formats.ad.ADSentenceStream
- BPEMergesSerializer() - Constructor for class opennlp.tools.tokenize.BPETokenizerFactory.BPEMergesSerializer
- BPEModel - Class in opennlp.tools.tokenize
-
The
BPEModelstores learned BPE merge operations and can be serialized and deserialized for reuse. - BPEModel(File) - Constructor for class opennlp.tools.tokenize.BPEModel
- BPEModel(InputStream) - Constructor for class opennlp.tools.tokenize.BPEModel
-
Initializes a
BPEModelfrom anInputStream. - BPEModel(URL) - Constructor for class opennlp.tools.tokenize.BPEModel
- BPEModel(Path) - Constructor for class opennlp.tools.tokenize.BPEModel
- BPEModel(List<BPETokenizer.SymbolPair>, Map<String, String>, BPETokenizerFactory) - Constructor for class opennlp.tools.tokenize.BPEModel
-
Creates a
BPEModelfrom trained merge rules. - BPETokenizer - Class in opennlp.tools.tokenize
-
A
Tokenizerimplementation that performs subword tokenization using Byte Pair Encoding (BPE). - BPETokenizer(BPEModel) - Constructor for class opennlp.tools.tokenize.BPETokenizer
-
Initializes a
BPETokenizerfrom a trainedBPEModel. - BPETokenizer.SymbolPair - Record Class in opennlp.tools.tokenize
-
Represents a pair of adjacent symbols in BPE.
- BPETokenizerFactory - Class in opennlp.tools.tokenize
-
A
BaseToolFactoryfor BPE tokenization that manages the BPE merge rules artifact and its serialization within aBPEModel. - BPETokenizerFactory() - Constructor for class opennlp.tools.tokenize.BPETokenizerFactory
-
Creates a
BPETokenizerFactory. - BPETokenizerFactory(String) - Constructor for class opennlp.tools.tokenize.BPETokenizerFactory
-
Creates a
BPETokenizerFactorywith the given language code. - BPETokenizerFactory.BPEMergesSerializer - Class in opennlp.tools.tokenize
-
An
ArtifactSerializerfor BPE merge rules. - BPETokenizerTrainer - Class in opennlp.tools.tokenize
-
Learns BPE merge operations from a training corpus and produces a
BPEModel. - BPETokenizerTrainer() - Constructor for class opennlp.tools.tokenize.BPETokenizerTrainer
-
Creates a new
BPETokenizerTrainer. - bprobs - Variable in class opennlp.tools.parser.chunking.Parser
- bprobs - Variable in class opennlp.tools.parser.treeinsert.Parser
- bra - Variable in class opennlp.tools.stemmer.snowball.SnowballProgram
- BRACKET_CLOSE - Static variable in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
- BRACKET_CLOSE - Static variable in class opennlp.tools.formats.brat.AnnotationConfiguration
- BRACKET_LCB - Static variable in class opennlp.tools.parser.Parse
- BRACKET_LRB - Static variable in class opennlp.tools.parser.Parse
- BRACKET_LSB - Static variable in class opennlp.tools.parser.Parse
- BRACKET_OPEN - Static variable in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
- BRACKET_OPEN - Static variable in class opennlp.tools.formats.brat.AnnotationConfiguration
- BRACKET_RCB - Static variable in class opennlp.tools.parser.Parse
- BRACKET_RRB - Static variable in class opennlp.tools.parser.Parse
- BRACKET_RSB - Static variable in class opennlp.tools.parser.Parse
- BratAnnotation - Class in opennlp.tools.formats.brat
- BratAnnotation(String, String) - Constructor for class opennlp.tools.formats.brat.BratAnnotation
- BratAnnotationParser() - Constructor for class opennlp.tools.formats.brat.BratAnnotationStream.BratAnnotationParser
- BratAnnotationStream - Class in opennlp.tools.formats.brat
-
Reads the annotations from the brat
.annannotation file. - BratAnnotationStream(AnnotationConfiguration, String, InputStream) - Constructor for class opennlp.tools.formats.brat.BratAnnotationStream
- BratAnnotationStream.AnnotatorNoteParser - Class in opennlp.tools.formats.brat
- BratAnnotationStream.AttributeAnnotationParser - Class in opennlp.tools.formats.brat
- BratAnnotationStream.BratAnnotationParser - Class in opennlp.tools.formats.brat
- BratAnnotationStream.EventAnnotationParser - Class in opennlp.tools.formats.brat
- BratAnnotationStream.RelationAnnotationParser - Class in opennlp.tools.formats.brat
- BratAnnotationStream.SpanAnnotationParser - Class in opennlp.tools.formats.brat
- BratDocument - Class in opennlp.tools.formats.brat
-
Brat (brat rapid annotation tool) is based on the stav visualiser which was originally made in order to visualise BioNLP'11 Shared Task data.
- BratDocument(AnnotationConfiguration, String, String, Collection<BratAnnotation>) - Constructor for class opennlp.tools.formats.brat.BratDocument
- BratDocumentParser - Class in opennlp.tools.formats.brat
- BratDocumentParser(SentenceDetector, Tokenizer) - Constructor for class opennlp.tools.formats.brat.BratDocumentParser
- BratDocumentParser(SentenceDetector, Tokenizer, Set<String>) - Constructor for class opennlp.tools.formats.brat.BratDocumentParser
- BratDocumentStream - Class in opennlp.tools.formats.brat
- BratDocumentStream(AnnotationConfiguration, File, boolean, FileFilter) - Constructor for class opennlp.tools.formats.brat.BratDocumentStream
-
Creates a
BratDocumentStreamwhich reads the documents from the given input directory. - BratNameSampleStream - Class in opennlp.tools.formats.brat
-
Generates Name Sample objects for a Brat Document object.
- BratNameSampleStream(SentenceDetector, Tokenizer, ObjectStream<BratDocument>) - Constructor for class opennlp.tools.formats.brat.BratNameSampleStream
-
Initializes a new
BratNameSampleStreamwith the specified parameters based on a straem ofdocuments. - BratNameSampleStream(SentenceDetector, Tokenizer, ObjectStream<BratDocument>, Set<String>) - Constructor for class opennlp.tools.formats.brat.BratNameSampleStream
-
Creates a new
BratNameSampleStream. - BratNameSampleStream(SentenceModel, TokenizerModel, ObjectStream<BratDocument>) - Constructor for class opennlp.tools.formats.brat.BratNameSampleStream
-
Initializes a new
BratNameSampleStreamwith the specified (model) parameters. - BratNameSampleStream(SentenceModel, TokenizerModel, ObjectStream<BratDocument>, Set<String>) - Constructor for class opennlp.tools.formats.brat.BratNameSampleStream
-
Creates a new
BratNameSampleStream. - BratNameSampleStreamFactory - Class in opennlp.tools.formats.brat
-
Note: Do not use this class, internal use only!
- BratNameSampleStreamFactory() - Constructor for class opennlp.tools.formats.brat.BratNameSampleStreamFactory
- BratNameSampleStreamFactory.Parameters - Interface in opennlp.tools.formats.brat
- BREAK - Static variable in class opennlp.tools.tokenize.uax29.WordSegmenter
- BREAK_END_ANCHOR - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
The
BREAKanchor that binds a separator to the end of the word. - BREAK_START_ANCHOR - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
The
BREAKanchor that binds a separator to the start of the word. - BREAK_TAG - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- breakAtSpecial(int, int, int, int, int, int, CharSequence, int, int, WordBreakProperty.Data, BitSet) - Static method in class opennlp.tools.tokenize.uax29.WordSegmenter
- breaking - Variable in record class opennlp.tools.util.normalizer.UnicodeWhitespace.WhitespaceCharacter
-
The field for the
breakingrecord component. - breaking() - Method in record class opennlp.tools.util.normalizer.UnicodeWhitespace.WhitespaceCharacter
-
Returns the value of the
breakingrecord component. - Breaking() - Constructor for enum class opennlp.tools.util.normalizer.UnicodeWhitespace.Breaking
- BrownBigramFeatureGenerator - Class in opennlp.tools.util.featuregen
-
Generates Brown cluster features for token bigrams.
- BrownBigramFeatureGenerator(BrownCluster) - Constructor for class opennlp.tools.util.featuregen.BrownBigramFeatureGenerator
-
Initializes a
BrownBigramFeatureGeneratorgenerator via a specifiedBrownCluster. - brownCluster - Variable in class opennlp.tools.util.featuregen.BrownBigramFeatureGenerator
- BrownCluster - Class in opennlp.tools.util.featuregen
-
Class to load a Brown cluster document in the format:
word\tword_class\tprob. - BrownCluster(InputStream) - Constructor for class opennlp.tools.util.featuregen.BrownCluster
-
Instatiates a
BrownClusterand its related token to cluster map via anInputStream. - BROWNCLUSTER - Static variable in class opennlp.tools.util.featuregen.BrownBigramFeatureGenerator
- BrownCluster.BrownClusterSerializer - Class in opennlp.tools.util.featuregen
- BrownClusterBigramFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
A
GeneratorFactorythat producesBrownBigramFeatureGeneratorinstances whenBrownClusterBigramFeatureGeneratorFactory.create()is called. - BrownClusterBigramFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.BrownClusterBigramFeatureGeneratorFactory
- BrownClusterSerializer() - Constructor for class opennlp.tools.util.featuregen.BrownCluster.BrownClusterSerializer
- BrownClusterTokenClassFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
A
GeneratorFactorythat producesBrownTokenClassFeatureGeneratorinstances whenBrownClusterTokenClassFeatureGeneratorFactory.create()is called. - BrownClusterTokenClassFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.BrownClusterTokenClassFeatureGeneratorFactory
- BrownClusterTokenFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
A
GeneratorFactorythat producesBrownTokenFeatureGeneratorinstances whenBrownClusterTokenFeatureGeneratorFactory.create()is called. - BrownClusterTokenFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.BrownClusterTokenFeatureGeneratorFactory
- brownLexicon - Variable in class opennlp.tools.util.featuregen.BrownTokenClassFeatureGenerator
- brownLexicon - Variable in class opennlp.tools.util.featuregen.BrownTokenFeatureGenerator
- BrownTokenClasses - Class in opennlp.tools.util.featuregen
-
Obtain the paths listed in the pathLengths array from the Brown class.
- BrownTokenClasses() - Constructor for class opennlp.tools.util.featuregen.BrownTokenClasses
- BrownTokenClassFeatureGenerator - Class in opennlp.tools.util.featuregen
-
Generates
BrownClusterfeatures for current token and token class. - BrownTokenClassFeatureGenerator(BrownCluster) - Constructor for class opennlp.tools.util.featuregen.BrownTokenClassFeatureGenerator
-
Instantiates a
BrownTokenClassFeatureGeneratorvia a specifiedBrownCluster. - BrownTokenFeatureGenerator - Class in opennlp.tools.util.featuregen
-
Generates
BrownClusterfeatures for current token. - BrownTokenFeatureGenerator(BrownCluster) - Constructor for class opennlp.tools.util.featuregen.BrownTokenFeatureGenerator
-
Instantiates a
BrownTokenFeatureGeneratorvia a specifiedBrownCluster. - bucket(int) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary.BoundaryIndex
-
The rules bucketed under a boundary code point.
- bucketByBoundary(List<HunspellDictionary.Affix>, boolean, List<HunspellDictionary.Affix>) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Buckets affix rules by the boundary code point of their affix material, the last code point for a suffix rule and the first for a prefix rule.
- buckets - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary.BoundaryIndex
-
The rule bucket for each boundary, aligned with
HunspellDictionary.BoundaryIndex.boundaries. - budget - Variable in class opennlp.tools.util.ResourceInstaller.BudgetInputStream
- Budget(long, String) - Constructor for class opennlp.tools.util.ResourceInstaller.Budget
-
Creates a budget that has spent zero units.
- BudgetInputStream(InputStream, ResourceInstaller.Budget) - Constructor for class opennlp.tools.util.ResourceInstaller.BudgetInputStream
-
Initializes a budgeted stream.
- buffer - Variable in class opennlp.tools.formats.masc.MascNamedEntitySampleStream
- buffer - Variable in class opennlp.tools.formats.masc.MascPOSSampleStream
- buffer - Variable in class opennlp.tools.formats.masc.MascSentenceSampleStream
- buffer - Variable in class opennlp.tools.formats.masc.MascTokenSampleStream
- buffer(int) - Method in class opennlp.tools.depparse.ArcStandardState
-
Retrieves a buffer element counted from the front.
- BUFFER_SIZE - Static variable in class opennlp.tools.util.ResourceInstaller
-
The buffer size, in bytes, for streaming copies and digests in this package.
- bufferedSamples - Variable in class opennlp.tools.formats.leipzig.SampleShuffleStream
- bufferFront - Variable in class opennlp.tools.depparse.ArcStandardState
- bufferSize() - Method in class opennlp.tools.depparse.ArcStandardState
- build() - Method in class opennlp.tools.document.DocumentAnalyzer.Builder
-
Validates the pipeline and builds the analyzer.
- build() - Method in class opennlp.tools.ml.model.SimpleEventStreamBuilder
-
Returns a
streamover the events added so far. - build() - Method in class opennlp.tools.stopword.DictionaryStopwordFilter.Builder
- build() - Method in class opennlp.tools.tokenize.lattice.UnigramSegmenter.WordTrieBuilder
-
Copies the mutable tree without consuming the thread stack.
- build() - Static method in class opennlp.tools.util.normalizer.NormalizationProfiles
- build() - Method in class opennlp.tools.util.normalizer.TermAnalyzer.Builder
-
Returns a new
TermAnalyzerwith this configuration. - build() - Method in class opennlp.tools.util.normalizer.TextNormalizer.Builder
-
Returns the composed normalizer for the steps added so far.
- build() - Method in class opennlp.tools.util.ResourceInstaller.Limits.Builder
-
Builds the limits.
- build(int) - Method in class opennlp.tools.util.normalizer.Alignment.Builder
-
Finalizes the alignment.
- build(InputStream) - Static method in class opennlp.tools.tokenize.uax29.WordBreakProperty
-
Builds the lookup table from
Word_Breakdefinition lines. - build(Map<String, List<MecabDictionary.WordEntry>>) - Static method in class opennlp.tools.tokenize.lattice.DoubleArrayLexicon
-
Builds the trie from the surface-keyed lexicon.
- build(Map<String, MecabDictionary.Category>) - Method in class opennlp.tools.tokenize.lattice.CategoryTable.Builder
-
Builds the lookup table from the recorded mappings.
- BUILD - Enum constant in enum class opennlp.tools.parser.ParserEventTypeEnum
- BUILD_MODEL_ENTRY_NAME - Static variable in class opennlp.tools.parser.ParserModel
- buildAligned() - Method in class opennlp.tools.util.normalizer.TextNormalizer.Builder
-
Returns an offset-aware composition of the steps added so far.
- buildAsciiKind() - Static method in enum class opennlp.tools.tokenize.uax29.WordType
- buildContextGenerator - Variable in class opennlp.tools.parser.chunking.Parser
- buildContextGenerator - Variable in class opennlp.tools.parser.treeinsert.Parser
- buildContextGenerator - Variable in class opennlp.tools.parser.treeinsert.ParserEventStream
- BuildContextGenerator - Class in opennlp.tools.parser.chunking
-
Generates predictive contexts for deciding how constituents should be combined.
- BuildContextGenerator - Class in opennlp.tools.parser.treeinsert
-
Creates the features or contexts for the building phase of parsing.
- BuildContextGenerator() - Constructor for class opennlp.tools.parser.chunking.BuildContextGenerator
-
Instantiates a
BuildContextGeneratorfor making decisions about combining constituents. - BuildContextGenerator() - Constructor for class opennlp.tools.parser.treeinsert.BuildContextGenerator
-
Instantiates a
BuildContextGeneratorfor making decisions. - BuildContextGenerator(Dictionary) - Constructor for class opennlp.tools.parser.chunking.BuildContextGenerator
-
Instantiates a
BuildContextGeneratorfor making decisions about combining constituents using aDictionary. - buildDictionary(ObjectStream<Parse>, HeadRules, int) - Static method in class opennlp.tools.parser.AbstractBottomUpParser
-
Creates a n-gram
Dictionaryfrom the specified data stream usingHeadRulesand specified cut-off. - buildDictionary(ObjectStream<Parse>, HeadRules, TrainingParameters) - Static method in class opennlp.tools.parser.AbstractBottomUpParser
-
Creates a n-gram
Dictionaryfrom the specified data stream using the specified head rule and specified cut-off. - builder() - Static method in class opennlp.tools.document.DocumentAnalyzer
- builder() - Static method in class opennlp.tools.stopword.DictionaryStopwordFilter
- builder() - Static method in class opennlp.tools.util.normalizer.TermAnalyzer
-
Returns a new
TermAnalyzer.Builder. - builder() - Static method in class opennlp.tools.util.normalizer.TextNormalizer
-
Returns a new, empty
TextNormalizer.Builder. - builder() - Static method in record class opennlp.tools.util.ResourceInstaller.Limits
-
Starts from
ResourceInstaller.Limits.DEFAULTso a caller can state only the limits that differ from it, instead of repeating all seven in the canonical constructor. - Builder() - Constructor for class opennlp.tools.document.DocumentAnalyzer.Builder
- Builder() - Constructor for class opennlp.tools.stopword.DictionaryStopwordFilter.Builder
- Builder() - Constructor for class opennlp.tools.tokenize.lattice.CategoryTable.Builder
- Builder() - Constructor for class opennlp.tools.util.normalizer.Alignment.Builder
-
Creates a builder with a small default capacity of
Alignment.Builder.DEFAULT_CAPACITYentries. - Builder() - Constructor for class opennlp.tools.util.normalizer.TermAnalyzer.Builder
-
Use
TermAnalyzer.builder()to obtain an instance. - Builder() - Constructor for class opennlp.tools.util.normalizer.TextNormalizer.Builder
-
Use
TextNormalizer.builder()to obtain an instance. - Builder() - Constructor for class opennlp.tools.util.ResourceInstaller.Limits.Builder
-
Initializes a builder with
ResourceInstaller.Limits.DEFAULT. - Builder(int) - Constructor for class opennlp.tools.util.normalizer.Alignment.Builder
-
Creates a builder pre-sized for a normalized text of about
expectedLengthcharacters, so recording the edits of a typical pass (one entry per normalized character) does not regrow the backing arrays. - Builder(String[], int[]) - Constructor for class opennlp.tools.tokenize.lattice.DoubleArrayLexicon.Builder
-
Initializes storage for the sorted surfaces and their dense character codes.
- buildFastTable() - Static method in class opennlp.tools.tokenize.uax29.WordSegmenter
- buildGenerator(Element, FeatureGeneratorResourceProvider) - Static method in class opennlp.tools.util.featuregen.GeneratorFactory
-
Creates an
AdaptiveFeatureGeneratorfor the provided element. - buildModel - Variable in class opennlp.tools.parser.chunking.Parser
- buildModel - Variable in class opennlp.tools.parser.treeinsert.Parser
- buildNGramDictionary(ObjectStream<POSSample>, int) - Static method in class opennlp.tools.postag.POSTaggerME
-
Constructs an
nGram dictionaryfrom anObjectStreamof samples. - buildSpecialTable() - Static method in class opennlp.tools.tokenize.uax29.WordSegmenter
- BuildStep(UnigramSegmenter.WordTrieBuilder, boolean) - Constructor for record class opennlp.tools.tokenize.lattice.UnigramSegmenter.WordTrieBuilder.BuildStep
-
Creates an instance of a
BuildSteprecord class. - buildTransitionTable() - Static method in class opennlp.tools.tokenize.uax29.WordSegmenter
- built - Variable in class opennlp.tools.tokenize.lattice.UnigramSegmenter.WordTrieBuilder
- BUILT - Static variable in class opennlp.tools.parser.treeinsert.Parser
-
Label used to distinguish build nodes from non-built nodes.
- BUILTIN_TRAINERS - Static variable in class opennlp.tools.ml.TrainerFactory
- BulletCharSequenceNormalizer - Class in opennlp.tools.util.normalizer
-
A
CharSequenceNormalizerthat replaces unambiguous list-bullet characters with a space, so a bullet acts as a token separator rather than sticking to the following word. - BulletCharSequenceNormalizer() - Constructor for class opennlp.tools.util.normalizer.BulletCharSequenceNormalizer
- bullets() - Method in class opennlp.tools.util.normalizer.TextNormalizer.Builder
-
Returns this builder with list-bullet replacement appended.
- BULLETS - Static variable in class opennlp.tools.util.normalizer.BulletCharSequenceNormalizer
- BUNDLED_CACHE - Static variable in class opennlp.tools.stopword.StopwordLists
-
Caches the immutable, thread-safe filters loaded from the bundled resources, keyed by normalized ISO 639-1 code, so that repeated
StopwordLists.forLanguage(String)calls do not re-read and re-parse the same classpath resource. - BundledUnicodeData - Class in opennlp.tools.util.normalizer
-
Loads the line-based data files bundled with OpenNLP, such as the Unicode Character Database extracts and the project-authored emoji tables.
- BundledUnicodeData() - Constructor for class opennlp.tools.util.normalizer.BundledUnicodeData
- BundledUnicodeData.Lazy<T> - Class in opennlp.tools.util.normalizer
-
Holds data that is loaded on the first call to
BundledUnicodeData.Lazy.get(). - BundledUnicodeData.LineConsumer - Interface in opennlp.tools.util.normalizer
-
Receives one line of a data file.
- BundledUnicodeData.Parser<T> - Interface in opennlp.tools.util.normalizer
-
Parses a bundled data stream.
- BY_CODE_POINT - Static variable in class opennlp.tools.util.normalizer.UnicodeDash
- BY_CODE_POINT - Static variable in class opennlp.tools.util.normalizer.UnicodeWhitespace
- BY_LANGUAGE - Static variable in class opennlp.tools.util.normalizer.NormalizationProfiles
- BY_PRIORITY - Static variable in record class opennlp.tools.util.ext.Providers.Registration
-
Orders registrations by descending priority.
- byCodePoint(int) - Static method in class opennlp.tools.util.normalizer.UnicodeDash
-
Looks up the reference entry for a dash code point.
- byCodePoint(int) - Static method in class opennlp.tools.util.normalizer.UnicodeWhitespace
-
Looks up the reference entry for a whitespace code point.
- byName(String) - Method in class opennlp.tools.util.ext.Providers
-
Resolves an available
providerby name, unless the name is disabled. - byPiece(List<String>) - Static method in class opennlp.tools.tokenize.WordpieceEncoder
-
Converts an ordered vocabulary to a piece-to-id mapping.
- byPosition - Variable in class opennlp.tools.depparse.ContributionCache
-
The cached contribution vectors, indexed by feature position and row offset.
- BYTE_ORDER_MARK - Static variable in class opennlp.tools.util.ext.Providers
- BYTE_ORDER_MARK - Static variable in class opennlp.tools.util.StringUtil
- ByteArraySerializer - Class in opennlp.tools.util.model
-
An
ArtifactSerializerimplementation for binary data, kept inbyte[]. - ByteArraySerializer() - Constructor for class opennlp.tools.util.model.ByteArraySerializer
- byteOrderMarkLength(byte[]) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Measures a leading UTF-8 byte order mark, which the byte-level scans skip so that the first line's directive is read without it.
C
- C - Static variable in class opennlp.tools.ml.maxent.quasinewton.LineSearch
- cache - Variable in class opennlp.tools.depparse.FeedforwardDependencyParser
- cache - Variable in class opennlp.tools.ml.BeamSearch.CacheState
- cache - Variable in class opennlp.tools.postag.ConfigurablePOSContextGenerator.CacheState
- cache - Variable in class opennlp.tools.stemmer.CachingStemmer.ThreadState
- cache - Variable in class opennlp.tools.util.featuregen.CachedFeatureGenerator.CacheState
- cache() - Method in class opennlp.tools.depparse.FeedforwardDependencyParser
- Cache<K,
V> - Class in opennlp.tools.util -
Provides fixed size, pre-allocated, least recently used replacement cache.
- Cache(int) - Constructor for class opennlp.tools.util.Cache
- CachedFeatureGenerator - Class in opennlp.tools.util.featuregen
-
Caches features of the aggregated
generators. - CachedFeatureGenerator(AdaptiveFeatureGenerator) - Constructor for class opennlp.tools.util.featuregen.CachedFeatureGenerator
- CachedFeatureGenerator(AdaptiveFeatureGenerator...) - Constructor for class opennlp.tools.util.featuregen.CachedFeatureGenerator
-
Deprecated.
- CachedFeatureGenerator.CacheState - Class in opennlp.tools.util.featuregen
- CachedFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
A
GeneratorFactorythat producesCachedFeatureGeneratorinstances whenCachedFeatureGeneratorFactory.create()is called. - CachedFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.CachedFeatureGeneratorFactory
- cachedTags - Variable in class opennlp.tools.util.featuregen.POSTaggerNameFeatureGenerator.CacheState
- cachedTokens - Variable in class opennlp.tools.util.featuregen.POSTaggerNameFeatureGenerator.CacheState
- cacheEnabled - Variable in class opennlp.tools.util.featuregen.CachedFeatureGenerator
- cacheSize - Variable in class opennlp.tools.ml.BeamSearch
- cacheSize - Variable in class opennlp.tools.postag.ConfigurablePOSContextGenerator
- CacheState() - Constructor for class opennlp.tools.util.featuregen.InSpanGenerator.CacheState
- CacheState() - Constructor for class opennlp.tools.util.featuregen.POSTaggerNameFeatureGenerator.CacheState
- CacheState(int) - Constructor for class opennlp.tools.postag.ConfigurablePOSContextGenerator.CacheState
- CacheState(int, int) - Constructor for class opennlp.tools.ml.BeamSearch.CacheState
- CacheState(Cache<Integer, List<String>>) - Constructor for class opennlp.tools.util.featuregen.CachedFeatureGenerator.CacheState
- CachingStemmer - Class in opennlp.tools.stemmer
-
A
Stemmerthat memoizes word-to-stem mappings in a bounded per-thread LRU cache. - CachingStemmer(StemmerFactory) - Constructor for class opennlp.tools.stemmer.CachingStemmer
-
Creates a caching stemmer with the default capacity.
- CachingStemmer(StemmerFactory, int) - Constructor for class opennlp.tools.stemmer.CachingStemmer
-
Creates a caching stemmer.
- CachingStemmer.ThreadState - Class in opennlp.tools.stemmer
- calculateBigramMLProbability(String, String, Collection<StringList>) - Static method in class opennlp.tools.ngram.NGramUtils
-
calculate the probability of a bigram in a vocabulary using maximum likelihood estimation
- calculateBigramPriorSmoothingProbability(String, String, Collection<StringList>, Double) - Static method in class opennlp.tools.ngram.NGramUtils
-
calculate the probability of a bigram in a vocabulary using prior Laplace smoothing algorithm
- calculateChecksum() - Method in class opennlp.tools.ml.model.ChecksumEventStream
-
Calculates and returns the (current) checksum.
- calculateLaplaceSmoothingProbability(StringList, Iterable<StringList>, Double) - Static method in class opennlp.tools.ngram.NGramUtils
-
calculate the probability of a ngram in a vocabulary using Laplace smoothing algorithm
- calculateMissingNgramProbabilityMass(StringList, double, Iterable<StringList>) - Static method in class opennlp.tools.ngram.NGramUtils
-
calculate the probability of a ngram in a vocabulary using the missing probability mass algorithm
- calculateNgramMLProbability(StringList, Iterable<StringList>) - Static method in class opennlp.tools.ngram.NGramUtils
-
calculate the probability of a ngram in a vocabulary using maximum likelihood estimation
- calculateProbability(String...) - Method in interface opennlp.tools.languagemodel.LanguageModel
-
Calculate the probability of a series of tokens (e.g.
- calculateProbability(String...) - Method in class opennlp.tools.languagemodel.NGramLanguageModel
- calculateProbability(StringList) - Method in class opennlp.tools.languagemodel.NGramLanguageModel
- calculateTrigramLinearInterpolationProbability(String, String, String, Collection<StringList>, Double, Double, Double) - Static method in class opennlp.tools.ngram.NGramUtils
-
calculate the probability of a trigram in a vocabulary using a linear interpolation algorithm
- calculateTrigramMLProbability(String, String, String, Iterable<StringList>) - Static method in class opennlp.tools.ngram.NGramUtils
-
calculate the probability of a trigram in a vocabulary using maximum likelihood estimation
- calculateUnigramMLProbability(String, Collection<StringList>) - Static method in class opennlp.tools.ngram.NGramUtils
-
calculate the probability of a unigram in a vocabulary using maximum likelihood estimation
- call() - Method in class opennlp.tools.ml.maxent.GISTrainer.ModelExpectationComputeTask
- call() - Method in class opennlp.tools.ml.maxent.quasinewton.ParallelNegLogLikelihood.GradientComputeTask
- call() - Method in class opennlp.tools.ml.maxent.quasinewton.ParallelNegLogLikelihood.NegLLComputeTask
- call(P, String, Supplier<R>) - Method in class opennlp.tools.util.ext.Providers
-
Calls a provider method and logs a failure instead of throwing it.
- canApply(Transition) - Method in class opennlp.tools.depparse.ArcStandardState
-
Checks whether a transition may be applied in the current configuration.
- CANCEL_TAG - Static variable in class opennlp.tools.util.normalizer.EmojiFlags
- Candidate(int, boolean) - Constructor for record class opennlp.tools.util.normalizer.UnicodeEmojiSequences.Candidate
-
Creates an instance of a
Candidaterecord class. - candidateAt(CharSequence, int) - Method in class opennlp.tools.util.normalizer.UnicodeEmojiSequences
-
Finds the emoji candidate that starts at a position.
- candidates(int) - Method in record class opennlp.tools.util.normalizer.EmojiEmoticons.Direction
-
Returns the candidate mappings whose source starts with
codePoint, longest source first, ornullif no source starts with it. - candidates(String, int, int, int, CategoryTable.CategoryAssignment, int, List<LatticeTokenizer.Node>) - Method in class opennlp.tools.tokenize.lattice.LatticeTokenizer
-
Gathers lexicon matches and unknown-word candidates starting at one position.
- candidates(ProviderSpec, Set<String>, String) - Method in class opennlp.tools.util.ext.Providers
- candidateStarts - Variable in class opennlp.tools.util.normalizer.UnicodeEmojiSequences
-
Every code point a candidate can start with: the first code point of a sequence or a structural component.
- capacity - Variable in class opennlp.tools.util.Cache
- capacity() - Method in class opennlp.tools.tokenize.MappedText
-
Returns the number of code units the buffers hold before they have to grow.
- CAPITAL_A_UMLAUT - Static variable in class opennlp.tools.util.normalizer.GermanUmlautCharSequenceNormalizer
- CAPITAL_ESZETT - Static variable in class opennlp.tools.util.normalizer.GermanUmlautCharSequenceNormalizer
- CAPITAL_O_UMLAUT - Static variable in class opennlp.tools.util.normalizer.GermanUmlautCharSequenceNormalizer
- CAPITAL_U_UMLAUT - Static variable in class opennlp.tools.util.normalizer.GermanUmlautCharSequenceNormalizer
- CARRIAGE_RETURN - Static variable in class opennlp.tools.util.normalizer.UnicodeWhitespace
-
U+000DCARRIAGE RETURN, the first half of aCRLFline break. - CASE_FOLD - Enum constant in enum class opennlp.tools.util.normalizer.Dimension
-
Case folding; lossy and locale sensitive.
- caseFold() - Method in class opennlp.tools.util.normalizer.TermAnalyzer.Builder
-
Enables
Dimension.CASE_FOLD. - caseFold() - Method in class opennlp.tools.util.normalizer.TextNormalizer.Builder
-
Returns this builder with case folding appended.
- caseFold(Locale) - Method in class opennlp.tools.util.normalizer.TermAnalyzer.Builder
-
Enables
Dimension.CASE_FOLDusing the given locale's case rules (for example Turkish dotted/dotless i), instead of the defaultLocale.ROOT. - CaseFoldCharSequenceNormalizer - Class in opennlp.tools.util.normalizer
-
A
CharSequenceNormalizerthat lower cases text for case-insensitive matching. - CaseFoldCharSequenceNormalizer() - Constructor for class opennlp.tools.util.normalizer.CaseFoldCharSequenceNormalizer
-
Creates a normalizer that lower cases using
Locale.ROOT. - CaseFoldCharSequenceNormalizer(Locale) - Constructor for class opennlp.tools.util.normalizer.CaseFoldCharSequenceNormalizer
-
Creates a normalizer that lower cases using the given locale.
- caseInsensitiveEquals(char, char) - Static method in class opennlp.tools.util.normalizer.AsciiChars
-
Returns whether
aandbare equal, comparing ASCII letters case-insensitively. - caseInsensitiveEquals(int, int) - Static method in class opennlp.tools.util.normalizer.AsciiChars
-
Returns whether
aandbare equal, comparing ASCII letters case-insensitively. - caseSensitive - Variable in class opennlp.tools.postag.POSDictionary
- caseSensitive - Variable in class opennlp.tools.sentdetect.SentenceDetectorME.AbbreviationIndex
-
Whether the dictionary matches case-sensitively.
- caseSensitive - Variable in class opennlp.tools.stopword.DictionaryStopwordFilter.Builder
- caseSensitive - Variable in class opennlp.tools.util.StringList
- caseSensitive(boolean) - Method in class opennlp.tools.stopword.DictionaryStopwordFilter.Builder
- caseType(String) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Classifies a word's capitalization, judging the initial by the first character.
- CaseType() - Constructor for enum class opennlp.tools.stemmer.hunspell.HunspellDictionary.CaseType
- cat - Variable in class opennlp.tools.formats.frenchtreebank.ConstitDocumentHandler
- CATALAN - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- CATALAN - Static variable in class opennlp.tools.tokenize.lang.Factory
- catalanStemmer - Class in opennlp.tools.stemmer.snowball
-
This class implements the stemming algorithm defined by a snowball script.
- catalanStemmer() - Constructor for class opennlp.tools.stemmer.snowball.catalanStemmer
- categories - Variable in record class opennlp.tools.tokenize.lattice.CategoryTable.Builder.Mapping
-
The field for the
categoriesrecord component. - categories - Variable in class opennlp.tools.tokenize.lattice.CategoryTable.CategoryAssignment
- categories() - Method in record class opennlp.tools.tokenize.lattice.CategoryTable.Builder.Mapping
-
Returns the value of the
categoriesrecord component. - categoriesOf(int) - Method in class opennlp.tools.tokenize.lattice.CategoryTable
-
Looks up the categories a
char.defmapping gives a code point. - categoriesOf(int) - Method in class opennlp.tools.tokenize.lattice.MecabDictionary
-
Classifies a character into all categories assigned by
char.def. - categorize(String[]) - Method in interface opennlp.tools.doccat.DocumentCategorizer
-
Categorizes the given
text, provided in separate tokens. - categorize(String[]) - Method in class opennlp.tools.doccat.DocumentCategorizerME
- categorize(String[], Map<String, Object>) - Method in interface opennlp.tools.doccat.DocumentCategorizer
-
Categorizes the given
textprovided as tokens along with the providedextraInformation. - categorize(String[], Map<String, Object>) - Method in class opennlp.tools.doccat.DocumentCategorizerME
-
Categorize the given
textprovided as tokens along with the provided extra information. - categorizer - Variable in class opennlp.tools.doccat.DocumentCategorizerEvaluator
- category - Variable in class opennlp.tools.doccat.DocumentSample
- category - Variable in record class opennlp.tools.util.normalizer.UnicodeDash.DashCharacter
-
The field for the
categoryrecord component. - category - Variable in record class opennlp.tools.util.normalizer.UnicodeWhitespace.WhitespaceCharacter
-
The field for the
categoryrecord component. - category() - Method in record class opennlp.tools.util.normalizer.EmojiAnnotation
-
Returns the document-category hint, or empty when not annotated.
- category() - Method in record class opennlp.tools.util.normalizer.UnicodeDash.DashCharacter
-
Returns the value of the
categoryrecord component. - category() - Method in record class opennlp.tools.util.normalizer.UnicodeWhitespace.WhitespaceCharacter
-
Returns the value of the
categoryrecord component. - Category() - Constructor for enum class opennlp.tools.util.normalizer.UnicodeDash.Category
- Category() - Constructor for enum class opennlp.tools.util.normalizer.UnicodeWhitespace.Category
- Category(int, String, boolean, boolean, int) - Constructor for record class opennlp.tools.tokenize.lattice.MecabDictionary.Category
-
Creates an instance of a
Categoryrecord class. - CATEGORY - Static variable in record class opennlp.tools.util.normalizer.EmojiAnnotation
-
The attribute key of the
document-category hint. - CategoryAssignment(MecabDictionary.Category[]) - Constructor for class opennlp.tools.tokenize.lattice.CategoryTable.CategoryAssignment
-
Creates an assignment with the first entry as the primary category.
- categoryMask - Variable in class opennlp.tools.tokenize.lattice.CategoryTable.CategoryAssignment
- categoryOf(int) - Method in class opennlp.tools.tokenize.lattice.MecabDictionary
-
Classifies a character by code point, so a character outside the Basic Multilingual Plane is classified once, not as separate surrogate code units.
- categoryTable - Variable in class opennlp.tools.tokenize.lattice.MecabDictionary
- CategoryTable - Class in opennlp.tools.tokenize.lattice
-
The
char.defcode point to category mappings over the Unicode code point range. - CategoryTable(CategoryTable.CategoryAssignment[], int[], int[], CategoryTable.CategoryAssignment[]) - Constructor for class opennlp.tools.tokenize.lattice.CategoryTable
-
Creates a table from resolved BMP entries and supplementary ranges.
- CategoryTable.Builder - Class in opennlp.tools.tokenize.lattice
-
Collects
char.defmappings in file order and builds aCategoryTable, giving a later mapping precedence over an earlier one that covers the same code point, which is what direct indexing does for the BMP. - CategoryTable.Builder.Mapping - Record Class in opennlp.tools.tokenize.lattice
-
One mapping line retained for validation after all categories have been read.
- CategoryTable.CategoryAssignment - Class in opennlp.tools.tokenize.lattice
-
The categories assigned to one code point, stored both in mapping order and as a mask over the dictionary's dense category ids.
- catFileMap - Variable in class opennlp.tools.formats.TwentyNewsgroupSampleStream
- catFileTupleIterator - Variable in class opennlp.tools.formats.TwentyNewsgroupSampleStream
- Cc - Enum constant in enum class opennlp.tools.util.normalizer.UnicodeWhitespace.Category
-
Cc- control. - Cf - Enum constant in enum class opennlp.tools.util.normalizer.UnicodeWhitespace.Category
-
Cf- format (the related, non-whitespace code points). - cg - Variable in class opennlp.tools.chunker.ChunkerEventStream
- cg - Variable in class opennlp.tools.postag.POSSampleEventStream
-
The
POSContextGeneratorused to create the trainingevents. - cg - Variable in class opennlp.tools.postag.POSTaggerME
- cg - Variable in class opennlp.tools.sentdetect.SDEventStream
- cg - Variable in class opennlp.tools.tokenize.TokenizerME
- cg - Variable in class opennlp.tools.tokenize.TokSpanEventStream
- cgen - Variable in class opennlp.tools.sentdetect.SentenceDetectorME
-
The feature context generator.
- chain - Variable in class opennlp.tools.util.normalizer.TermAnalyzer.Builder
- chain - Variable in class opennlp.tools.util.normalizer.TermAnalyzer
- CHAR - Enum constant in enum class opennlp.tools.stemmer.hunspell.HunspellDictionary.FlagMode
-
The default: each single character is one flag.
- CHAR_DEF - Static variable in class opennlp.tools.tokenize.lattice.MecabDictionary
- CHARACTER_POLICY - Static variable in class opennlp.tools.tokenize.TokenizerFactory
- CHARACTER_TABULATION - Static variable in class opennlp.tools.util.StringUtil
-
U+0009, the first of the contiguous ASCII whitespace controls U+0009 to U+000D.
- CharacterEnum(String) - Constructor for class opennlp.tools.tokenize.SimpleTokenizer.CharacterEnum
- CharacterNgramFeatureGenerator - Class in opennlp.tools.util.featuregen
-
The
CharacterNgramFeatureGeneratoruses character ngrams to generate features about each token. - CharacterNgramFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.CharacterNgramFeatureGenerator
-
Initializes a
CharacterNgramFeatureGeneratorwith default values for ngrams. - CharacterNgramFeatureGenerator(int, int) - Constructor for class opennlp.tools.util.featuregen.CharacterNgramFeatureGenerator
-
Initializes a
CharacterNgramFeatureGeneratorwith the specified parameters. - CharacterNgramFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
A
GeneratorFactorythat producesCharacterNgramFeatureGeneratorinstances whenCharacterNgramFeatureGeneratorFactory.create()is called. - CharacterNgramFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.CharacterNgramFeatureGeneratorFactory
- characterPolicy - Variable in class opennlp.tools.tokenize.TokenizerFactory
- characters(char[], int, int) - Method in class opennlp.tools.dictionary.serializer.DictionaryEntryPersistor.DictionaryContenthandler
- characters(char[], int, int) - Method in class opennlp.tools.formats.frenchtreebank.ConstitDocumentHandler
- characters(char[], int, int) - Method in class opennlp.tools.formats.letsmt.LetsmtDocument.LetsmtDocumentHandler
- characters(CharSequence) - Method in class opennlp.tools.formats.muc.MucNameContentHandler
- characters(CharSequence) - Method in class opennlp.tools.formats.muc.SgmlParser.ContentHandler
-
Handles a set of characters between SGML start and end tag.
- CharClass - Class in opennlp.tools.util.normalizer
-
A configurable class of Unicode code points and the cursor based operations over it.
- CharClass(CodePointSet, int) - Constructor for class opennlp.tools.util.normalizer.CharClass
- CharClass.RunReplacement - Interface in opennlp.tools.util.normalizer
-
Chooses the code point that replaces one maximal run of member code points.
- charCount - Variable in record class opennlp.tools.util.normalizer.CodePoints.At
-
The field for the
charCountrecord component. - charCount() - Method in record class opennlp.tools.util.normalizer.CodePoints.At
-
Returns the value of the
charCountrecord component. - chars - Variable in class opennlp.tools.formats.letsmt.LetsmtDocument.LetsmtDocumentHandler
- chars - Variable in class opennlp.tools.tokenize.MappedText
- CharSequenceNormalizer - Interface in opennlp.tools.util.normalizer
-
A char sequence normalizer, used to adjusting (prune, substitute, add, etc.) characters in order to remove noise from text
- CharsetArgumentFactory() - Constructor for class opennlp.tools.cmdline.ArgumentParser.CharsetArgumentFactory
- check - Variable in class opennlp.tools.tokenize.lattice.DoubleArrayLexicon.Builder
- check - Variable in class opennlp.tools.tokenize.lattice.DoubleArrayLexicon
- check(CharSequence) - Method in interface opennlp.tools.tokenize.AlphanumericCheck
-
Returns
trueifcandidateis accepted as alphanumeric. - check(CharSequence) - Method in class opennlp.tools.tokenize.TokenizerFactory.PatternCheck
- CHECK - Enum constant in enum class opennlp.tools.parser.ParserEventTypeEnum
- CHECK_COMPOUND_REP_TAG - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- CHECK_MODEL_ENTRY_NAME - Static variable in class opennlp.tools.parser.ParserModel
- CHECK_SHARPS_TAG - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- checkAcyclic(int[]) - Static method in class opennlp.tools.depparse.DependencyTree
-
Rejects a cycle that is disconnected from the single root by following every token's head chain until it reaches the root or a token already known to reach it.
- checkAllowedPackage(String) - Static method in class opennlp.tools.util.ext.ExtensionLoader
-
Checks that
classNamestarts with one of the allowed package prefixes. - checkAnnotations(String) - Method in class opennlp.tools.formats.masc.MascDocumentStream
-
Check that all annotation files mentioned in the header are present
- checkArguments() - Method in class opennlp.tools.postag.POSSample
- checkArtifactMap() - Method in class opennlp.tools.util.model.BaseModel
-
Checks the artifact map.
- checkComplete - Static variable in class opennlp.tools.parser.treeinsert.Parser
- checkCompoundCase - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary.AffixFile
- checkCompoundCase - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- checkCompoundCase() - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Returns whether
CHECKCOMPOUNDCASEforbids uppercase at part boundaries. - checkCompoundDup - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary.AffixFile
- checkCompoundDup - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- checkCompoundDup() - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Returns whether
CHECKCOMPOUNDDUPforbids a part repeating its neighbor. - checkCompoundRep - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary.AffixFile
- checkCompoundRep - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- checkCompoundTriple - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary.AffixFile
- checkCompoundTriple - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- checkCompoundTriple() - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Returns whether
CHECKCOMPOUNDTRIPLEforbids triple letters at boundaries. - checkcons(Parse, String, String, List<String>) - Method in class opennlp.tools.parser.AbstractContextGenerator
-
Produces features to determine whether the specified child node is part of a complete constituent of the specified type and adds those features to the specified list.
- checkcons(Parse, Parse, String, List<String>) - Method in class opennlp.tools.parser.AbstractContextGenerator
- checkContextGenerator - Variable in class opennlp.tools.parser.chunking.Parser
- checkContextGenerator - Variable in class opennlp.tools.parser.treeinsert.Parser
- checkContextGenerator - Variable in class opennlp.tools.parser.treeinsert.ParserEventStream
- CheckContextGenerator - Class in opennlp.tools.parser.chunking
-
Generates predictive context for deciding when a constituent is complete.
- CheckContextGenerator - Class in opennlp.tools.parser.treeinsert
-
Generates predictive context for deciding when a constituent is complete.
- CheckContextGenerator() - Constructor for class opennlp.tools.parser.chunking.CheckContextGenerator
-
Instantiates a
CheckContextGeneratorfor generating predictive context for deciding when a constituent is complete. - CheckContextGenerator(Set<String>) - Constructor for class opennlp.tools.parser.treeinsert.CheckContextGenerator
-
Instantiates a
CheckContextGeneratorfor making decisions using apunctSet. - checkDimension(double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer.L2RegFunction
- checkDuplicateLayer(Document, LayerKey<?>, Document, Document.DuplicateLayerPolicy) - Static method in class opennlp.tools.document.DocumentMerges
-
Checks that a layer present on both documents of a merge can be kept as it is.
- checkFinite(float[]) - Static method in class opennlp.tools.depparse.FeedforwardDependencyTrainer
- checkFinite(float[][]) - Static method in class opennlp.tools.depparse.FeedforwardDependencyTrainer
- checkFinite(FeedforwardNetwork) - Static method in class opennlp.tools.depparse.FeedforwardDependencyTrainer
-
Rejects numerical overflow before returning or continuing to train a network.
- checkIndex(int) - Method in class opennlp.tools.depparse.DependencyTree
-
Rejects a token index outside
[0, size()). - checkInputFile(String, File) - Static method in class opennlp.tools.formats.FormatUtil
-
Check that the given input file is valid.
- checkMergeable(Document, Document, Document.DuplicateLayerPolicy) - Static method in class opennlp.tools.document.DocumentMerges
-
Checks the arguments of a merge.
- checkModel - Variable in class opennlp.tools.parser.chunking.Parser
- checkModel - Variable in class opennlp.tools.parser.treeinsert.Parser
- checkModelType() - Method in class opennlp.tools.ml.maxent.io.GISModelReader
- checkModelType() - Method in class opennlp.tools.ml.maxent.io.QNModelReader
- checkModelType() - Method in class opennlp.tools.ml.model.AbstractModelReader
-
Checks the model type via the the underlying
DataReader. - checkModelType() - Method in class opennlp.tools.ml.model.GenericModelReader
- checkModelType() - Method in class opennlp.tools.ml.naivebayes.NaiveBayesModelReader
-
Reads the mode type from the underlying reader and informs if it not a
Naive Bayesmodel. - checkModelType() - Method in class opennlp.tools.ml.perceptron.PerceptronModelReader
-
Reads the mode type from the underlying reader and informs if it not a
Perceptronmodel. - checkOf(Pattern) - Static method in class opennlp.tools.tokenize.TokSpanEventStream
-
Returns the check for a deprecated alphanumeric pattern.
- checkProxyInterfaces(Class<?>...) - Static method in class opennlp.tools.cmdline.ArgumentParser
- checkRange(int, int, int) - Static method in class opennlp.tools.util.normalizer.Alignment
-
Validates that
[start, end)is a half-open range within[0, length]. - checkRejected(Node) - Static method in class opennlp.tools.formats.nkjp.NKJPSegmentationDocument
- checkRejectedParen(Node) - Static method in class opennlp.tools.formats.nkjp.NKJPSegmentationDocument
- checkSharps - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary.AffixFile
- checkSharps - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- checkSharps() - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Returns whether uppercase SS may represent a German sharp s.
- checksum - Variable in class opennlp.tools.ml.model.ChecksumEventStream
- CHECKSUM_EXTENSION - Static variable in class opennlp.tools.util.DownloadUtil
- CHECKSUM_LENGTH - Static variable in class opennlp.tools.util.archive.TarStream
- CHECKSUM_OFFSET - Static variable in class opennlp.tools.util.archive.TarStream
- ChecksumEventStream - Class in opennlp.tools.ml.model
-
A
Checksum-basedevent streamimplementation. - ChecksumEventStream(ObjectStream<Event>) - Constructor for class opennlp.tools.ml.model.ChecksumEventStream
-
Initializes an
ChecksumEventStream. - checksumPathFor(Path) - Static method in class opennlp.tools.util.DownloadUtil
- Checksums - Class in opennlp.tools.util
-
Computes and validates the hex-encoded file digests that downloads are verified against.
- Checksums() - Constructor for class opennlp.tools.util.Checksums
-
Prevents construction of this utility class.
- checkTokenIndex(int) - Method in class opennlp.tools.depparse.ArcStandardState
-
Rejects a token index outside
[0, tokenCount). - checkTokensAndTags(String[], String[]) - Method in class opennlp.tools.depparse.DependencyParserME
-
Validates the input of
DependencyParserME.parse(String[], String[]), with the same rules and messages asDependencySample. - checkTokensAndTags(String[], String[]) - Method in class opennlp.tools.depparse.DependencySample
-
Validates the token and tag arrays of this sample.
- child(char) - Method in class opennlp.tools.tokenize.lattice.UnigramSegmenter.WordTrie
-
Descends one character.
- child(int) - Method in class opennlp.tools.util.normalizer.UnicodeEmojiSequences.Node
-
Returns the child for a code point, or
nullif none. - childOrAdd(int) - Method in class opennlp.tools.util.normalizer.UnicodeEmojiSequences.Node
-
Returns the child for a code point, added if it did not exist.
- children - Variable in class opennlp.tools.tokenize.lattice.UnigramSegmenter.WordTrieBuilder
- children - Variable in class opennlp.tools.tokenize.WordpieceEncoder.TrieNode
- children - Variable in class opennlp.tools.util.normalizer.UnicodeEmojiSequences.Node
- childrenBuilt - Variable in record class opennlp.tools.tokenize.lattice.UnigramSegmenter.WordTrieBuilder.BuildStep
-
The field for the
childrenBuiltrecord component. - childrenBuilt() - Method in record class opennlp.tools.tokenize.lattice.UnigramSegmenter.WordTrieBuilder.BuildStep
-
Returns the value of the
childrenBuiltrecord component. - CHMStringDeduplicator - Class in opennlp.tools.util.jvm
-
A
StringInternerimplementation by Aleksey Shipilëv with relaxed canonical requirements. - CHMStringDeduplicator() - Constructor for class opennlp.tools.util.jvm.CHMStringDeduplicator
-
Creates a
CHMStringDeduplicatorwith a probability of0.5. - CHMStringDeduplicator(double) - Constructor for class opennlp.tools.util.jvm.CHMStringDeduplicator
- CHMStringInterner - Class in opennlp.tools.util.jvm
-
A
StringInternerimplementation based onConcurrentHashMapby Aleksey Shipilëv. - CHMStringInterner() - Constructor for class opennlp.tools.util.jvm.CHMStringInterner
- CHOICE - Static variable in class opennlp.tools.formats.nkjp.NKJPSegmentationDocument
- chunk(CharSequence, int, int) - Method in class opennlp.tools.langdetect.LanguageDetectorME
- chunk(String[], String[]) - Method in interface opennlp.tools.chunker.Chunker
-
Generates chunk tags for the given sequence returning the result in an array.
- chunk(String[], String[]) - Method in class opennlp.tools.chunker.ChunkerME
- chunk(String[], String[]) - Method in class opennlp.tools.chunker.ThreadSafeChunkerME
-
Deprecated.
- CHUNK - Enum constant in enum class opennlp.tools.parser.ParserEventTypeEnum
-
Deprecated.
- CHUNK_SOURCE - Static variable in class opennlp.tools.chunker.ChunkerAnnotator
-
Introduces a rejected chunk in exception messages.
- chunkandpostag(int, String, String, String) - Method in class opennlp.tools.parser.ChunkContextGenerator
- chunkandpostagbo(int, String, String) - Method in class opennlp.tools.parser.ChunkContextGenerator
- chunkAsSpans(String[], String[]) - Method in interface opennlp.tools.chunker.Chunker
- chunkAsSpans(String[], String[]) - Method in class opennlp.tools.chunker.ChunkerME
- chunkAsSpans(String[], String[]) - Method in class opennlp.tools.chunker.ThreadSafeChunkerME
-
Deprecated.
- ChunkContextGenerator - Class in opennlp.tools.parser
-
Creates predictive context for the pre-chunking phases of parsing.
- ChunkContextGenerator() - Constructor for class opennlp.tools.parser.ChunkContextGenerator
-
Initializes a
ChunkContextGeneratorinstance. - ChunkContextGenerator(int) - Constructor for class opennlp.tools.parser.ChunkContextGenerator
-
Initializes a
ChunkContextGeneratorinstance with a customcacheSize. - chunker - Variable in class opennlp.tools.chunker.ChunkerAnnotator
- chunker - Variable in class opennlp.tools.chunker.ChunkerEvaluator
-
The
Chunkerused to create the predictedChunkSampleobjects. - chunker - Variable in class opennlp.tools.parser.AbstractBottomUpParser
-
The chunker that the parser uses to chunk non-recursive structures.
- Chunker - Interface in opennlp.tools.chunker
-
The interface for chunkers which provide chunk tags for a sequence of tokens.
- CHUNKER - Enum constant in enum class opennlp.tools.models.ModelType
- CHUNKER_MODEL_ENTRY_NAME - Static variable in class opennlp.tools.chunker.ChunkerModel
- CHUNKER_TAGGER_MODEL_ENTRY_NAME - Static variable in class opennlp.tools.parser.ParserModel
- ChunkerAnnotator - Class in opennlp.tools.chunker
-
Adapts a
Chunkerto the document pipeline: readsLayers.SENTENCES,Layers.TOKENS, andLayers.POS_TAGSand providesChunkerAnnotator.CHUNKS, one annotation per phrase chunk carrying the chunk type, for exampleNPorVP, on the span from its first to its last token. - ChunkerAnnotator(Chunker) - Constructor for class opennlp.tools.chunker.ChunkerAnnotator
-
Initializes the adapter.
- chunkerContextGenerator - Variable in class opennlp.tools.parser.AbstractParserEventStream
- ChunkerContextGenerator - Interface in opennlp.tools.chunker
-
Interface for a
BeamSearchContextGeneratorused in syntactic chunking. - ChunkerCrossValidator - Class in opennlp.tools.chunker
-
Cross validator for
Chunker. - ChunkerCrossValidator(String, TrainingParameters, ChunkerFactory, ChunkerEvaluationMonitor...) - Constructor for class opennlp.tools.chunker.ChunkerCrossValidator
-
Initializes a
ChunkerCrossValidatorinstance via given parameters. - ChunkerEvaluationMonitor - Interface in opennlp.tools.chunker
-
A marker interface for evaluating
chunkers. - ChunkerEvaluator - Class in opennlp.tools.chunker
-
The
ChunkerEvaluatormeasures the performance of the givenChunkerwith the provided referencesamples. - ChunkerEvaluator(Chunker, ChunkerEvaluationMonitor...) - Constructor for class opennlp.tools.chunker.ChunkerEvaluator
-
Initializes a
ChunkerEvaluatorinstance with the givenChunker. - ChunkerEventStream - Class in opennlp.tools.chunker
-
Class for creating an event stream out of data files for training a
Chunker. - ChunkerEventStream(ObjectStream<ChunkSample>, ChunkerContextGenerator) - Constructor for class opennlp.tools.chunker.ChunkerEventStream
-
Creates a new event stream based on the specified data stream using the given context generator.
- chunkerFactory - Variable in class opennlp.tools.chunker.ChunkerCrossValidator
- ChunkerFactory - Class in opennlp.tools.chunker
- ChunkerFactory() - Constructor for class opennlp.tools.chunker.ChunkerFactory
-
Creates a
ChunkerFactorythat provides the default implementation of the resources. - ChunkerME - Class in opennlp.tools.chunker
-
The class represents a maximum-entropy-based
Chunker. - ChunkerME(String) - Constructor for class opennlp.tools.chunker.ChunkerME
-
Initializes a
Chunkerby downloading a default model. - ChunkerME(ChunkerModel) - Constructor for class opennlp.tools.chunker.ChunkerME
-
Initializes a
Chunkerwith the specifiedChunkerModel. - ChunkerModel - Class in opennlp.tools.chunker
-
The
ChunkerModelis the model used by a learnableChunker. - ChunkerModel(File) - Constructor for class opennlp.tools.chunker.ChunkerModel
-
Initializes a
ChunkerModelinstance via a validFile. - ChunkerModel(InputStream) - Constructor for class opennlp.tools.chunker.ChunkerModel
-
Initializes a
ChunkerModelinstance via a validInputStream. - ChunkerModel(String, MaxentModel, int, Map<String, String>, ChunkerFactory) - Constructor for class opennlp.tools.chunker.ChunkerModel
-
Initializes a
ChunkerModelinstance via given parameters. - ChunkerModel(String, MaxentModel, Map<String, String>, ChunkerFactory) - Constructor for class opennlp.tools.chunker.ChunkerModel
-
Initializes a
ChunkerModelinstance via given parameters. - ChunkerModel(String, MaxentModel, ChunkerFactory) - Constructor for class opennlp.tools.chunker.ChunkerModel
-
Initializes a
ChunkerModelinstance via given parameters. - ChunkerModel(String, SequenceClassificationModel, Map<String, String>, ChunkerFactory) - Constructor for class opennlp.tools.chunker.ChunkerModel
-
Initializes a
ChunkerModelinstance via given parameters. - ChunkerModel(URL) - Constructor for class opennlp.tools.chunker.ChunkerModel
-
Initializes a
ChunkerModelinstance via a validURL. - ChunkerModel(Path) - Constructor for class opennlp.tools.chunker.ChunkerModel
-
Initializes a
ChunkerModelinstance via a validPath. - ChunkerModelSerializer - Class in opennlp.tools.util.model
-
An
ArtifactSerializerimplementation formodels. - ChunkerModelSerializer() - Constructor for class opennlp.tools.util.model.ChunkerModelSerializer
- ChunkerSampleStreamFactory - Class in opennlp.tools.formats
-
Factory producing OpenNLP
ChunkSampleStreams. - ChunkerSampleStreamFactory(Class<ChunkerSampleStreamFactory.Parameters>) - Constructor for class opennlp.tools.formats.ChunkerSampleStreamFactory
- ChunkerSampleStreamFactory.Parameters - Interface in opennlp.tools.formats
- CHUNKING - Enum constant in enum class opennlp.tools.parser.ParserType
- CHUNKS - Static variable in class opennlp.tools.chunker.ChunkerAnnotator
-
Phrase chunks; each annotation covers one chunk and carries its type, ordered by text position.
- ChunkSample - Class in opennlp.tools.chunker
-
Class for holding chunks for a single unit of text.
- ChunkSample(String[], String[], String[]) - Constructor for class opennlp.tools.chunker.ChunkSample
-
Initializes a
ChunkSampleinstance. - ChunkSample(List<String>, List<String>, List<String>) - Constructor for class opennlp.tools.chunker.ChunkSample
-
Initializes a
ChunkSampleinstance. - ChunkSampleSequenceStream - Class in opennlp.tools.chunker
-
A
SequenceStreamimplementation encapsulatingsamples. - ChunkSampleSequenceStream(ObjectStream<ChunkSample>, ChunkerContextGenerator) - Constructor for class opennlp.tools.chunker.ChunkSampleSequenceStream
- ChunkSampleStream - Class in opennlp.tools.chunker
-
Parses the conll 2000 shared task shallow parser training data.
- ChunkSampleStream - Class in opennlp.tools.parser
- ChunkSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.chunker.ChunkSampleStream
-
Initializes a
instance. - ChunkSampleStream(ObjectStream<Parse>) - Constructor for class opennlp.tools.parser.ChunkSampleStream
-
Initializes a
instance. - chunkSize - Variable in class opennlp.tools.formats.convert.AbstractToSentenceSampleStream
- chunkSize - Variable in class opennlp.tools.langdetect.LanguageDetectorConfig
- circumfix - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary.AffixFile
- circumfix - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- circumfixOnly(HunspellDictionary.Affix) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Checks whether an affix is one half of a circumfix: it carries the
CIRCUMFIXflag among its continuation classes, so it is only valid on a word that also carries a circumfix-marked affix of the other kind, the Germange...tparticiple being the model. - CLASS_COUNT - Static variable in class opennlp.tools.tokenize.uax29.WordSegmenter
- CLASS_SUFFIX - Static variable in class opennlp.tools.util.ext.Providers
- CLASSES - Static variable in class opennlp.tools.tokenize.uax29.WordSegmenter
- ClassgraphModelFinder - Class in opennlp.tools.models.classgraph
-
Enables the detection of OpenNLP models in the classpath via Classgraph.
- ClassgraphModelFinder() - Constructor for class opennlp.tools.models.classgraph.ClassgraphModelFinder
-
By default, it scans for "opennlp-models-*.jar".
- ClassgraphModelFinder(String) - Constructor for class opennlp.tools.models.classgraph.ClassgraphModelFinder
- classificationId - Variable in class opennlp.tools.tokenize.WordpieceEncoder
- classificationToken - Variable in class opennlp.tools.tokenize.WordpieceEncoder
- classificationToken - Variable in class opennlp.tools.tokenize.WordpieceTokenizer
- CLASSPATH_SEPARATOR_UNIX - Static variable in class opennlp.tools.models.simple.SimpleClassPathModelFinder
- CLASSPATH_SEPARATOR_WINDOWS - Static variable in class opennlp.tools.models.simple.SimpleClassPathModelFinder
- ClassPathLoaderException - Exception Class in opennlp.tools.models
- ClassPathLoaderException(String) - Constructor for exception class opennlp.tools.models.ClassPathLoaderException
- ClassPathLoaderException(String, Throwable) - Constructor for exception class opennlp.tools.models.ClassPathLoaderException
- ClassPathLoaderException(Throwable) - Constructor for exception class opennlp.tools.models.ClassPathLoaderException
- ClassPathModel - Record Class in opennlp.tools.models
-
A record that holds the binary representation of an OpenNLP model and related properties.
- ClassPathModel(Properties, byte[]) - Constructor for record class opennlp.tools.models.ClassPathModel
-
Creates an instance of a
ClassPathModelrecord class. - ClassPathModelEntry - Record Class in opennlp.tools.models
-
Encapsulates a classpath entry that is associated with a
model URIand optionalproperties. - ClassPathModelEntry(URI, Optional<URI>) - Constructor for record class opennlp.tools.models.ClassPathModelEntry
-
Creates an instance of a
ClassPathModelEntryrecord class. - ClassPathModelFinder - Interface in opennlp.tools.models
-
Describes a scanner which detects OpenNLP specific model files in an applications's classpath.
- ClassPathModelLoader - Class in opennlp.tools.models
-
Responsible for loading OpenNLP models from the classpath via
entries. - ClassPathModelLoader() - Constructor for class opennlp.tools.models.ClassPathModelLoader
- ClassPathModelProvider - Interface in opennlp.tools.models
-
A provider for obtaining pre-trained OpenNLP
modelsfrom an application's classpath. - clazz - Variable in class opennlp.tools.formats.ResourceAsStreamFactory
- cleanAndIsolateCjk(String) - Method in class opennlp.tools.tokenize.WordpieceEncoder
-
Removes BERT control characters, normalizes whitespace, and isolates CJK ideographs.
- clearAdaptiveData() - Method in class opennlp.tools.namefind.DefaultNameContextGenerator
- clearAdaptiveData() - Method in class opennlp.tools.namefind.DictionaryNameFinder
- clearAdaptiveData() - Method in interface opennlp.tools.namefind.NameContextGenerator
-
Informs all the feature generators that the context of the adaptive data (typically a document) is no longer valid and should be cleared.
- clearAdaptiveData() - Method in class opennlp.tools.namefind.NameFinderME
- clearAdaptiveData() - Method in class opennlp.tools.namefind.RegexNameFinder
- clearAdaptiveData() - Method in class opennlp.tools.namefind.ThreadSafeNameFinderME
-
Deprecated.
- clearAdaptiveData() - Method in interface opennlp.tools.namefind.TokenNameFinder
-
Forgets all adaptive data which was collected during previous calls to one of the find methods.
- clearAdaptiveData() - Method in interface opennlp.tools.util.featuregen.AdaptiveFeatureGenerator
-
Informs a feature generator that the context of the adaptive data (typically a document) is no longer valid.
- clearAdaptiveData() - Method in class opennlp.tools.util.featuregen.AggregatedFeatureGenerator
-
Calls the
AdaptiveFeatureGenerator.clearAdaptiveData()method on all aggregatedfeature generators. - clearAdaptiveData() - Method in class opennlp.tools.util.featuregen.CachedFeatureGenerator
- clearAdaptiveData() - Method in class opennlp.tools.util.featuregen.DocumentBeginFeatureGenerator
- clearAdaptiveData() - Method in class opennlp.tools.util.featuregen.PreviousMapFeatureGenerator
- clearAdaptiveData() - Method in class opennlp.tools.util.featuregen.PreviousTwoMapFeatureGenerator
- clearAdaptiveData() - Method in class opennlp.tools.util.featuregen.WindowFeatureGenerator
- clearCache() - Method in class opennlp.tools.stemmer.CachingStemmer
-
Empties the calling thread's cache while keeping its delegate, forcing every subsequent word through a fresh stemming pass.
- clearForCurrentThread() - Method in class opennlp.tools.util.featuregen.AdditionalContextFeatureGenerator
-
Releases the calling thread's per-thread context slot.
- clearForCurrentThread() - Method in class opennlp.tools.util.LastResultOwnerOrThreadLocal
-
Clears
ThreadLocalstate for the current thread and, when this thread is the single-thread owner, clears owner fields so another thread can become owner. - clearForCurrentThread() - Method in class opennlp.tools.util.OwnerOrPerThreadState
-
Removes this thread's
ThreadLocalslot and, if this thread is the owner, resets owner state and releases ownership so a future single-thread user can claim it. - clearGradients() - Method in class opennlp.tools.depparse.FeedforwardDependencyTrainer.Optimizer
-
Zeroes the gradient buffers before a batch.
- clearThreadLocalState() - Method in class opennlp.tools.chunker.ChunkerME
-
Removes thread-local state to prevent classloader leaks in container environments.
- clearThreadLocalState() - Method in class opennlp.tools.lemmatizer.LemmatizerME
-
Removes thread-local state to prevent classloader leaks in container environments.
- clearThreadLocalState() - Method in class opennlp.tools.namefind.NameFinderME
-
Releases the calling thread's per-thread state for this
NameFinderME(the last decoded sequence stashed forNameFinderME.probs()access, plus the additional-context slot held byAdditionalContextFeatureGenerator). - clearThreadLocalState() - Method in class opennlp.tools.postag.POSTaggerME
-
Removes thread-local state to prevent classloader leaks in container environments.
- clearThreadLocalState() - Method in class opennlp.tools.sentdetect.SentenceDetectorME
-
Removes thread-local state to prevent classloader leaks in container environments.
- clearThreadLocalState() - Method in class opennlp.tools.stemmer.DelegatingStemmer
-
Clears the calling thread's state to prevent classloader leaks in container environments: a per-thread payload is removed, and the owner payload is reset but stays referenced by this instance.
- clearThreadLocalState() - Method in class opennlp.tools.stemmer.snowball.SnowballStemmer
-
Clears the calling thread's state to prevent classloader leaks in container environments: a per-thread engine is removed, and the owner engine stays referenced by this instance.
- clearThreadLocalState() - Method in class opennlp.tools.tokenize.TokenizerME
-
Removes thread-local state to prevent classloader leaks in container environments.
- clearThreadLocalState() - Method in class opennlp.tools.util.normalizer.TermAnalyzer
-
Removes the calling thread's state of the analyzer's stemmer to prevent classloader leaks in container environments.
- clone() - Method in class opennlp.tools.parser.Parse
- clone(Parse) - Method in class opennlp.tools.parser.Parse
-
Clones the right frontier of
Parseup to the specifiednode. - cloneRoot(Parse, int) - Method in class opennlp.tools.parser.Parse
-
Clones the right frontier of this root
Parseup to and including the specified node. - close - Variable in record class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.LeafEnd
-
The field for the
closerecord component. - close() - Method in class opennlp.tools.chunker.ChunkSampleSequenceStream
- close() - Method in class opennlp.tools.chunker.ThreadSafeChunkerME
-
Deprecated.
- close() - Method in class opennlp.tools.depparse.DependencyEventStream
-
Closes the
ObjectStreamand releases all allocated resources. - close() - Method in interface opennlp.tools.embeddings.TextEmbedder
-
Releases resources owned by this embedder.
- close() - Method in class opennlp.tools.formats.ad.ADChunkSampleStream
- close() - Method in class opennlp.tools.formats.ad.ADNameSampleStream
- close() - Method in class opennlp.tools.formats.ad.ADPOSSampleStream
- close() - Method in class opennlp.tools.formats.ad.ADSentenceSampleStream
- close() - Method in record class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.LeafEnd
-
Returns the value of the
closerecord component. - close() - Method in class opennlp.tools.formats.BioNLP2004NameSampleStream
- close() - Method in class opennlp.tools.formats.brat.BratAnnotationStream
- close() - Method in class opennlp.tools.formats.brat.BratDocumentStream
- close() - Method in class opennlp.tools.formats.Conll02NameSampleStream
- close() - Method in class opennlp.tools.formats.Conll03NameSampleStream
- close() - Method in class opennlp.tools.formats.conllu.ConlluDependencySampleStream
-
Closes the
ObjectStreamand releases all allocated resources. - close() - Method in class opennlp.tools.formats.conllu.ConlluStream
- close() - Method in class opennlp.tools.formats.DirectorySampleStream
-
Closes the
ObjectStreamand releases all allocated resources. - close() - Method in class opennlp.tools.formats.EvalitaNameSampleStream
- close() - Method in class opennlp.tools.formats.GermEval2014NameSampleStream
- close() - Method in class opennlp.tools.formats.masc.MascDocumentStream
-
Remove the corpus from the memory.
- close() - Method in class opennlp.tools.formats.NameFinderCensus90NameStream
- close() - Method in class opennlp.tools.langdetect.ThreadSafeLanguageDetectorME
-
Deprecated.
- close() - Method in class opennlp.tools.lemmatizer.LemmaSampleSequenceStream
- close() - Method in class opennlp.tools.lemmatizer.ThreadSafeLemmatizerME
-
Deprecated.
- close() - Method in class opennlp.tools.ml.BeamSearch
-
Clears
ThreadLocalstate for the current thread only. - close() - Method in class opennlp.tools.ml.maxent.io.BinaryGISModelWriter
- close() - Method in class opennlp.tools.ml.maxent.io.BinaryQNModelWriter
-
Closes the underlying
DataOutputStream. - close() - Method in class opennlp.tools.ml.maxent.RealBasicEventStream
- close() - Method in class opennlp.tools.ml.model.AbstractModelWriter
-
Closes the underlying
DataOutputStream. - close() - Method in class opennlp.tools.ml.model.FileEventStream
- close() - Method in class opennlp.tools.ml.model.GenericModelWriter
- close() - Method in class opennlp.tools.ml.model.SequenceStreamEventStream
- close() - Method in class opennlp.tools.ml.model.TwoPassDataIndexer.EventStream
- close() - Method in class opennlp.tools.ml.naivebayes.BinaryNaiveBayesModelWriter
- close() - Method in class opennlp.tools.ml.naivebayes.PlainTextNaiveBayesModelWriter
- close() - Method in class opennlp.tools.ml.perceptron.BinaryPerceptronModelWriter
- close() - Method in class opennlp.tools.namefind.NameSampleSequenceStream
- close() - Method in class opennlp.tools.namefind.ThreadSafeNameFinderME
-
Deprecated.
- close() - Method in class opennlp.tools.postag.POSSampleSequenceStream
- close() - Method in class opennlp.tools.postag.ThreadSafePOSTaggerME
-
Deprecated.
- close() - Method in class opennlp.tools.sentdetect.ThreadSafeSentenceDetectorME
-
Deprecated.
- close() - Method in class opennlp.tools.tokenize.ThreadSafeTokenizerME
-
Deprecated.
- close() - Method in class opennlp.tools.tokenize.TokenizerStream
- close() - Method in class opennlp.tools.util.AbstractEventStream
- close() - Method in class opennlp.tools.util.AbstractObjectStream
- close() - Method in class opennlp.tools.util.CollectionObjectStream
- close() - Method in class opennlp.tools.util.eval.CrossValidationPartitioner.TestSampleStream
- close() - Method in class opennlp.tools.util.eval.CrossValidationPartitioner.TrainingSampleStream
- close() - Method in class opennlp.tools.util.FilterObjectStream
- close() - Method in class opennlp.tools.util.MarkableFileInputStream
-
Closes the file this stream opened.
- close() - Method in class opennlp.tools.util.model.UncloseableInputStream
-
This method does not have any effect, as the
InputStreamcannot be closed. - close() - Method in interface opennlp.tools.util.ObjectStream
-
Closes the
ObjectStreamand releases all allocated resources. - close() - Method in class opennlp.tools.util.PlainTextByLineStream
- CLOSING_BRACKET - Static variable in class opennlp.tools.parser.Parse
-
Closes a constituent in the bracketed parse string.
- CLOSING_GUILLEMET - Static variable in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
- CLOSING_TAG_OPEN - Static variable in class opennlp.tools.formats.ad.ADSentenceStream
- closingQuote(String, char, int) - Method in class opennlp.tools.util.DownloadUtil.DownloadParser
-
Finds the quote that closes an attribute value and is followed by the end of the tag.
- code - Variable in exception class opennlp.tools.cmdline.TerminateToolException
- CODE_POINT_FORMAT - Static variable in class opennlp.tools.tokenize.TokenizerCharacterPolicy
- CODE_POINTS - Static variable in class opennlp.tools.util.normalizer.UnicodeDash
- CODE_POINTS - Static variable in class opennlp.tools.util.normalizer.UnicodeWhitespace
- codec - Variable in class opennlp.tools.namefind.NameFinderEventStream
- CODEC_TAG_B - Static variable in class opennlp.tools.formats.BioNLP2004NameSampleStream
- CODEC_TAG_B - Static variable in class opennlp.tools.formats.EvalitaNameSampleStream
- CODEC_TAG_I - Static variable in class opennlp.tools.formats.BioNLP2004NameSampleStream
- CODEC_TAG_I - Static variable in class opennlp.tools.formats.EvalitaNameSampleStream
- CODEC_TAG_O - Static variable in class opennlp.tools.formats.BioNLP2004NameSampleStream
- CODEC_TAG_O - Static variable in class opennlp.tools.formats.EvalitaNameSampleStream
- codeOf - Variable in class opennlp.tools.tokenize.lattice.DoubleArrayLexicon.Builder
- codeOf - Variable in class opennlp.tools.tokenize.lattice.DoubleArrayLexicon
- codePoint - Variable in record class opennlp.tools.util.normalizer.CodePoints.At
-
The field for the
codePointrecord component. - codePoint - Variable in record class opennlp.tools.util.normalizer.UnicodeDash.DashCharacter
-
The field for the
codePointrecord component. - codePoint - Variable in record class opennlp.tools.util.normalizer.UnicodeWhitespace.RelatedCharacter
-
The field for the
codePointrecord component. - codePoint - Variable in record class opennlp.tools.util.normalizer.UnicodeWhitespace.WhitespaceCharacter
-
The field for the
codePointrecord component. - codePoint() - Method in record class opennlp.tools.util.normalizer.CodePoints.At
-
Returns the value of the
codePointrecord component. - codePoint() - Method in record class opennlp.tools.util.normalizer.UnicodeDash.DashCharacter
-
Returns the value of the
codePointrecord component. - codePoint() - Method in record class opennlp.tools.util.normalizer.UnicodeWhitespace.RelatedCharacter
-
Returns the value of the
codePointrecord component. - codePoint() - Method in record class opennlp.tools.util.normalizer.UnicodeWhitespace.WhitespaceCharacter
-
Returns the value of the
codePointrecord component. - codePointAt(int) - Method in class opennlp.tools.tokenize.MappedText
-
Returns the code point at an index of the mapped UTF-16 buffer.
- codePointEnd(CharSequence, int) - Static method in class opennlp.tools.sentdetect.SentenceDetectorME.AbbreviationIndex
- codePoints() - Static method in class opennlp.tools.util.normalizer.UnicodeDash
-
Returns all dash code points, in ascending order, including the mathematical minus signs.
- codePoints() - Static method in class opennlp.tools.util.normalizer.UnicodeWhitespace
-
Returns the whitespace code points, in ascending order.
- CodePoints - Class in opennlp.tools.util.normalizer
-
Shared code-point decoding for forward (and reverse) cursor scans over
CharSequencetext. - CodePoints() - Constructor for class opennlp.tools.util.normalizer.CodePoints
- CodePoints.At - Record Class in opennlp.tools.util.normalizer
-
A code point at an index together with its UTF-16 width.
- CodePointSet - Class in opennlp.tools.util.normalizer
-
An immutable set of Unicode code points with O(1) membership.
- CodePointSet(BitSet) - Constructor for class opennlp.tools.util.normalizer.CodePointSet
- codePointStart(CharSequence, int) - Static method in class opennlp.tools.sentdetect.SentenceDetectorME.AbbreviationIndex
- codePointTokens(CharSequence) - Static method in class opennlp.tools.util.normalizer.HexCodePoints
-
Splits a sequence into its hex code point tokens.
- codeSource(Class<?>) - Method in class opennlp.tools.util.ext.Providers
- codeTree(Parse, int[]) - Method in class opennlp.tools.parser.Parse
- collapse(CharSequence) - Method in class opennlp.tools.util.normalizer.CharClass
-
Collapses each maximal run of member code points to a single replacement.
- collapseAligned(CharSequence) - Method in class opennlp.tools.util.normalizer.CharClass
-
Like
CharClass.collapse(CharSequence)but also produces theAlignmentback to the original text. - collapseParagraphPreserving(CharSequence, CodePointSet, int) - Method in class opennlp.tools.util.normalizer.CharClass
-
Collapses runs of members like
CharClass.collapse(CharSequence), but emitsparagraphReplacementwhen a run contains two or more logical line breaks, or the usualreplacementwhen it contains at most one. - collapseParagraphPreservingAligned(CharSequence, CodePointSet, int) - Method in class opennlp.tools.util.normalizer.CharClass
-
Like
CharClass.collapseParagraphPreserving(CharSequence, CodePointSet, int)but also produces theAlignmentback to the original text. - collapsePreserving(CharSequence, CodePointSet, int) - Method in class opennlp.tools.util.normalizer.CharClass
-
Collapses runs of members like
CharClass.collapse(CharSequence), but emitskeepReplacementinstead of the usual replacement for any run that contains a code point inkeep. - collapsePreservingAligned(CharSequence, CodePointSet, int) - Method in class opennlp.tools.util.normalizer.CharClass
-
Like
CharClass.collapsePreserving(CharSequence, CodePointSet, int)but also produces theAlignmentback to the original text. - collapsePunctuation(Parse[], Set<String>) - Static method in class opennlp.tools.parser.AbstractBottomUpParser
-
Removes the punctuation from the specified set of
chunks, adds it to the parses adjacent to the punctuation is specified, and returns a new array of parses with the punctuation removed. - collapseRuns(CharSequence, CharClass.RunReplacement, Alignment.Builder) - Method in class opennlp.tools.util.normalizer.CharClass
-
Collapses each maximal run of member code points to the code point chosen by
runReplacementand copies every other code point. - collapseRunsAligned(CharSequence, CharClass.RunReplacement) - Method in class opennlp.tools.util.normalizer.CharClass
-
Collapses runs like
CharClass.collapseRuns(CharSequence, RunReplacement, Alignment.Builder)and pairs the result with itsAlignmentback totext. - collect(String[], double[]) - Method in class opennlp.tools.ml.BeamSearch.SearchNode
-
Fills the outcomes, and the probabilities if requested, on the path from the root to this node, in sequence order.
- collect(Parse, int, int[], int, List<Annotation<String>>, List<Annotation<ParserAnnotator.Phrase>>) - Method in class opennlp.tools.parser.ParserAnnotator
-
Emits a node and, in pre-order, every phrase node below it.
- collectAffixedPartReading(String, String, HunspellDictionary.Affix, HunspellDictionary.CompoundPosition, boolean, boolean, List<HunspellStemmer.CompoundPart>) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Adds the stem of one affixed part reading when the rule and the stem's entry admit it at the position.
- collectCompoundSuffixAfterPrefixes(String, String, String, HunspellDictionary.Affix, HunspellDictionary.Affix, HunspellDictionary.Affix, HunspellDictionary.CompoundPosition, boolean, List<HunspellStemmer.CompoundPart>) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Checks a suffix after continuation-linked compound prefixes.
- collectCrossDoublePart(String, String, String, HunspellDictionary.Affix, HunspellDictionary.Affix, HunspellDictionary.Affix, HunspellDictionary.CompoundPosition, List<HunspellStemmer.CompoundPart>) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Removes an inner compound suffix after a prefix and outer suffix.
- collectCrossPart(String, String, String, HunspellDictionary.Affix, HunspellDictionary.Affix, HunspellDictionary.CompoundPosition, boolean, List<HunspellStemmer.CompoundPart>) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Validates a compound component with a prefix and suffix.
- collectCrossPartReadings(String, String, HunspellDictionary.Affix, HunspellDictionary.CompoundPosition, boolean, boolean, List<HunspellStemmer.CompoundPart>) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Searches suffix combinations after removing a compound component's prefix.
- collectDoublePart(String, String, String, HunspellDictionary.Affix, HunspellDictionary.Affix, HunspellDictionary.CompoundPosition, boolean, List<HunspellStemmer.CompoundPart>) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Finds a compound part with continuation-linked affixes.
- collected - Variable in class opennlp.tools.depparse.ArcStandardBeam.Node
-
Whether the trainer has already collected this node for an update.
- collected - Variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer.Optimizer
-
The nodes collected for one refinement update.
- collectExamples(List<FeedforwardDependencyTrainer.Derivation>, FeedforwardNetwork, int[][], int[]) - Static method in class opennlp.tools.depparse.FeedforwardDependencyTrainer
-
Replays the oracle over every derivation, emitting one example per step.
- collectFeatures(CharSequence, Collection<String>) - Method in class opennlp.tools.util.normalizer.EmojiAnnotator
-
Appends this annotator's features for
tokentofeatures: one entry per present annotation attribute (sentiment, entity type, category, region), each already name-prefixed. - collectFeatures(List<String>, StringBuilder, String, String, String, String, Character) - Method in class opennlp.tools.sentdetect.DefaultSDContextGenerator
-
Determines some features for the sentence detector and adds them to list features.
- collectFeatures(List<String>, StringBuilder, String, String, String, String, Character) - Method in class opennlp.tools.sentdetect.lang.th.SentenceContextGenerator
- collection - Variable in class opennlp.tools.util.CollectionObjectStream
- CollectionObjectStream<E> - Class in opennlp.tools.util
-
An
ObjectStreamimplementation that works on aCollectionofCollectionObjectStreamas source for elements. - CollectionObjectStream(Collection<E>) - Constructor for class opennlp.tools.util.CollectionObjectStream
- collectPartReadings(String, String, HunspellDictionary.CompoundPosition, boolean, boolean, boolean, List<HunspellStemmer.CompoundPart>) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Collects direct entries and permitted affix combinations for a component.
- COLUMNS - Static variable in class opennlp.tools.formats.conllu.ConlluDependencySampleStream
-
The number of tab-separated columns of a CoNLL-U word line.
- combineAnnotations(String, List<Span>, List<MascWord>) - Static method in class opennlp.tools.formats.masc.MascDocument
-
Combines the raw text with annotations that every file should have.
- COMMA - Static variable in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
- COMMENT - Static variable in class opennlp.tools.formats.conllu.ConlluDependencySampleStream
-
The first character of a comment line.
- COMMENT - Static variable in class opennlp.tools.util.normalizer.UnicodeEmojiSequences
-
First character of a comment line of the data file.
- COMMENT_MARKER - Static variable in class opennlp.tools.util.normalizer.HexCodePoints
-
The character that starts a comment running to the end of the line.
- COMMENT_PREFIX - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Prefix used by comment lines.
- COMMENT_PREFIX - Static variable in class opennlp.tools.stopword.DictionaryStopwordFilter
- COMMENT_PREFIX - Static variable in class opennlp.tools.util.normalizer.EmojiAnnotations
-
Starts a comment line in
emoji-annotations.txt. - COMMENT_PREFIX - Static variable in class opennlp.tools.util.normalizer.EmojiEmoticons
-
Starts a comment line in
emoji-emoticons.txt. - ComparableEvent - Class in opennlp.tools.ml.model
-
A maxent event representation which we can use to sort based on the predicates indexes contained in the events.
- ComparableEvent(int, int[]) - Constructor for class opennlp.tools.ml.model.ComparableEvent
- ComparableEvent(int, int[], float[]) - Constructor for class opennlp.tools.ml.model.ComparableEvent
- ComparablePredicate - Class in opennlp.tools.ml.model
-
A maxent predicate representation which we can use to sort based on the outcomes.
- ComparablePredicate(String, int[], double[]) - Constructor for class opennlp.tools.ml.model.ComparablePredicate
- compareTo(BeamSearch.SearchNode) - Method in class opennlp.tools.ml.BeamSearch.SearchNode
-
Orders nodes by descending score, mirroring
Sequence.compareTo(Sequence). - compareTo(ComparableEvent) - Method in class opennlp.tools.ml.model.ComparableEvent
- compareTo(ComparablePredicate) - Method in class opennlp.tools.ml.model.ComparablePredicate
- compareTo(Parse) - Method in class opennlp.tools.parser.Parse
- compareTo(Sequence) - Method in class opennlp.tools.util.Sequence
- compareTo(Span) - Method in class opennlp.tools.util.Span
-
Compares the specified
Spanto the current span. - compareToIgnoreCase(StringList) - Method in class opennlp.tools.util.StringList
-
Compares to
token listand ignores the case of the tokens. - CompatibilityMode - Enum Class in opennlp.tools.util
-
Selects, for the classes that corrected their output in 3.0.0, between the corrected output and the output of the 1.x/2.x releases.
- CompatibilityMode() - Constructor for enum class opennlp.tools.util.CompatibilityMode
- compile(String) - Static method in class opennlp.tools.tokenize.lang.Factory
-
Returns the compiled alphanumeric expression of an earlier release.
- compile(String[]) - Static method in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules
- compileAll() - Static method in class opennlp.tools.tokenize.lang.Factory
-
Returns the
Factory.LEGACY_EXPRESSIONScompiled once, withFactory.DEFAULT_ALPHANUMERICfor the default policy. - complete() - Method in class opennlp.tools.parser.Parse
- COMPLETE - Static variable in class opennlp.tools.parser.AbstractBottomUpParser
-
Outcome used when a constituent is complete.
- completeIndex - Variable in class opennlp.tools.parser.chunking.Parser
- completeIndex - Variable in class opennlp.tools.parser.treeinsert.Parser
- completeParses - Variable in class opennlp.tools.parser.AbstractBottomUpParser
- COMPLEX_PREFIXES_TAG - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- complexPrefixes - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary.AffixFile
- complexPrefixes - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- complexPrefixes() - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Returns whether prefix continuation allows an additional prefix level.
- COMPONENT - Enum constant in enum class opennlp.tools.util.normalizer.EmojiCategory
-
Upstream group
Component: skin tone and hair components, not free-standing symbols. - COMPONENT_NAME - Static variable in class opennlp.tools.chunker.ChunkerModel
- COMPONENT_NAME - Static variable in class opennlp.tools.depparse.DependencyModel
-
The component name recorded in the model manifest.
- COMPONENT_NAME - Static variable in class opennlp.tools.depparse.FeedforwardDependencyModel
-
The component name recorded in the model manifest.
- COMPONENT_NAME - Static variable in class opennlp.tools.doccat.DoccatModel
- COMPONENT_NAME - Static variable in class opennlp.tools.langdetect.LanguageDetectorModel
- COMPONENT_NAME - Static variable in class opennlp.tools.lemmatizer.LemmatizerModel
- COMPONENT_NAME - Static variable in class opennlp.tools.namefind.TokenNameFinderModel
- COMPONENT_NAME - Static variable in class opennlp.tools.parser.ParserModel
- COMPONENT_NAME - Static variable in class opennlp.tools.postag.POSModel
- COMPONENT_NAME - Static variable in class opennlp.tools.sentdetect.SentenceModel
- COMPONENT_NAME - Static variable in class opennlp.tools.sentiment.SentimentModel
- COMPONENT_NAME - Static variable in class opennlp.tools.tokenize.BPEModel
-
The component name for this model type.
- COMPONENT_NAME - Static variable in class opennlp.tools.tokenize.TokenizerModel
- COMPONENT_NAME_PROPERTY - Static variable in class opennlp.tools.util.model.BaseModel
- COMPONENT_RECORD - Static variable in class opennlp.tools.util.normalizer.UnicodeEmojiSequences
-
Prefix of a record holding one
Emoji_Componentcode point range. - componentName - Variable in class opennlp.tools.util.model.BaseModel
- componentRanges - Variable in class opennlp.tools.util.normalizer.UnicodeEmojiSequences
- COMPOUND_MORE_SUFFIXES_TAG - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- COMPOUND_PART_FIELD - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Field prefix of a compound part in an analysis.
- COMPOUND_PATTERN_TAG - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- COMPOUND_ROOT_TAG - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- COMPOUND_RULE_TAG - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- COMPOUND_SYLLABLE_TAG - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- compoundBegin - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary.AffixFile
- compoundBegin - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- compoundCaseAllowed(int[], String) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Checks a closing entry's capitalization requirement.
- compoundEnd - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary.AffixFile
- compoundEnd - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- compoundFlag - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary.AffixFile
- compoundFlag - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- compoundForbid - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary.AffixFile
- compoundForbid - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- compoundMiddle - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary.AffixFile
- compoundMiddle - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- compoundMin - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary.AffixFile
- compoundMin - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- compoundMin() - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Returns the smallest length a compound part may have.
- compoundMoreSuffixes - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary.AffixFile
- compoundMoreSuffixes - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- compoundMoreSuffixes() - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Returns whether compounds permit an additional suffix level.
- compoundOnly(HunspellDictionary.Affix) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Checks whether an affix applies only inside compounds: it carries the
ONLYINCOMPOUNDflag among its continuation classes. - CompoundPart(String, String, int[], List<HunspellDictionary.Affix>, List<String>) - Constructor for record class opennlp.tools.stemmer.hunspell.HunspellStemmer.CompoundPart
-
Creates an instance of a
CompoundPartrecord class. - CompoundPattern(String, int, String, int, boolean, String) - Constructor for record class opennlp.tools.stemmer.hunspell.HunspellDictionary.CompoundPattern
-
Creates an instance of a
CompoundPatternrecord class. - compoundPatterns - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary.AffixFile
- compoundPatterns - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- compoundPatterns() - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Returns the compound-boundary patterns.
- compoundPermit - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary.AffixFile
- compoundPermit - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- CompoundPosition() - Constructor for enum class opennlp.tools.stemmer.hunspell.HunspellDictionary.CompoundPosition
- compoundRoot - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary.AffixFile
- compoundRoot - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- compoundRules - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary.AffixFile
- compoundRules - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- compoundRules() - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Returns the parsed independent compound flag patterns.
- compoundsDeclared() - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Returns whether the affix file declares any compounding flag at all.
- compoundSizeAllowed(int, int) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Checks word and syllable limits on a completed compound.
- compoundSyllables(String, int[], List<HunspellDictionary.Affix>, boolean) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Calculates a component's contribution to the compound syllable limit.
- compoundUnits(int[], List<HunspellDictionary.Affix>) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Counts an entry toward COMPOUNDWORDMAX.
- compoundVowels - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary.AffixFile
- compoundVowels - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- compoundWordMax - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary.AffixFile
- compoundWordMax - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- compoundWordMax() - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Returns the largest number of parts a compound may have.
- compressOutcomes(ComparablePredicate[]) - Method in class opennlp.tools.ml.AbstractMLModelWriter
-
Compresses outcome patterns.
- computeCategoryRuns(String, int, int, CategoryTable.CategoryAssignment[], int[]) - Method in class opennlp.tools.tokenize.lattice.LatticeTokenizer
-
Computes the per-position categories and connected-category run end for one stretch, in one right-to-left pass over the code points.
- computeDirection(double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
-
L-BFGS two-loop recursion, see Nocedal invalid input: '&' Wright 2006, Numerical Optimization, p.
- computeEventCounts(ObjectStream<Event>, DataOutputStream, Map<String, Integer>, int) - Method in class opennlp.tools.ml.model.TwoPassDataIndexer
-
Reads events from eventStream into a linked list.
- computeEventCounts(ObjectStream<Event>, Map<String, Integer>, int) - Method in class opennlp.tools.ml.model.OnePassDataIndexer
-
Reads events from eventStream into a linked list.
- computeInParallel(double[], Class<? extends ParallelNegLogLikelihood.ComputeTask>) - Method in class opennlp.tools.ml.maxent.quasinewton.ParallelNegLogLikelihood
-
Computes the specified tasks in parallel.
- computeOutcomePatterns(ComparablePredicate[]) - Method in class opennlp.tools.ml.AbstractMLModelWriter
-
Computes outcome patterns from an array of
ComparablePredicateinstances. - computePseudoGrad(double[], double[], double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
-
Conducts pseudo-gradient for L1-regularization.
- computeShortestEditScript(String, String, int[][], StringBuffer) - Static method in class opennlp.tools.util.StringUtil
-
Computes the Shortest Edit Script (SES) to convert a word into its lemma.
- ComputeTask(int, int, int, double[]) - Constructor for class opennlp.tools.ml.maxent.quasinewton.ParallelNegLogLikelihood.ComputeTask
- concatenateObjectStream(Collection<ObjectStream<T>>) - Static method in class opennlp.tools.util.ObjectStreamUtils
-
Creates a single concatenated
ObjectStreamfrom multiple individualstreamswith the same typeObjectStreamUtils. - concatenateObjectStream(ObjectStream<T>...) - Static method in class opennlp.tools.util.ObjectStreamUtils
-
Creates a single concatenated
ObjectStreamfrom multiple individualstreamswith the same type. - condition - Variable in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.Affix
-
The field for the
conditionrecord component. - condition() - Method in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.Affix
-
Returns the value of the
conditionrecord component. - confidence - Variable in class opennlp.tools.langdetect.Language
- confidence - Variable in class opennlp.tools.ml.naivebayes.Probabilities
- config - Variable in class opennlp.tools.formats.brat.BratAnnotationStream
- config - Variable in class opennlp.tools.formats.brat.BratDocument
- config - Variable in class opennlp.tools.formats.brat.BratDocumentStream
- ConfigurablePOSContextGenerator - Class in opennlp.tools.postag
-
A configurable
context generatorfor aPOSTagger. - ConfigurablePOSContextGenerator(int, AdaptiveFeatureGenerator) - Constructor for class opennlp.tools.postag.ConfigurablePOSContextGenerator
-
Initializes a
ConfigurablePOSContextGeneratorinstance with an optional per-thread context cache. - ConfigurablePOSContextGenerator(AdaptiveFeatureGenerator) - Constructor for class opennlp.tools.postag.ConfigurablePOSContextGenerator
-
Initializes a
ConfigurablePOSContextGeneratorinstance. - ConfigurablePOSContextGenerator.CacheState - Class in opennlp.tools.postag
- configuration - Variable in class opennlp.tools.util.ext.Providers
- CONFIGURATION_FILE - Static variable in class opennlp.tools.tokenize.lattice.MecabDictionary
- CONFIGURATION_FILE - Static variable in class opennlp.tools.util.ext.Providers
-
The resource read for configuration keys, once per lookup and class loader, encoded in UTF-8.
- CONFIGURATION_KEY_PREFIX - Static variable in class opennlp.tools.util.ext.Providers
-
The prefix of the configuration key that selects a provider by name for
Providers.select(opennlp.tools.util.ext.ProviderSpec). - ConfigurationFile(URL, Properties, int) - Constructor for record class opennlp.tools.util.ext.Providers.ConfigurationFile
-
Creates an instance of a
ConfigurationFilerecord class. - configurationKey - Variable in class opennlp.tools.util.ext.Providers
- configurationKey() - Method in class opennlp.tools.util.ext.Providers
- configured(String) - Method in class opennlp.tools.util.ext.Providers
-
Reads a configuration key through the source of this instance.
- configuredName() - Method in class opennlp.tools.util.ext.Providers
- ConfinedStemmer(AbstractSnowballStemmer, int) - Constructor for class opennlp.tools.stemmer.snowball.SnowballStemmerFactory.ConfinedStemmer
-
Creates a thread-confined stemmer over the given engine.
- confusable(CharSequence, CharSequence) - Static method in class opennlp.tools.util.normalizer.Confusables
-
Returns whether
leftandrightare confusable. - CONFUSABLE_FOLD - Enum constant in enum class opennlp.tools.util.normalizer.Dimension
-
Confusable (homoglyph) skeleton folding per UTS #39; lossy, for matching only.
- confusableFold() - Method in class opennlp.tools.util.normalizer.TermAnalyzer.Builder
-
Enables
Dimension.CONFUSABLE_FOLD. - Confusables - Class in opennlp.tools.util.normalizer
-
Computes the Unicode confusable skeleton of text, following the skeleton algorithm defined in UTS #39 (Unicode Security Mechanisms).
- Confusables() - Constructor for class opennlp.tools.util.normalizer.Confusables
- Confusables.Data - Record Class in opennlp.tools.util.normalizer
- ConfusableSkeletonCharSequenceNormalizer - Class in opennlp.tools.util.normalizer
-
A
CharSequenceNormalizerthat reduces text to its Unicode confusable skeleton (UTS #39). - ConfusableSkeletonCharSequenceNormalizer() - Constructor for class opennlp.tools.util.normalizer.ConfusableSkeletonCharSequenceNormalizer
- Conll02NameSampleStream - Class in opennlp.tools.formats
-
Parser for the Dutch and Spanish ner training files of the CONLL 2002 shared task.
- Conll02NameSampleStream(Conll02NameSampleStream.LANGUAGE, InputStreamFactory, int) - Constructor for class opennlp.tools.formats.Conll02NameSampleStream
-
Initializes a
Conll02NameSampleStream. - Conll02NameSampleStream(Conll02NameSampleStream.LANGUAGE, ObjectStream<String>, int) - Constructor for class opennlp.tools.formats.Conll02NameSampleStream
-
Initializes a
Conll02NameSampleStream. - Conll02NameSampleStream.LANGUAGE - Enum Class in opennlp.tools.formats
- Conll02NameSampleStreamFactory - Class in opennlp.tools.formats
-
Note: Do not use this class, internal use only!
- Conll02NameSampleStreamFactory(Class<Conll02NameSampleStreamFactory.Parameters>) - Constructor for class opennlp.tools.formats.Conll02NameSampleStreamFactory
- Conll02NameSampleStreamFactory.Parameters - Interface in opennlp.tools.formats
- Conll03NameSampleStream - Class in opennlp.tools.formats
-
An import stream which can parse the CONLL03 data.
- Conll03NameSampleStream(Conll03NameSampleStream.LANGUAGE, InputStreamFactory, int) - Constructor for class opennlp.tools.formats.Conll03NameSampleStream
-
Initializes a
Conll03NameSampleStream. - Conll03NameSampleStream(Conll03NameSampleStream.LANGUAGE, ObjectStream<String>, int) - Constructor for class opennlp.tools.formats.Conll03NameSampleStream
-
Initializes a
Conll03NameSampleStream. - Conll03NameSampleStream.LANGUAGE - Enum Class in opennlp.tools.formats
- Conll03NameSampleStreamFactory - Class in opennlp.tools.formats
- Conll03NameSampleStreamFactory(Class<Conll03NameSampleStreamFactory.Parameters>) - Constructor for class opennlp.tools.formats.Conll03NameSampleStreamFactory
- Conll03NameSampleStreamFactory.Parameters - Interface in opennlp.tools.formats
- CONLLU_FORMAT - Static variable in class opennlp.tools.formats.conllu.ConlluPOSSampleStreamFactory
- ConlluDependencySampleStream - Class in opennlp.tools.formats.conllu
- ConlluDependencySampleStream(InputStreamFactory, ConlluTagset) - Constructor for class opennlp.tools.formats.conllu.ConlluDependencySampleStream
-
Initializes the stream.
- ConlluDependencySampleStreamFactory - Class in opennlp.tools.formats.conllu
-
Creates
ConlluDependencySampleStreaminstances for the command line tools. - ConlluDependencySampleStreamFactory(Class<ConlluDependencySampleStreamFactory.Parameters>) - Constructor for class opennlp.tools.formats.conllu.ConlluDependencySampleStreamFactory
-
Initializes the factory.
- ConlluDependencySampleStreamFactory.Parameters - Interface in opennlp.tools.formats.conllu
-
The command line parameters of the CoNLL-U dependency format.
- ConlluLemmaSampleStream - Class in opennlp.tools.formats.conllu
- ConlluLemmaSampleStream(ObjectStream<ConlluSentence>, ConlluTagset) - Constructor for class opennlp.tools.formats.conllu.ConlluLemmaSampleStream
-
Initializes a
ConlluLemmaSampleStream. - ConlluLemmaSampleStreamFactory - Class in opennlp.tools.formats.conllu
-
Note: Do not use this class, internal use only!
- ConlluLemmaSampleStreamFactory(Class<ConlluLemmaSampleStreamFactory.Parameters>) - Constructor for class opennlp.tools.formats.conllu.ConlluLemmaSampleStreamFactory
- ConlluLemmaSampleStreamFactory.Parameters - Interface in opennlp.tools.formats.conllu
- ConlluPOSSampleStream - Class in opennlp.tools.formats.conllu
- ConlluPOSSampleStream(ObjectStream<ConlluSentence>, ConlluTagset) - Constructor for class opennlp.tools.formats.conllu.ConlluPOSSampleStream
-
Initializes a
ConlluPOSSampleStream. - ConlluPOSSampleStreamFactory - Class in opennlp.tools.formats.conllu
-
Note: Do not use this class, internal use only!
- ConlluPOSSampleStreamFactory(Class<ConlluPOSSampleStreamFactory.Parameters>) - Constructor for class opennlp.tools.formats.conllu.ConlluPOSSampleStreamFactory
- ConlluPOSSampleStreamFactory.Parameters - Interface in opennlp.tools.formats.conllu
- ConlluSentence - Class in opennlp.tools.formats.conllu
- ConlluSentence(List<ConlluWordLine>, String, String) - Constructor for class opennlp.tools.formats.conllu.ConlluSentence
- ConlluSentence(List<ConlluWordLine>, String, String, boolean, String, boolean, String, Map<Locale, String>, String) - Constructor for class opennlp.tools.formats.conllu.ConlluSentence
- ConlluSentenceSampleStream - Class in opennlp.tools.formats.conllu
- ConlluSentenceSampleStream(ObjectStream<ConlluSentence>, int) - Constructor for class opennlp.tools.formats.conllu.ConlluSentenceSampleStream
-
Initializes a
ConlluSentenceSampleStream. - ConlluSentenceSampleStreamFactory - Class in opennlp.tools.formats.conllu
-
Note: Do not use this class, internal use only!
- ConlluSentenceSampleStreamFactory(Class<ConlluSentenceSampleStreamFactory.Parameters>) - Constructor for class opennlp.tools.formats.conllu.ConlluSentenceSampleStreamFactory
- ConlluSentenceSampleStreamFactory.Parameters - Interface in opennlp.tools.formats.conllu
- ConlluStream - Class in opennlp.tools.formats.conllu
-
The CoNNL-U Format is specified here.
- ConlluStream(InputStreamFactory) - Constructor for class opennlp.tools.formats.conllu.ConlluStream
-
Initializes a
ConlluStream. - ConlluStream.MultiwordRange - Record Class in opennlp.tools.formats.conllu
-
The token range a multiword token line covers.
- ConlluTagset - Enum Class in opennlp.tools.formats.conllu
-
The part-of-speech tag column of a CoNLL-U file: the universal tags or the language-specific tags.
- ConlluTagset(String) - Constructor for enum class opennlp.tools.formats.conllu.ConlluTagset
- ConlluTokenSampleStream - Class in opennlp.tools.formats.conllu
- ConlluTokenSampleStream(ObjectStream<ConlluSentence>) - Constructor for class opennlp.tools.formats.conllu.ConlluTokenSampleStream
-
Initializes a
ConlluTokenSampleStream. - ConlluTokenSampleStreamFactory - Class in opennlp.tools.formats.conllu
-
Note: Do not use this class, internal use only!
- ConlluTokenSampleStreamFactory(Class<ConlluTokenSampleStreamFactory.Parameters>) - Constructor for class opennlp.tools.formats.conllu.ConlluTokenSampleStreamFactory
- ConlluTokenSampleStreamFactory.Parameters - Interface in opennlp.tools.formats.conllu
- ConlluWordLine - Class in opennlp.tools.formats.conllu
- ConlluWordLine(String) - Constructor for class opennlp.tools.formats.conllu.ConlluWordLine
- ConlluWordLine(String, String, String, String, String, String, String, String, String, String) - Constructor for class opennlp.tools.formats.conllu.ConlluWordLine
- CONLLX_FORMAT - Static variable in class opennlp.tools.formats.ConllXPOSSampleStreamFactory
- ConllXPOSSampleStream - Class in opennlp.tools.formats
-
Parses the data from the CONLL 06 shared task into POS Samples.
- ConllXPOSSampleStream(InputStreamFactory, Charset) - Constructor for class opennlp.tools.formats.ConllXPOSSampleStream
-
Initializes a
ConllXPOSSampleStream. - ConllXPOSSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.formats.ConllXPOSSampleStream
-
Initializes a
ConllXPOSSampleStream. - ConllXPOSSampleStreamFactory - Class in opennlp.tools.formats
-
Note: Do not use this class, internal use only!
- ConllXPOSSampleStreamFactory(Class<ConllXPOSSampleStreamFactory.Parameters>) - Constructor for class opennlp.tools.formats.ConllXPOSSampleStreamFactory
- ConllXPOSSampleStreamFactory.Parameters - Interface in opennlp.tools.formats
- ConllXSentenceSampleStreamFactory - Class in opennlp.tools.formats
-
Note: Do not use this class, internal use only!
- ConllXSentenceSampleStreamFactory(Class<ConllXSentenceSampleStreamFactory.Parameters>) - Constructor for class opennlp.tools.formats.ConllXSentenceSampleStreamFactory
- ConllXSentenceSampleStreamFactory.Parameters - Interface in opennlp.tools.formats
- ConllXTokenSampleStreamFactory - Class in opennlp.tools.formats
-
Note: Do not use this class, internal use only!
- ConllXTokenSampleStreamFactory(Class<ConllXTokenSampleStreamFactory.Parameters>) - Constructor for class opennlp.tools.formats.ConllXTokenSampleStreamFactory
- ConllXTokenSampleStreamFactory.Parameters - Interface in opennlp.tools.formats
- connectionCost(int, int) - Method in class opennlp.tools.tokenize.lattice.MecabDictionary
-
Reads the connection cost between two adjacent nodes.
- connectionCosts - Variable in class opennlp.tools.tokenize.lattice.MecabDictionary
- connectTimeout - Variable in class opennlp.tools.util.ResourceInstaller.Limits.Builder
- connectTimeout - Variable in record class opennlp.tools.util.ResourceInstaller.Limits
-
The field for the
connectTimeoutrecord component. - connectTimeout() - Method in record class opennlp.tools.util.ResourceInstaller.Limits
-
Returns the value of the
connectTimeoutrecord component. - connectTimeout(Duration) - Method in class opennlp.tools.util.ResourceInstaller.Limits.Builder
-
Sets how long to wait for a connection to be established.
- cons - Variable in class opennlp.tools.formats.frenchtreebank.ConstitDocumentHandler
- cons - Variable in class opennlp.tools.parser.Cons
- cons(int) - Method in class opennlp.tools.stemmer.PorterStemmer
- cons(Parse, int) - Method in class opennlp.tools.parser.AbstractContextGenerator
- Cons - Class in opennlp.tools.parser
-
Holds feature information about a specific
Parsenode. - Cons(String, String, int, boolean) - Constructor for class opennlp.tools.parser.Cons
- cons2(List<String>, Cons, Cons, Collection<Parse>, boolean) - Method in class opennlp.tools.parser.AbstractContextGenerator
- cons3(List<String>, Cons, Cons, Cons, Collection<Parse>, Collection<Parse>, boolean, boolean, boolean) - Method in class opennlp.tools.parser.AbstractContextGenerator
-
Creates cons features involving the 3 specified nodes and adds them to the specified feature list.
- consbo - Variable in class opennlp.tools.parser.Cons
- consbo(Parse, int) - Method in class opennlp.tools.parser.AbstractContextGenerator
- ConstitDocumentHandler - Class in opennlp.tools.formats.frenchtreebank
- ConstitDocumentHandler(List<Parse>) - Constructor for class opennlp.tools.formats.frenchtreebank.ConstitDocumentHandler
- ConstitParseSampleStream - Class in opennlp.tools.formats.frenchtreebank
- ConstitParseSampleStream(ObjectStream<byte[]>) - Constructor for class opennlp.tools.formats.frenchtreebank.ConstitParseSampleStream
-
Initializes a
ConstitParseSampleStream. - ConstitParseSampleStreamFactory - Class in opennlp.tools.formats.frenchtreebank
-
Note: Do not use this class, internal use only!
- ConstitParseSampleStreamFactory() - Constructor for class opennlp.tools.formats.frenchtreebank.ConstitParseSampleStreamFactory
- ConstitParseSampleStreamFactory.Parameters - Interface in opennlp.tools.formats.frenchtreebank
- Constituent - Class in opennlp.tools.parser
-
Holds constituents when reading
parses. - Constituent(String, Span) - Constructor for class opennlp.tools.parser.Constituent
- constructModel() - Method in class opennlp.tools.ml.maxent.io.GISModelReader
-
Retrieves a model from disk.
- constructModel() - Method in class opennlp.tools.ml.maxent.io.QNModelReader
-
Retrieves a model from disk.
- constructModel() - Method in class opennlp.tools.ml.model.AbstractModelReader
-
Constructs a
model. - constructModel() - Method in class opennlp.tools.ml.model.GenericModelReader
- constructModel() - Method in class opennlp.tools.ml.naivebayes.NaiveBayesModelReader
-
Constructs a
model. - constructModel() - Method in class opennlp.tools.ml.perceptron.PerceptronModelReader
-
Constructs a
model. - consult(CharSequence, int, int, int, int, int, int, WordBreakProperty.Data) - Static method in class opennlp.tools.tokenize.uax29.WordSegmenter
- CONSULT - Static variable in class opennlp.tools.tokenize.uax29.WordSegmenter
- consumeBounded(InputStream, ResourceInstaller.Budget) - Static method in class opennlp.tools.util.ResourceInstaller
-
Reads and discards an entry while charging each byte against the expansion limit.
- CONT - Static variable in class opennlp.tools.parser.AbstractBottomUpParser
-
Prefix for outcomes continuing a constituent.
- contains(int) - Method in class opennlp.tools.ml.model.MutableContext
- contains(int) - Method in class opennlp.tools.util.normalizer.CharClass
-
Tests membership.
- contains(int) - Method in class opennlp.tools.util.normalizer.CodePointSet
-
Tests membership.
- contains(int) - Method in class opennlp.tools.util.Span
-
An index with the value of end is considered outside the
Span. - contains(int[], int) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Checks one flag set for a flag.
- contains(CharSequence) - Method in class opennlp.tools.ngram.NGramCharModel
-
Checks if the given
ngramis contained in aNGramCharModel. - contains(String) - Method in class opennlp.tools.dictionary.Index
-
Checks if at least one
StringListcontains the specifiedtoken. - contains(String[], String) - Method in class opennlp.tools.util.ext.ProviderSpec
- contains(Span) - Method in class opennlp.tools.util.Span
-
Identical
spansare considered to contain each other. - contains(StringList) - Method in class opennlp.tools.dictionary.Dictionary
-
Checks if this dictionary has the given entry.
- contains(StringList) - Method in class opennlp.tools.ngram.NGramModel
-
Checks fit he given tokens are contained by the current instance.
- CONTAINS_COMMA - Static variable in class opennlp.tools.util.featuregen.StringPattern
- CONTAINS_DIGIT - Static variable in class opennlp.tools.util.featuregen.StringPattern
- CONTAINS_HYPHEN - Static variable in class opennlp.tools.util.featuregen.StringPattern
- CONTAINS_LETTERS - Static variable in class opennlp.tools.util.featuregen.StringPattern
- CONTAINS_PERIOD - Static variable in class opennlp.tools.util.featuregen.StringPattern
- CONTAINS_SLASH - Static variable in class opennlp.tools.util.featuregen.StringPattern
- CONTAINS_UPPERCASE - Static variable in class opennlp.tools.util.featuregen.StringPattern
- containsAny(CharSequence, int, int, CodePointSet) - Static method in class opennlp.tools.util.normalizer.CharClass
-
Tests whether a code point of
setoccurs in a range oftext. - containsAnyNullInWindow(String[], int, int) - Static method in class opennlp.tools.stopword.DictionaryStopwordFilter
- containsAsciiDigit(CharSequence) - Static method in class opennlp.tools.util.StringUtil
-
Tests whether
inputcontains an ASCII digit,0to9. - containsAsciiUpperCase(CharSequence) - Static method in class opennlp.tools.util.StringUtil
-
Tests whether
inputcontains an ASCII capital letter,AtoZ. - containsComma() - Method in class opennlp.tools.util.featuregen.StringPattern
- containsDigit() - Method in class opennlp.tools.util.featuregen.StringPattern
- containsHyphen() - Method in class opennlp.tools.util.featuregen.StringPattern
- containsLetterOrDigit(String) - Method in class opennlp.tools.tokenize.lang.en.TokenSampleStream
-
Checks whether a token contains a letter or a decimal digit, by code point.
- containsLetters() - Method in class opennlp.tools.util.featuregen.StringPattern
- containsNonAsciiLetter(String) - Method in class opennlp.tools.util.featuregen.TokenPatternFeatureGenerator
-
Tests whether a token contains a character that is not an ASCII letter.
- containsPathCharacter(String) - Static method in class opennlp.tools.util.ResourceInstaller
-
Checks a name for a path separator or a NUL character.
- containsPeriod() - Method in class opennlp.tools.util.featuregen.StringPattern
- containsPunct(Collection<Parse>, String) - Method in class opennlp.tools.parser.treeinsert.AttachContextGenerator
- containsSlash() - Method in class opennlp.tools.util.featuregen.StringPattern
- content - Variable in record class opennlp.tools.util.ext.Providers.ConfigurationFile
-
The field for the
contentrecord component. - content() - Method in record class opennlp.tools.util.ext.Providers.ConfigurationFile
-
Returns the value of the
contentrecord component. - CONTENT_ELEMENTS - Static variable in class opennlp.tools.formats.muc.MucElementNames
- ContentHandler() - Constructor for class opennlp.tools.formats.muc.SgmlParser.ContentHandler
- context - Variable in record class opennlp.tools.langdetect.LanguageSample
-
The field for the
contextrecord component. - context - Variable in class opennlp.tools.ml.model.Event
- context() - Method in record class opennlp.tools.langdetect.LanguageSample
-
Returns the value of the
contextrecord component. - Context - Class in opennlp.tools.ml.model
-
Class which associates a real valued parameter or expected value with a particular contextual predicate or feature.
- Context(int[], double[]) - Constructor for class opennlp.tools.ml.model.Context
-
Creates a new parameters object with the specified parameters associated with the specified outcome pattern.
- contextGenerator - Variable in class opennlp.tools.chunker.ChunkerME
- contextGenerator - Variable in class opennlp.tools.chunker.ChunkSampleSequenceStream
- contextGenerator - Variable in class opennlp.tools.depparse.DependencyEventStream
- contextGenerator - Variable in class opennlp.tools.depparse.DependencyParserME
- contextGenerator - Variable in class opennlp.tools.lemmatizer.LemmaSampleEventStream
- contextGenerator - Variable in class opennlp.tools.lemmatizer.LemmaSampleSequenceStream
- contextGenerator - Variable in class opennlp.tools.lemmatizer.LemmatizerME
- contextGenerator - Variable in class opennlp.tools.namefind.NameFinderEventStream
- contextGenerator - Variable in class opennlp.tools.namefind.NameFinderME
- contextGenerator - Variable in class opennlp.tools.sentiment.SentimentEventStream
- contextGenerator - Variable in class opennlp.tools.sentiment.SentimentME
- ContextGenerator<T> - Interface in opennlp.tools.ml.maxent
-
Represents a generator of contexts for maxent decisions.
- contexts - Variable in class opennlp.tools.ml.maxent.GISTrainer
-
Records the array of predicates seen in each event.
- contexts - Variable in class opennlp.tools.ml.maxent.quasinewton.NegLogLikelihood
- contexts - Variable in class opennlp.tools.ml.model.AbstractDataIndexer
-
The integer contexts associated with each unique event.
- contexts - Variable in record class opennlp.tools.ml.model.EventFields.EventLine
-
The field for the
contextsrecord component. - contexts - Variable in class opennlp.tools.ml.naivebayes.NaiveBayesTrainer
-
Records the array of predicates seen in each event.
- contexts - Variable in class opennlp.tools.ml.perceptron.PerceptronTrainer
-
Records the array of predicates seen in each event.
- contexts() - Method in record class opennlp.tools.ml.model.EventFields.EventLine
-
Returns the value of the
contextsrecord component. - contextsCache - Variable in class opennlp.tools.parser.ChunkContextGenerator
- continuation - Variable in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.Affix
-
The field for the
continuationrecord component. - continuation() - Method in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.Affix
-
Returns the value of the
continuationrecord component. - CONTINUATION_PREFIX - Static variable in class opennlp.tools.tokenize.BertNormalization
-
The wordpiece vocabulary convention: a piece with this prefix continues the current word, so it can only match after the word's first piece.
- continuationPieces - Variable in class opennlp.tools.tokenize.WordpieceEncoder
- CONTINUE - Static variable in class opennlp.tools.namefind.BilouCodec
- CONTINUE - Static variable in class opennlp.tools.namefind.BioCodec
- CONTINUE - Static variable in class opennlp.tools.namefind.NameFinderME
- continuedRunEnd(CategoryTable.CategoryAssignment, int, int) - Method in class opennlp.tools.tokenize.lattice.CategoryTable.CategoryAssignment
-
Computes the run end after comparing this assignment with the next character.
- continueStartMap - Variable in class opennlp.tools.parser.ParserChunkerSequenceValidator
- CONTRACTIONS - Static variable in class opennlp.tools.formats.ad.PortugueseContractionUtility
- contribution(int, int) - Method in class opennlp.tools.depparse.ContributionCache
-
Returns the cached hidden-layer contribution of one pair, computing and publishing it on first sight while the budget lasts.
- ContributionCache - Class in opennlp.tools.depparse
-
Caches the hidden-layer contribution of each (feature position, embedding row) pair a
FeedforwardDependencyParserscores, within a byte budget. - ContributionCache(FeedforwardNetwork, long) - Constructor for class opennlp.tools.depparse.ContributionCache
-
Allocates the tables of a cache.
- contTypeMap - Variable in class opennlp.tools.parser.chunking.Parser
- CONVERGE_TOLERANCE - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
- CONVERSION_TABLE_PENN_TO_UD - Static variable in class opennlp.tools.postag.POSTagFormatMapper
- CONVERSION_TABLE_UD_TO_PENN - Static variable in class opennlp.tools.postag.POSTagFormatMapper
- convert(List<String[]>) - Method in class opennlp.tools.formats.conllu.ConlluDependencySampleStream
-
Converts one sentence into a sample.
- convertFuncTag(String, boolean) - Static method in class opennlp.tools.formats.ad.ADChunkSampleStream
- convertTag(String) - Method in class opennlp.tools.postag.POSTagFormatMapper
-
Converts a given tag to the specified format.
- convertTag(String) - Method in class opennlp.tools.postag.POSTagFormatMapper.NoOp
- convertTags(List<String>) - Method in class opennlp.tools.postag.POSTagFormatMapper
-
Converts a list of tags to the specified format.
- convertTags(List<String>) - Method in class opennlp.tools.postag.POSTagFormatMapper.NoOp
-
Converts a list of tags to the specified format.
- convertTags(List<String>) - Method in class opennlp.tools.postag.POSTaggerME
- convertTagsToSpans(List<String>) - Method in class opennlp.tools.formats.GermEval2014NameSampleStream
- convertToken(String) - Method in class opennlp.tools.formats.ontonotes.OntoNotesNameSampleStream
- copy() - Method in class opennlp.tools.depparse.ArcStandardState
-
Creates an independent copy, so that a search alternative can be advanced without affecting the configuration it was expanded from.
- copy() - Method in class opennlp.tools.depparse.FeedforwardNetwork
-
Creates an independent copy of this network: the weights are deep-copied and the vocabularies are shared because their maps are immutable.
- copy(InputStream, Path) - Static method in class opennlp.tools.util.ResourceInstaller
-
Copies the stream into the file.
- copy_from(SnowballProgram) - Method in class opennlp.tools.stemmer.snowball.SnowballProgram
- copyBounded(InputStream, Path, ResourceInstaller.Budget) - Static method in class opennlp.tools.util.ResourceInstaller
-
Copies the stream into the file, charging every byte against the budget before it is written, so an oversized transfer aborts within one buffer of its limit.
- copyOf(float[][]) - Static method in class opennlp.tools.depparse.FeedforwardNetwork
-
Deep-copies a matrix, row by row.
- copyValidated(LayerKey<T>, Document) - Method in class opennlp.tools.document.ImmutableDocument
-
Returns a validated immutable copy of one of
from's layers, capturing the key's value type. - copyVocabulary(Set<String>) - Method in class opennlp.tools.tokenize.WordpieceTokenizer
-
Validates and copies a vocabulary.
- correctionConstant - Variable in class opennlp.tools.ml.model.EvalParameters
-
The maximum number of features fired in an event.
- correctlyClassified(T, T) - Method in interface opennlp.tools.util.eval.EvaluationMonitor
- cost - Variable in record class opennlp.tools.tokenize.lattice.MecabDictionary.WordEntry
-
The field for the
costrecord component. - cost() - Method in record class opennlp.tools.tokenize.lattice.MecabDictionary.WordEntry
-
Returns the value of the
costrecord component. - count - Variable in class opennlp.tools.util.eval.Mean
-
The number of times a value was added.
- count - Variable in class opennlp.tools.util.normalizer.Alignment.Builder
- count() - Method in class opennlp.tools.util.eval.Mean
- count(String, int) - Static method in record class opennlp.tools.termvector.TermVector
-
Creates a scoring-only
TermVectorthat carries the occurrence count without any offsets. - count(StringList, Iterable<StringList>) - Static method in class opennlp.tools.ngram.NGramUtils
- COUNT - Static variable in class opennlp.tools.ngram.NGramCharModel
- COUNT - Static variable in class opennlp.tools.ngram.NGramModel
- countLogicalLineBreaks(CharSequence, int, int, CodePointSet) - Method in class opennlp.tools.util.normalizer.CharClass
-
Counts logical line breaks in a whitespace run.
- countSyllables(String) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Counts code points listed by COMPOUNDSYLLABLE.
- countTruePositives(Object[], Object[]) - Static method in class opennlp.tools.util.eval.FMeasure
-
This method counts the number of objects which are equal and occur in the references and predictions arrays.
- countVectors(List<Annotation<String>>, AlignedText, String) - Method in class opennlp.tools.termvector.TermVectorAnnotator
-
Aggregates the tokens into scoring-only term vectors, so no offset storage is ever allocated.
- coveredText - Variable in class opennlp.tools.formats.brat.SpanAnnotation
- cprobs - Variable in class opennlp.tools.parser.chunking.Parser
- cprobs - Variable in class opennlp.tools.parser.treeinsert.Parser
- CR - Enum constant in enum class opennlp.tools.tokenize.uax29.WordBreak
-
Carriage return (
U+000D). - CR_ORDINAL - Static variable in class opennlp.tools.tokenize.uax29.WordSegmenter
- create() - Method in class opennlp.tools.util.featuregen.AggregatedFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.BigramNameFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.BrownClusterBigramFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.BrownClusterTokenClassFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.BrownClusterTokenFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.CachedFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.CharacterNgramFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.DefinitionFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.DictionaryFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.DocumentBeginFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.EmojiAnnotationFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.PosTaggerFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.POSTaggerNameFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.PrefixFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.PreviousMapFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.SentenceFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.SuffixFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.TokenClassFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.TokenFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.TokenPatternFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.TrigramNameFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.WindowFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.WordClusterFeatureGeneratorFactory
- create(InputStream) - Method in class opennlp.tools.depparse.FeedforwardNetwork.Serializer
-
Creates an artifact from the provided
InputStream. - create(InputStream) - Method in class opennlp.tools.parser.lang.en.HeadRules.HeadRulesSerializer
- create(InputStream) - Method in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules.HeadRulesSerializer
- create(InputStream) - Method in class opennlp.tools.parser.ParserModel.HeadRulesSerializer
- create(InputStream) - Static method in class opennlp.tools.postag.POSDictionary
-
Creates a new
POSDictionaryfrom anInputStream. - create(InputStream) - Method in class opennlp.tools.postag.POSTaggerFactory.POSDictionarySerializer
- create(InputStream) - Method in class opennlp.tools.tokenize.BPETokenizerFactory.BPEMergesSerializer
- create(InputStream) - Method in class opennlp.tools.util.featuregen.BrownCluster.BrownClusterSerializer
- create(InputStream) - Method in class opennlp.tools.util.featuregen.WordClusterDictionary.WordClusterDictionarySerializer
- create(InputStream) - Method in interface opennlp.tools.util.model.ArtifactSerializer
-
Creates an artifact from the provided
InputStream. - create(InputStream) - Method in class opennlp.tools.util.model.ByteArraySerializer
- create(InputStream) - Method in class opennlp.tools.util.model.ChunkerModelSerializer
- create(InputStream) - Method in class opennlp.tools.util.model.DictionarySerializer
- create(InputStream) - Method in class opennlp.tools.util.model.GenericModelSerializer
- create(InputStream) - Method in class opennlp.tools.util.model.POSModelSerializer
- create(InputStream) - Method in class opennlp.tools.util.model.PropertiesSerializer
- create(InputStream, EntryInserter) - Static method in class opennlp.tools.dictionary.serializer.DictionaryEntryPersistor
- create(InputStream, FeatureGeneratorResourceProvider) - Static method in class opennlp.tools.util.featuregen.GeneratorFactory
-
Creates an
AdaptiveFeatureGeneratorfrom an provided XML descriptor. - create(Class<? extends BaseToolFactory>, ArtifactProvider) - Static method in class opennlp.tools.util.BaseToolFactory
-
Instantiates a
BaseToolFactoryvia a givensubclassName. - create(String) - Static method in class opennlp.tools.chunker.ChunkerFactory
-
Instantiates a
ChunkerFactoryvia a givensubclassName. - create(String) - Static method in class opennlp.tools.langdetect.LanguageDetectorFactory
-
Instantiates a
LanguageDetectorFactoryvia a givensubclassName. - create(String) - Static method in class opennlp.tools.lemmatizer.LemmatizerFactory
-
Instantiates a
LemmatizerFactoryvia a givensubclassName. - create(String[]) - Method in interface opennlp.tools.cmdline.ObjectStreamFactory
-
Creates an
ObjectStreamof the template typeT. - create(String[]) - Method in class opennlp.tools.formats.ad.ADChunkSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.ad.ADNameSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.ad.ADPOSSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.ad.ADSentenceSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.ad.ADTokenSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.BioNLP2004NameSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.brat.BratNameSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.ChunkerSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.Conll02NameSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.Conll03NameSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.conllu.ConlluDependencySampleStreamFactory
-
Creates an
ObjectStreamof the template typeT. - create(String[]) - Method in class opennlp.tools.formats.conllu.ConlluLemmaSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.conllu.ConlluPOSSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.conllu.ConlluSentenceSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.conllu.ConlluTokenSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.ConllXPOSSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.ConllXSentenceSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.ConllXTokenSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.convert.NameToSentenceSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.convert.NameToTokenSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.convert.ParseToPOSSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.convert.ParseToSentenceSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.convert.ParseToTokenSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.convert.POSToSentenceSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.convert.POSToTokenSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.DocumentSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.EvalitaNameSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.frenchtreebank.ConstitParseSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.GermEval2014NameSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankSentenceStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankTokenSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.LanguageDetectorSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.leipzig.LeipzigLanguageSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.LemmatizerSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.letsmt.LetsmtSentenceStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.masc.MascNamedEntitySampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.masc.MascPOSSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.masc.MascSentenceSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.masc.MascTokenSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.moses.MosesSentenceSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.muc.Muc6NameSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.NameSampleDataStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.nkjp.NKJPSentenceSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.ontonotes.OntoNotesNameSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.ontonotes.OntoNotesParseSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.ontonotes.OntoNotesPOSSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.ParseSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.SentenceSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.SentimentSampleStreamFactory
-
Creates a sentiment sample stream.
- create(String[]) - Method in class opennlp.tools.formats.TokenSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.TwentyNewsgroupSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.WordTagSampleStreamFactory
- create(String[], String[]) - Static method in record class opennlp.tools.util.TokenTag
- create(String, byte[], Map<String, Object>, TagDictionary) - Static method in class opennlp.tools.postag.POSTaggerFactory
-
Instantiates a
POSTaggerFactoryvia a givensubclassName. - create(String, byte[], Map<String, Object>, SequenceCodec<String>) - Static method in class opennlp.tools.namefind.TokenNameFinderFactory
-
Initializes a
TokenNameFinderFactoryinstance via given parameters. - create(String, String, boolean, Dictionary, char[]) - Static method in class opennlp.tools.sentdetect.SentenceDetectorFactory
-
Instantiates a
SentenceDetectorFactoryvia a givensubclassName. - create(String, String, Dictionary, boolean) - Static method in class opennlp.tools.tokenize.TokenizerFactory
-
Factory method the framework uses to instantiate a new
TokenizerFactorywith theTokenizerCharacterPolicyof its language. - create(String, String, Dictionary, boolean, Pattern) - Static method in class opennlp.tools.tokenize.TokenizerFactory
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
TokenizerFactory.create(String, String, Dictionary, boolean, TokenizerCharacterPolicy). This method will be removed in 4.0. - create(String, String, Dictionary, boolean, TokenizerCharacterPolicy) - Static method in class opennlp.tools.tokenize.TokenizerFactory
-
Factory method the framework uses to instantiate a new
TokenizerFactory. - create(String, Dictionary, TagDictionary) - Static method in class opennlp.tools.postag.POSTaggerFactory
-
Deprecated.
- create(String, FeatureGenerator[]) - Static method in class opennlp.tools.doccat.DoccatFactory
-
Factory method the framework uses create a new
DoccatFactory. - create(String, ArtifactProvider) - Static method in class opennlp.tools.util.BaseToolFactory
-
Instantiates a
BaseToolFactoryvia a givensubclassName. - create(ParserModel) - Static method in class opennlp.tools.parser.ParserFactory
-
Instantiates a
Parservia a givenmodeland default configuration parameters (see:AbstractBottomUpParser). - create(ParserModel, int, double) - Static method in class opennlp.tools.parser.ParserFactory
-
Instantiates a
Parservia a givenmodeland other configuration parameters. - create(ParserModel, POSTagger, Chunker, int, double) - Static method in class opennlp.tools.parser.ParserFactory
-
Instantiates a
Parserfor theParserTypeof a givenmodelthat tags and chunks with a caller-suppliedPOSTaggerandChunker. - create(ProviderSpec) - Method in class opennlp.tools.stemmer.StemmerAnnotatorProvider
- create(ProviderSpec) - Method in interface opennlp.tools.util.ext.Provider
-
Creates a new instance.
- createArguments(Class<?>...) - Static method in class opennlp.tools.cmdline.ArgumentParser
-
Outputs the arguments as a data structure, so it can be used to create documentation.
- createArtifactMap() - Method in class opennlp.tools.postag.POSTaggerFactory
- createArtifactMap() - Method in class opennlp.tools.sentdetect.SentenceDetectorFactory
- createArtifactMap() - Method in class opennlp.tools.tokenize.TokenizerFactory
- createArtifactMap() - Method in class opennlp.tools.util.BaseToolFactory
-
A model's implementation should call this constructor that creates a model programmatically.
- createArtifactSerializers() - Static method in class opennlp.tools.namefind.TokenNameFinderModel
-
Create the
serializers. - createArtifactSerializers() - Static method in class opennlp.tools.util.model.BaseModel
-
Creates and registers default
artifact serializes. - createArtifactSerializers(Map<String, ArtifactSerializer<?>>) - Method in class opennlp.tools.depparse.FeedforwardDependencyModel
-
Registers all
ArtifactSerializerfor their artifact file name extensions. - createArtifactSerializers(Map<String, ArtifactSerializer<?>>) - Method in class opennlp.tools.namefind.TokenNameFinderModel
- createArtifactSerializers(Map<String, ArtifactSerializer<?>>) - Method in class opennlp.tools.parser.ParserModel
- createArtifactSerializers(Map<String, ArtifactSerializer<?>>) - Method in class opennlp.tools.postag.POSModel
- createArtifactSerializers(Map<String, ArtifactSerializer<?>>) - Method in class opennlp.tools.util.model.BaseModel
-
Registers all
ArtifactSerializerfor their artifact file name extensions. - createArtifactSerializersMap() - Method in class opennlp.tools.postag.POSTaggerFactory
- createArtifactSerializersMap() - Method in class opennlp.tools.tokenize.BPETokenizerFactory
-
Creates a
Mapwith pairs of keys andArtifactSerializer. - createArtifactSerializersMap() - Method in class opennlp.tools.util.BaseToolFactory
-
Creates a
Mapwith pairs of keys andArtifactSerializer. - createBaseArtifactSerializers(Map<String, ArtifactSerializer<?>>) - Method in class opennlp.tools.util.model.BaseModel
- createBuiltinTrainer(Class<? extends Trainer<P>>) - Static method in class opennlp.tools.ml.TrainerFactory
- createContext(String, int) - Method in class opennlp.tools.tokenize.DefaultTokenContextGenerator
- createContextFeatures(int, String[], String[]) - Method in class opennlp.tools.postag.ConfigurablePOSContextGenerator
- createContextGenerator() - Method in class opennlp.tools.namefind.TokenNameFinderFactory
-
Creates and configures a new
NameContextGeneratorin a default combination. - createContextGenerator() - Method in class opennlp.tools.sentiment.EmojiSentimentFactory
-
Creates a new
context generator. - createContextGenerator() - Method in class opennlp.tools.sentiment.SentimentFactory
-
Creates a new
context generator. - createDefaultTrainingParameters() - Static method in class opennlp.tools.util.model.ModelUtil
-
Creates the default
TrainingParametersin case they are not provided. - createDerivationString - Variable in class opennlp.tools.parser.AbstractBottomUpParser
-
Specifies whether a derivation string should be created during parsing.
- createDetokenizer(DetokenizerParameter) - Method in class opennlp.tools.formats.DetokenizerSampleStreamFactory
- createDocumentBuilder() - Static method in class opennlp.tools.util.XmlUtil
-
Create a new
DocumentBuilderwhich processes XML securely. - createDOM(InputStream) - Static method in class opennlp.tools.util.featuregen.GeneratorFactory
- createDownloadFile(Path) - Static method in class opennlp.tools.util.ResourceInstaller
-
Creates the file the download is written to.
- createEmptyTagDictionary() - Method in class opennlp.tools.postag.POSTaggerFactory
- createEndOfSentenceScanner(char[]) - Method in class opennlp.tools.sentdetect.lang.Factory
- createEndOfSentenceScanner(String) - Method in class opennlp.tools.sentdetect.lang.Factory
- createEvents(ChunkSample) - Method in class opennlp.tools.chunker.ChunkerEventStream
- createEvents(DocumentSample) - Method in class opennlp.tools.doccat.DocumentCategorizerEventStream
- createEvents(LanguageSample) - Method in class opennlp.tools.langdetect.LanguageDetectorEventStream
- createEvents(LemmaSample) - Method in class opennlp.tools.lemmatizer.LemmaSampleEventStream
- createEvents(NameSample) - Method in class opennlp.tools.namefind.NameFinderEventStream
- createEvents(Parse) - Method in class opennlp.tools.parser.AbstractParserEventStream
- createEvents(POSSample) - Method in class opennlp.tools.postag.POSSampleEventStream
- createEvents(SentenceSample) - Method in class opennlp.tools.sentdetect.SDEventStream
- createEvents(SentimentSample) - Method in class opennlp.tools.sentiment.SentimentEventStream
-
Creates events from
sentiment samples. - createEvents(TokenSample) - Method in class opennlp.tools.tokenize.TokSpanEventStream
-
Adds training events to the event stream for each of the specified
sample. - createEvents(T) - Method in class opennlp.tools.util.AbstractEventStream
-
Creates events for the provided
sample. - createFactory() - Static method in class opennlp.tools.util.XmlUtil.StaxHolder
- createFeatureGenerators() - Method in class opennlp.tools.namefind.TokenNameFinderFactory
-
Creates the
AdaptiveFeatureGenerator. - createFeatureGenerators() - Method in class opennlp.tools.postag.POSTaggerFactory
-
Creates the
AdaptiveFeatureGenerator. - createFeatures(List<String>, String[], int, String[]) - Method in interface opennlp.tools.util.featuregen.AdaptiveFeatureGenerator
-
Adds the appropriate features for the token at the specified
indexwith the specified array ofpreviousOutcomesto the specified list of features. - createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.AdditionalContextFeatureGenerator
- createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.AggregatedFeatureGenerator
-
Calls the
AdaptiveFeatureGenerator.createFeatures(List, String[], int, String[])method on all aggregatedfeature generators. - createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.BigramNameFeatureGenerator
- createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.BrownBigramFeatureGenerator
- createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.BrownTokenClassFeatureGenerator
- createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.BrownTokenFeatureGenerator
- createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.CachedFeatureGenerator
- createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.CharacterNgramFeatureGenerator
- createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.DictionaryFeatureGenerator
- createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.DocumentBeginFeatureGenerator
- createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.EmojiAnnotationFeatureGenerator
-
Adds the appropriate features for the token at the specified
indexwith the specified array ofpreviousOutcomesto the specified list of features. - createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.InSpanGenerator
- createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.OutcomePriorFeatureGenerator
- createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.PosTaggerFeatureGenerator
- createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.POSTaggerNameFeatureGenerator
- createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.PrefixFeatureGenerator
- createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.PreviousMapFeatureGenerator
- createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.PreviousTwoMapFeatureGenerator
-
Generates previous decision features for the token based on contents of the previous map.
- createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.SentenceFeatureGenerator
- createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.SuffixFeatureGenerator
- createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.TokenClassFeatureGenerator
- createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.TokenFeatureGenerator
- createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.TokenPatternFeatureGenerator
- createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.TrigramNameFeatureGenerator
- createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.WindowFeatureGenerator
- createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.WordClusterFeatureGenerator
- createFromTokens(String[]) - Static method in class opennlp.tools.parser.Parse
-
Creates a
Parsestructure from an array of pre-tokenized strings. - createGenerator(Element, FeatureGeneratorResourceProvider) - Static method in class opennlp.tools.util.featuregen.GeneratorFactory
-
Creates an
AdaptiveFeatureGeneratorfor the provided element. - createInputStream() - Method in class opennlp.tools.formats.ResourceAsStreamFactory
- createInputStream() - Method in class opennlp.tools.ml.maxent.URLInputStreamFactory
- createInputStream() - Method in interface opennlp.tools.util.InputStreamFactory
- createInputStream() - Method in class opennlp.tools.util.MarkableFileInputStreamFactory
- createInputStreamFactory(File) - Static method in class opennlp.tools.formats.FormatUtil
- createManifestEntries() - Method in class opennlp.tools.doccat.DoccatFactory
- createManifestEntries() - Method in class opennlp.tools.sentdetect.SentenceDetectorFactory
- createManifestEntries() - Method in class opennlp.tools.tokenize.BPETokenizerFactory
- createManifestEntries() - Method in class opennlp.tools.tokenize.TokenizerFactory
- createManifestEntries() - Method in class opennlp.tools.util.BaseToolFactory
- createMapDataStructure() - Method in class opennlp.tools.ml.naivebayes.Probabilities
- createObjectStream(Collection<T>) - Static method in class opennlp.tools.util.ObjectStreamUtils
-
Creates an
ObjectStreamform aCollection<T>. - createObjectStream(T...) - Static method in class opennlp.tools.util.ObjectStreamUtils
-
Creates an
ObjectStreamform an array ofObjectStreamUtils. - createSaxParser() - Static method in class opennlp.tools.util.XmlUtil
-
Create a new namespace-aware
SAXParserwhich processes XML securely. - createSentenceContextGenerator(String) - Method in class opennlp.tools.sentdetect.lang.Factory
- createSentenceContextGenerator(String, Set<String>) - Method in class opennlp.tools.sentdetect.lang.Factory
- createSentenceContextGenerator(Set<String>, char[]) - Method in class opennlp.tools.sentdetect.lang.Factory
- createSequenceCodec() - Method in class opennlp.tools.namefind.TokenNameFinderFactory
- createSequenceValidator() - Method in class opennlp.tools.namefind.BilouCodec
- createSequenceValidator() - Method in class opennlp.tools.namefind.BioCodec
- createSequenceValidator() - Method in interface opennlp.tools.util.SequenceCodec
- createTagDictionary(File) - Method in class opennlp.tools.postag.POSTaggerFactory
-
Initializes a
TagDictionaryfrom adictionary file. - createTagDictionary(InputStream) - Method in class opennlp.tools.postag.POSTaggerFactory
-
Initializes a
TagDictionaryfrom adictionary stream. - createTokenContextGenerator(String, Set<String>) - Method in class opennlp.tools.tokenize.lang.Factory
-
Initializes a customized
TokenContextGeneratorvia a set ofabbreviations. - createUsage(Class<?>...) - Static method in class opennlp.tools.cmdline.ArgumentParser
-
Creates a usage string which can be printed in case the user did specify the arguments incorrectly.
- createUsage(Class<T>) - Static method in class opennlp.tools.cmdline.ArgumentParser
-
Creates a usage string which can be printed in case the user did specify the arguments incorrectly.
- createXmlStreamReader(InputStream) - Static method in class opennlp.tools.util.XmlUtil
-
Create a new
XMLStreamReaderwhich processes XML securely. - createXPath() - Static method in class opennlp.tools.util.XmlUtil
-
Create a new
XPathwhich evaluates expressions securely, including those given anInputSourceto parse. - crosses(Span) - Method in class opennlp.tools.util.Span
-
Checks if the specified
Spancrosses this span. - crossProduct - Variable in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.Affix
-
The field for the
crossProductrecord component. - crossProduct() - Method in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.Affix
-
Returns the value of the
crossProductrecord component. - CrossValidationPartitioner<E> - Class in opennlp.tools.util.eval
-
Provides access to training and test partitions for n-fold cross validation.
- CrossValidationPartitioner(Collection<E>, int) - Constructor for class opennlp.tools.util.eval.CrossValidationPartitioner
-
Initializes
CrossValidationPartitionerinstance. - CrossValidationPartitioner(ObjectStream<E>, int) - Constructor for class opennlp.tools.util.eval.CrossValidationPartitioner
-
Initializes
CrossValidationPartitionerinstance. - CrossValidationPartitioner.TestSampleStream<E> - Class in opennlp.tools.util.eval
-
The
CrossValidationPartitioner.TestSampleStreamiterates over all test elements. - CrossValidationPartitioner.TrainingSampleStream<E> - Class in opennlp.tools.util.eval
-
The
CrossValidationPartitioner.TrainingSampleStreamwhich iterates over all training elements. - CUBE_DERIVATIVE_FACTOR - Static variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer
-
The derivative factor of the cube activation,
d/dx x^3 = 3x^2. - current - Variable in class opennlp.tools.stemmer.snowball.SnowballProgram
- current() - Static method in enum class opennlp.tools.util.CompatibilityMode
-
Returns the active
CompatibilityMode: the value resolved from the "opennlp.compat.mode" system property when this class was initialized, or the value most recently passed toCompatibilityMode.setActive(CompatibilityMode). - current() - Static method in enum class opennlp.tools.util.WhitespaceMode
-
Returns the active
WhitespaceMode: the value resolved from the "opennlp.whitespace.mode" system property when this class was initialized, or the value most recently passed toWhitespaceMode.setActive(WhitespaceMode). - CURRENT - Enum constant in enum class opennlp.tools.util.CompatibilityMode
-
The corrected output.
- currentNames - Variable in class opennlp.tools.util.featuregen.InSpanGenerator.CacheState
- currentSentence - Variable in class opennlp.tools.util.featuregen.InSpanGenerator.CacheState
- currentVersion() - Static method in class opennlp.tools.util.Version
- currPoint - Variable in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- cursor - Variable in class opennlp.tools.stemmer.snowball.SnowballProgram
- CUSTOM - Enum constant in enum class opennlp.tools.postag.POSTagFormat
- cutoff(int, int) - Method in class opennlp.tools.ngram.NGramCharModel
-
Deletes all ngram which do appear less than the
cutoffUndervalue and more often than thecutoffOvervalue. - cutoff(int, int) - Method in class opennlp.tools.ngram.NGramModel
-
Deletes all ngram which do appear less than the cutoffUnder value and more often than the cutoffOver value.
- CUTOFF_DEFAULT_VALUE - Static variable in interface opennlp.tools.util.Parameters
-
The default cut off value is 5.
- CUTOFF_PARAM - Static variable in interface opennlp.tools.util.Parameters
- cutQuery(String) - Static method in class opennlp.tools.util.ext.ProviderSpec
- cvc(int) - Method in class opennlp.tools.stemmer.PorterStemmer
- CVParams - Interface in opennlp.tools.cmdline.params
-
Common cross validator parameters.
D
- DANISH - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- danishStemmer - Class in opennlp.tools.stemmer.snowball
-
This class implements the stemming algorithm defined by a snowball script.
- danishStemmer() - Constructor for class opennlp.tools.stemmer.snowball.danishStemmer
- dash() - Method in class opennlp.tools.util.normalizer.TermAnalyzer.Builder
-
Enables
Dimension.DASH. - dash(CharSequenceNormalizer) - Method in class opennlp.tools.util.normalizer.TermAnalyzer.Builder
-
Enables
Dimension.DASHwith a specific normalizer (a custom dash set or target). - DASH - Enum constant in enum class opennlp.tools.util.normalizer.Dimension
-
Unicode dashes folded to the ASCII hyphen-minus.
- DashCharacter(int, String, UnicodeDash.Category) - Constructor for record class opennlp.tools.util.normalizer.UnicodeDash.DashCharacter
-
Creates an instance of a
DashCharacterrecord class. - DashCharSequenceNormalizer - Class in opennlp.tools.util.normalizer
-
A
CharSequenceNormalizerthat maps every Unicode dash to an ASCII hyphen-minus (U+002D), reusing the cursor basedCharClass.dashes()engine. - DashCharSequenceNormalizer() - Constructor for class opennlp.tools.util.normalizer.DashCharSequenceNormalizer
- dashes() - Static method in class opennlp.tools.util.normalizer.CharClass
-
Returns the dash preset: the Unicode
Dashset excluding the mathematical minus signs, replacementU+002D. - dashes() - Method in class opennlp.tools.util.normalizer.TextNormalizer.Builder
-
Returns this builder with dash folding appended.
- DASHES - Static variable in class opennlp.tools.util.normalizer.CharClass
- DASHES - Static variable in class opennlp.tools.util.normalizer.DashCharSequenceNormalizer
- DASHES - Static variable in class opennlp.tools.util.normalizer.UnicodeDash
- data() - Static method in class opennlp.tools.tokenize.uax29.WordBreakProperty
-
Returns the resolved lookup table.
- Data(byte[], int[], int[], byte[]) - Constructor for class opennlp.tools.tokenize.uax29.WordBreakProperty.Data
- Data(Map<Integer, String>, BitSet) - Constructor for record class opennlp.tools.util.normalizer.Confusables.Data
-
Creates an instance of a
Datarecord class. - DATA - Static variable in class opennlp.tools.tokenize.uax29.WordBreakProperty
- DATA - Static variable in class opennlp.tools.util.normalizer.Confusables
- DATA_INDEXER_ONE_PASS_REAL_VALUE - Static variable in class opennlp.tools.ml.AbstractEventTrainer
- DATA_INDEXER_ONE_PASS_VALUE - Static variable in class opennlp.tools.ml.AbstractEventTrainer
- DATA_INDEXER_PARAM - Static variable in class opennlp.tools.ml.AbstractEventTrainer
- DATA_INDEXER_TWO_PASS_VALUE - Static variable in class opennlp.tools.ml.AbstractEventTrainer
- DataIndexer<P> - Interface in opennlp.tools.ml.model
-
Represents an indexer which compresses events in memory and performs feature selection.
- DataIndexerFactory - Class in opennlp.tools.ml.model
-
A factory that produces
DataIndexerinstances. - DataIndexerFactory() - Constructor for class opennlp.tools.ml.model.DataIndexerFactory
- dataReader - Variable in class opennlp.tools.ml.model.AbstractModelReader
- DataReader - Interface in opennlp.tools.ml.model
-
Describes generic ways to read data from a
DataInputStream. - DataStream - Interface in opennlp.tools.ml.maxent
-
An interface for objects which can deliver a stream of training data to be supplied to an EventStream.
- DATELINE_ELEMENT - Static variable in class opennlp.tools.formats.muc.MucElementNames
- daughterAttachIndex - Variable in class opennlp.tools.parser.treeinsert.Parser
- DD_ELEMENT - Static variable in class opennlp.tools.formats.muc.MucElementNames
- DE - Enum constant in enum class opennlp.tools.formats.Conll03NameSampleStream.LANGUAGE
- declaredCharset(byte[]) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Finds the
SETdeclaration by scanning the raw affix bytes as ASCII, which is safe because the declaration itself is ASCII in every supported encoding. - decode(byte[], Charset, String) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Converts file content without replacing malformed or unmappable input.
- decode(CharSequence, boolean) - Static method in class opennlp.tools.util.normalizer.EmojiFlags
- decode(String) - Static method in record class opennlp.tools.depparse.Transition
-
Restores a transition from a model outcome string produced by
Transition.encode(). - decode(String) - Method in class opennlp.tools.util.ext.ProviderSpec
-
Decodes the percent escapes of a raw location, unlike
URLDecoder, which would also read+as a space. - decode(String, int, int, List<Morpheme>) - Method in class opennlp.tools.tokenize.lattice.LatticeTokenizer
-
Runs the Viterbi search over one whitespace-free stretch of text.
- decode(String, int, int, List<Span>) - Method in class opennlp.tools.tokenize.lattice.UnigramSegmenter
-
Viterbi over word log-probabilities within one whitespace-free stretch.
- decode(String, int, String) - Static method in class opennlp.tools.util.normalizer.EmojiAnnotations
- decode(String, int, String) - Static method in class opennlp.tools.util.normalizer.EmojiEmoticons
-
Decodes a space-separated hexadecimal code point sequence.
- decode(List<String>) - Method in class opennlp.tools.namefind.BilouCodec
- decode(List<String>) - Method in class opennlp.tools.namefind.BioCodec
- decode(List<T>) - Method in interface opennlp.tools.util.SequenceCodec
- decodedTransitions - Variable in class opennlp.tools.depparse.FeedforwardNetwork
- decodedTransitions() - Method in class opennlp.tools.depparse.FeedforwardNetwork
- decodeInventory(String[]) - Static method in record class opennlp.tools.depparse.Transition
-
Decodes a transition inventory: the outcomes of a parser model, in index order.
- decodeLemmas(String[], String[]) - Static method in class opennlp.tools.lemmatizer.LemmatizerME
-
Decodes the lemma from the word and the induced lemma class.
- decodeOutcomes(MaxentModel) - Method in class opennlp.tools.depparse.DependencyParserME
-
Decodes the outcome inventory once, so that decoding a sentence indexes it instead of parsing an outcome string per configuration and outcome.
- decodeRegionalIndicators(CharSequence, int, boolean) - Static method in class opennlp.tools.util.normalizer.EmojiFlags
- decodeSequence(CharSequence) - Static method in class opennlp.tools.util.normalizer.HexCodePoints
-
Decodes a sequence of hex code points separated by runs of Unicode whitespace into the characters they name.
- decodeSequence(CharSequence, char) - Static method in class opennlp.tools.util.normalizer.HexCodePoints
-
Decodes a sequence of hex code points separated by exactly one
separatoreach into the characters they name. - decodeShortestEditScript(String, String) - Static method in class opennlp.tools.util.StringUtil
-
Reads the predicted Shortest Edit Script (SES) by a lemmatizer model and applies the permutations to obtain the lemma from the
wordForm. - decodeTagSequence(CharSequence, boolean) - Static method in class opennlp.tools.util.normalizer.EmojiFlags
- decodeToken(String) - Static method in class opennlp.tools.parser.Parse
- decodeUtf8(byte[], int, int, String) - Static method in class opennlp.tools.util.archive.TarStream
-
Decodes archive text without replacing malformed input, which would silently change an archive path.
- decompose(String, String, HunspellStemmer.Results) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Searches compound components after standalone analysis fails.
- decomposeByCodePoint(MappedText) - Method in class opennlp.tools.tokenize.WordpieceEncoder
-
Canonically decomposes each code point while preserving the source range.
- DEFAULT - Static variable in record class opennlp.tools.util.ResourceInstaller.Limits
-
The limits applied when none are given: 20 second connect timeout, 60 second read timeout, at most 5 redirects, a 1 GiB download limit, a 4 GiB expansion limit, 100000 archive entries, and an expansion ratio of 100.
- DEFAULT_ALPHANUMERIC - Static variable in class opennlp.tools.tokenize.lang.Factory
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
Factory.DEFAULT_CHARACTER_POLICY, which accepts the same characters. This constant will be removed in 4.0. - DEFAULT_BATCH_SIZE - Static variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer
-
The default minibatch size.
- DEFAULT_BEAM_SIZE - Static variable in class opennlp.tools.chunker.ChunkerME
- DEFAULT_BEAM_SIZE - Static variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer
-
The default refinement beam size.
- DEFAULT_BEAM_SIZE - Static variable in class opennlp.tools.lemmatizer.LemmatizerME
- DEFAULT_BEAM_SIZE - Static variable in class opennlp.tools.namefind.NameFinderME
- DEFAULT_BEAM_SIZE - Static variable in class opennlp.tools.postag.POSTaggerME
-
The default beam size value is 3.
- DEFAULT_CAPACITY - Static variable in class opennlp.tools.stemmer.CachingStemmer
-
The default maximum number of word-to-stem entries cached per thread: 1024.
- DEFAULT_CAPACITY - Static variable in class opennlp.tools.util.normalizer.Alignment.Builder
- DEFAULT_CATEGORY - Static variable in class opennlp.tools.tokenize.lattice.MecabDictionary
-
The category name every
char.defmust define; unmapped code points and unknown-word handling fall back to it. - DEFAULT_CHARACTER_POLICY - Static variable in class opennlp.tools.tokenize.lang.Factory
-
The policy for languages without a dedicated one: ASCII letters and digits, no marks.
- DEFAULT_CHARSET - Static variable in annotation interface opennlp.tools.cmdline.ArgumentParser.OptionalParameter
- DEFAULT_CHUNK_SIZE - Static variable in class opennlp.tools.langdetect.LanguageDetectorConfig
- DEFAULT_CODE_POINTS - Static variable in class opennlp.tools.util.normalizer.UnicodeDash
- DEFAULT_DROPOUT - Static variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer
-
The default hidden dropout probability.
- DEFAULT_EMBEDDING_SIZE - Static variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer
-
The default embedding dimensionality.
- DEFAULT_EPOCHS - Static variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer
-
The default number of epochs.
- DEFAULT_FORMAT - Static variable in class opennlp.tools.cmdline.StreamFactoryRegistry
- DEFAULT_HIDDEN_SIZE - Static variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer
-
The default hidden layer width.
- DEFAULT_L2 - Static variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer
-
The default L2 penalty.
- DEFAULT_LANGUAGE_DETECTOR_CONFIG - Static variable in class opennlp.tools.langdetect.LanguageDetectorConfig
- DEFAULT_LEARNING_RATE - Static variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer
-
The default AdaGrad step size.
- DEFAULT_MAX_LENGTH - Static variable in class opennlp.tools.langdetect.LanguageDetectorConfig
- DEFAULT_MAX_LENGTH - Static variable in class opennlp.tools.util.featuregen.PrefixFeatureGenerator
-
The default upper boundary prefix length value is
4. - DEFAULT_MAX_LENGTH - Static variable in class opennlp.tools.util.featuregen.SuffixFeatureGenerator
-
The default upper boundary suffix length value is
4. - DEFAULT_MAX_TOKEN_LENGTH - Static variable in class opennlp.tools.tokenize.uax29.WordTokenizer
-
The default maximum token length: 255.
- DEFAULT_MAX_WORD_CODE_POINTS - Static variable in class opennlp.tools.tokenize.BertNormalization
-
Default maximum word length used by BERT wordpiece tokenizers.
- DEFAULT_MIN_CONSEC_IMPROVEMENTS - Static variable in class opennlp.tools.langdetect.LanguageDetectorConfig
- DEFAULT_MIN_DIFF - Static variable in class opennlp.tools.langdetect.LanguageDetectorConfig
- DEFAULT_N - Static variable in class opennlp.tools.languagemodel.NGramLanguageModel
- DEFAULT_PREFIX - Static variable in interface opennlp.tools.util.SequenceCodec
- DEFAULT_REGEX_NAME_FINDER() - Constructor for enum class opennlp.tools.namefind.RegexNameFinderFactory.DEFAULT_REGEX_NAME_FINDER
- DEFAULT_RESOURCE_NAME - Static variable in class opennlp.tools.util.ResourceInstaller
- DEFAULT_SCRIPTS - Static variable in class opennlp.tools.util.normalizer.AccentFoldCharSequenceNormalizer
- DEFAULT_SEED - Static variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer
-
The default random seed.
- DEFAULT_SEPARATOR_CHARS - Static variable in class opennlp.tools.tokenize.TokenSample
- DEFAULT_TYPE - Static variable in class opennlp.tools.namefind.DictionaryNameFinder
- DEFAULT_TYPE - Static variable in class opennlp.tools.namefind.NameSample
-
The default type value when there is no type in training data.
- DEFAULT_WORD_BREAKS - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
The separators used when the affix file declares no
BREAKtable: a hyphen inside the word, at its start, and at its end. - DEFAULT_WORD_CUTOFF - Static variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer
-
The default minimum word frequency for an embedding row.
- defaultAdvancePercentage - Static variable in class opennlp.tools.parser.AbstractBottomUpParser
-
The default amount of probability mass required of advanced outcomes.
- defaultBeamSize - Static variable in class opennlp.tools.parser.AbstractBottomUpParser
-
The default beam size used if no beam size is given.
- defaultCategories - Variable in class opennlp.tools.tokenize.lattice.MecabDictionary
- defaultChain() - Static method in class opennlp.tools.util.normalizer.TextNormalizer
-
Returns a conservative, ready-made normalization chain.
- DefaultChunkerContextGenerator - Class in opennlp.tools.chunker
-
Features based on chunking model described in Fei Sha and Fernando Pereira.
- DefaultChunkerContextGenerator() - Constructor for class opennlp.tools.chunker.DefaultChunkerContextGenerator
-
Initializes a
DefaultChunkerContextGeneratorinstance. - DefaultChunkerContextGenerator(Version) - Constructor for class opennlp.tools.chunker.DefaultChunkerContextGenerator
- DefaultChunkerSequenceValidator - Class in opennlp.tools.chunker
-
The default chunker
SequenceValidatorimplementation. - DefaultChunkerSequenceValidator() - Constructor for class opennlp.tools.chunker.DefaultChunkerSequenceValidator
- DefaultClassPathModelProvider - Class in opennlp.tools.models
-
A default implementation of
ClassPathModelProviderwhich by default relies onSimpleClassPathModelFinderto scan for models in the current classpath. - DefaultClassPathModelProvider() - Constructor for class opennlp.tools.models.DefaultClassPathModelProvider
-
Instantiates a
DefaultClassPathModelProviderwith aSimpleClassPathModelFinderand uses a defaultClassPathModelLoader. - DefaultClassPathModelProvider(ClassPathModelFinder, ClassPathModelLoader) - Constructor for class opennlp.tools.models.DefaultClassPathModelProvider
-
Instantiates a
DefaultClassPathModelProviderwith the specifiedmodelJarPattern, amodel finderand amodel loaderinstance. - defaultDashCodePoints() - Static method in class opennlp.tools.util.normalizer.UnicodeDash
-
Returns the dash code points used for normalization by default, in ascending order.
- DefaultEndOfSentenceScanner - Class in opennlp.tools.sentdetect
-
Default implementation of the
EndOfSentenceScanner. - DefaultEndOfSentenceScanner(char[]) - Constructor for class opennlp.tools.sentdetect.DefaultEndOfSentenceScanner
-
Initializes the current instance.
- defaultEosCharacters - Static variable in class opennlp.tools.sentdetect.lang.Factory
- DefaultLanguageDetectorContextGenerator - Class in opennlp.tools.langdetect
-
A context generator for
language detector. - DefaultLanguageDetectorContextGenerator(int, int, CharSequenceNormalizer...) - Constructor for class opennlp.tools.langdetect.DefaultLanguageDetectorContextGenerator
-
Creates a customizable
DefaultLanguageDetectorContextGeneratorthat computes ngrams from text. - DefaultLemmatizerContextGenerator - Class in opennlp.tools.lemmatizer
-
Simple feature generator for learning statistical lemmatizers.
- DefaultLemmatizerContextGenerator() - Constructor for class opennlp.tools.lemmatizer.DefaultLemmatizerContextGenerator
- DefaultLemmatizerSequenceValidator - Class in opennlp.tools.lemmatizer
-
The default lemmatizer
SequenceValidatorimplementation. - DefaultLemmatizerSequenceValidator() - Constructor for class opennlp.tools.lemmatizer.DefaultLemmatizerSequenceValidator
- DefaultNameContextGenerator - Class in opennlp.tools.namefind
-
A
NameContextGeneratorimplementation for determining contextual features for atag-chunkstyle named-entity recognizer. - DefaultNameContextGenerator(AdaptiveFeatureGenerator...) - Constructor for class opennlp.tools.namefind.DefaultNameContextGenerator
-
Creates a name context generator with the specified
feature generators. - defaultNormalizer - Variable in enum class opennlp.tools.util.normalizer.Dimension
- defaultNormalizer() - Method in enum class opennlp.tools.util.normalizer.Dimension
-
Returns the default character-level normalizer for this dimension, or
nullforDimension.ORIGINAL,Dimension.STEM, andDimension.LEMMA. - defaultParams() - Static method in class opennlp.tools.util.TrainingParameters
- DefaultPOSContextGenerator - Class in opennlp.tools.postag
-
A default
context generatorfor aPOSTagger. - DefaultPOSContextGenerator(int, Dictionary) - Constructor for class opennlp.tools.postag.DefaultPOSContextGenerator
-
Deprecated.Use
DefaultPOSContextGenerator(Dictionary)instead. - DefaultPOSContextGenerator(Dictionary) - Constructor for class opennlp.tools.postag.DefaultPOSContextGenerator
-
Initializes a
DefaultPOSContextGeneratorinstance. - DefaultPOSSequenceValidator - Class in opennlp.tools.postag
-
The default POS tagger
SequenceValidatorimplementation. - DefaultPOSSequenceValidator(TagDictionary) - Constructor for class opennlp.tools.postag.DefaultPOSSequenceValidator
- DefaultSDContextGenerator - Class in opennlp.tools.sentdetect
-
Generate event contexts for maxent decisions for sentence detection.
- DefaultSDContextGenerator(char[]) - Constructor for class opennlp.tools.sentdetect.DefaultSDContextGenerator
-
Creates a new instance with no induced abbreviations.
- DefaultSDContextGenerator(Set<String>, char[]) - Constructor for class opennlp.tools.sentdetect.DefaultSDContextGenerator
-
Creates a new
SDContextGeneratorinstance which uses the set of induced abbreviations. - defaultsToMap(RegexNameFinderFactory.DEFAULT_REGEX_NAME_FINDER...) - Static method in class opennlp.tools.namefind.RegexNameFinderFactory
- DefaultTokenContextGenerator - Class in opennlp.tools.tokenize
-
A default
TokenContextGeneratorwhich produces events for maxent decisions for tokenization. - DefaultTokenContextGenerator() - Constructor for class opennlp.tools.tokenize.DefaultTokenContextGenerator
-
Initializes a plain
DefaultTokenContextGeneratorinstance. - DefaultTokenContextGenerator(Set<String>) - Constructor for class opennlp.tools.tokenize.DefaultTokenContextGenerator
-
Initializes a customized
DefaultTokenContextGeneratorinstance via a set ofinducedAbbreviations. - DefaultTrainingProgressMonitor - Class in opennlp.tools.monitoring
-
The default implementation of
TrainingProgressMonitor. - DefaultTrainingProgressMonitor() - Constructor for class opennlp.tools.monitoring.DefaultTrainingProgressMonitor
- defaultType - Variable in class opennlp.tools.namefind.NameFinderEventStream
- defaultValue() - Element in annotation interface opennlp.tools.cmdline.ArgumentParser.OptionalParameter
- DEFINITION_EXTENSION - Static variable in class opennlp.tools.tokenize.lattice.MecabDictionary
- DefinitionFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
A
GeneratorFactorythat producesOutcomePriorFeatureGeneratorinstances whenDefinitionFeatureGeneratorFactory.create()is called. - DefinitionFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.DefinitionFeatureGeneratorFactory
- DEGREES_MIN_SEC_LAT_LON - Enum constant in enum class opennlp.tools.namefind.RegexNameFinderFactory.DEFAULT_REGEX_NAME_FINDER
- delegate - Variable in class opennlp.tools.stemmer.CachingStemmer.ThreadState
- delegate - Variable in class opennlp.tools.stopword.StopwordFilteringTokenizer
- delegateModelReader - Variable in class opennlp.tools.ml.model.GenericModelReader
- delegateWriter - Variable in class opennlp.tools.ml.model.GenericModelWriter
- DelegatingStemmer<P> - Class in opennlp.tools.stemmer
-
Shared plumbing for
Stemmerwrappers that route each call to a per-thread payload minted from aStemmerFactory, following theOwnerOrPerThreadStatepattern of the thread-safe*MEcomponents. - DelegatingStemmer(Supplier<P>, Consumer<P>) - Constructor for class opennlp.tools.stemmer.DelegatingStemmer
-
Creates the payload holder and the owner payload.
- deleteRecursively(Path) - Static method in class opennlp.tools.util.ResourceInstaller
-
Removes the given directory tree, deepest entries first.
- DependencyArc - Record Class in opennlp.tools.depparse
-
One labeled edge of a
DependencyTree: the token atdependentis governed by the token atheadunder the givenrelation. - DependencyArc(int, int, String) - Constructor for record class opennlp.tools.depparse.DependencyArc
-
Validates the arc invariants.
- DependencyContextGenerator - Class in opennlp.tools.depparse
-
Generates the classification features for one arc-standard configuration: words and tags of the topmost stack and frontmost buffer positions, their pairings, the partial structure built so far (tags and relations of the leftmost and rightmost dependents, valency counts), and a bucketed distance between stack top and buffer front.
- DependencyContextGenerator() - Constructor for class opennlp.tools.depparse.DependencyContextGenerator
- DependencyCrossValidator - Class in opennlp.tools.depparse
-
Cross validator for
DependencyParserME. - DependencyCrossValidator(String, TrainingParameters, Predicate<String>, DependencyEvaluationMonitor...) - Constructor for class opennlp.tools.depparse.DependencyCrossValidator
-
Initializes a
DependencyCrossValidatorwith a custom notion of punctuation. - DependencyCrossValidator(String, TrainingParameters, DependencyEvaluationMonitor...) - Constructor for class opennlp.tools.depparse.DependencyCrossValidator
-
Initializes a
DependencyCrossValidatorthat treats tokens taggedDependencyEvaluator.UNIVERSAL_PUNCTUATION_TAGas punctuation. - DependencyEvaluationMonitor - Interface in opennlp.tools.depparse
-
A marker interface for evaluating
dependency parsers. - DependencyEvaluator - Class in opennlp.tools.depparse
-
Measures the quality of a
DependencyParseragainst goldsampleswith the two standard scores: the unlabeled attachment score (UAS, the fraction of tokens with the correct head) and the labeled attachment score (LAS, the fraction of tokens with the correct head and relation label). - DependencyEvaluator(DependencyParser, Predicate<String>, DependencyEvaluationMonitor...) - Constructor for class opennlp.tools.depparse.DependencyEvaluator
-
Initializes a
DependencyEvaluatorwith a custom notion of punctuation. - DependencyEvaluator(DependencyParser, DependencyEvaluationMonitor...) - Constructor for class opennlp.tools.depparse.DependencyEvaluator
-
Initializes a
DependencyEvaluatorthat treats tokens taggedDependencyEvaluator.UNIVERSAL_PUNCTUATION_TAGas punctuation. - DependencyEventStream - Class in opennlp.tools.depparse
-
Turns
samplesinto trainingevents: for each sample theArcStandardOraclederives the gold transitions, and every transition becomes one event pairing the configuration features with the encoded transition. - DependencyEventStream(ObjectStream<DependencySample>, DependencyContextGenerator) - Constructor for class opennlp.tools.depparse.DependencyEventStream
-
Initializes the stream.
- DependencyModel - Class in opennlp.tools.depparse
-
The persisted form of a trained
DependencyParserME: the transition classification model plus the standard model manifest, serialized and loaded through the sameBaseModelmachinery as every other tool model. - DependencyModel(File) - Constructor for class opennlp.tools.depparse.DependencyModel
-
Initializes a
DependencyModelfrom a serialized model file. - DependencyModel(InputStream) - Constructor for class opennlp.tools.depparse.DependencyModel
-
Initializes a
DependencyModelfrom a serialized model. - DependencyModel(String, MaxentModel, Map<String, String>) - Constructor for class opennlp.tools.depparse.DependencyModel
-
Initializes a
DependencyModelfrom a trained transition model. - DependencyModel(Path) - Constructor for class opennlp.tools.depparse.DependencyModel
-
Initializes a
DependencyModelfrom a serialized model file. - DependencyParser - Interface in opennlp.tools.depparse
-
The interface for dependency parsers, which assign every token of a sentence a syntactic head and a relation label, forming a single-rooted tree over the sentence.
- DependencyParserME - Class in opennlp.tools.depparse
-
A greedy transition-based
DependencyParser: a classifier picks the next arc-standardTransitionfor each configuration until the parse is complete, always taking the highest scoring transition that is applicable. - DependencyParserME(DependencyModel) - Constructor for class opennlp.tools.depparse.DependencyParserME
-
Initializes a
DependencyParserMEfrom aDependencyModel. - DependencySample - Class in opennlp.tools.depparse
-
One dependency-annotated sentence: tokens, their part-of-speech tags, and the gold
DependencyTreeover them. - DependencySample(String[], String[], DependencyTree) - Constructor for class opennlp.tools.depparse.DependencySample
-
Initializes a
DependencySample. - DependencyTree - Class in opennlp.tools.depparse
-
An immutable dependency tree over one sentence: for every token, the index of its head and the label of the relation to that head.
- DependencyTree(int[], String[], int) - Constructor for class opennlp.tools.depparse.DependencyTree
-
Wraps already validated arrays; instances are created through
DependencyTree.of(int[], java.lang.String[]). - dependent - Variable in record class opennlp.tools.depparse.DependencyArc
-
The field for the
dependentrecord component. - dependent() - Method in record class opennlp.tools.depparse.DependencyArc
-
Returns the value of the
dependentrecord component. - dependentRelation(ArcStandardState, int, boolean) - Method in class opennlp.tools.depparse.DependencyContextGenerator
-
Looks up the relation of a token's leftmost or rightmost dependent attached so far.
- dependents(ArcStandardState, int) - Method in class opennlp.tools.depparse.DependencyContextGenerator
-
Counts the dependents a token has been assigned so far.
- dependentTag(ArcStandardState, String[], int, boolean) - Method in class opennlp.tools.depparse.DependencyContextGenerator
-
Looks up the tag of a token's leftmost or rightmost dependent attached so far.
- deprel - Variable in class opennlp.tools.formats.conllu.ConlluWordLine
- DEPREL - Static variable in class opennlp.tools.formats.conllu.ConlluDependencySampleStream
-
The column holding the relation label to the head.
- deps - Variable in class opennlp.tools.formats.conllu.ConlluWordLine
- depth - Variable in record class opennlp.tools.tokenize.lattice.DoubleArrayLexicon.Builder.PendingNode
-
The field for the
depthrecord component. - depth() - Method in record class opennlp.tools.tokenize.lattice.DoubleArrayLexicon.Builder.PendingNode
-
Returns the value of the
depthrecord component. - derivation - Variable in class opennlp.tools.parser.Parse
-
The string buffer used to track the derivation of this parse.
- Derivation(DependencySample, List<Transition>) - Constructor for record class opennlp.tools.depparse.FeedforwardDependencyTrainer.Derivation
-
Creates an instance of a
Derivationrecord class. - DERIVATIONAL_SUFFIX_FIELD - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- derive(ObjectStream<DependencySample>) - Static method in class opennlp.tools.depparse.FeedforwardDependencyTrainer
-
Reads a sample stream into memory and derives the oracle of every projective sample once; the trainer passes over the derivations repeatedly.
- DERIVED_NOTE - Static variable in class opennlp.tools.util.normalizer.EmojiAnnotator
- deriveDecision(WordBreak, WordBreak) - Static method in class opennlp.tools.tokenize.uax29.WordSegmenter
- describeModel() - Method in class opennlp.tools.tokenize.TokenizerFactory
-
Returns a description of the loaded model for error messages.
- description - Variable in record class opennlp.tools.cmdline.ArgumentParser.Argument
-
The field for the
descriptionrecord component. - description() - Method in record class opennlp.tools.cmdline.ArgumentParser.Argument
-
Returns the value of the
descriptionrecord component. - description() - Element in annotation interface opennlp.tools.cmdline.ArgumentParser.ParameterDescription
- deserialize(Class<T>, InputStream) - Static method in class opennlp.tools.util.model.BaseModel
-
Deserializes a
BaseModelfrom the givenInputStreamusing the standardSerializablemechanism, with an allowlist filter applied to reject any class outside the allowlist - including the top-level object itself. - DESERIALIZE_FILTER - Static variable in class opennlp.tools.util.model.BaseModel.FilteredObjectInputStream
-
Allowlist for classes that may legitimately appear while deserializing a
BaseModelvia the standardSerializablemechanism. - destination(Path, Path) - Static method in class opennlp.tools.util.ResourceInstaller
-
Resolves one staged file's destination beneath the target, creating the directories leading to it one at a time.
- destination(Path, Path, boolean) - Static method in class opennlp.tools.util.ResourceInstaller
-
Walks the directories leading to one staged file's destination without descending through a symbolic link that is already there.
- detect(CharSequence, LanguageDetector) - Static method in class opennlp.tools.util.normalizer.NormalizationProfiles
-
Detects the language of
textand returns itsprofile. - detector - Variable in class opennlp.tools.sentdetect.SentenceDetectorAnnotator
- DetokenizationDictionary - Class in opennlp.tools.tokenize
- DetokenizationDictionary(File) - Constructor for class opennlp.tools.tokenize.DetokenizationDictionary
-
Initializes a
DetokenizationDictionaryinstance via a validFile. - DetokenizationDictionary(InputStream) - Constructor for class opennlp.tools.tokenize.DetokenizationDictionary
-
Initializes a
DetokenizationDictionaryinstance via a validInputStream. - DetokenizationDictionary(String[], DetokenizationDictionary.Operation[]) - Constructor for class opennlp.tools.tokenize.DetokenizationDictionary
-
Initializes a
DetokenizationDictionaryinstance. - DetokenizationDictionary(Path) - Constructor for class opennlp.tools.tokenize.DetokenizationDictionary
-
Initializes a
DetokenizationDictionaryinstance via a validPath. - DetokenizationDictionary.Operation - Enum Class in opennlp.tools.tokenize
- DetokenizationOperation() - Constructor for enum class opennlp.tools.tokenize.Detokenizer.DetokenizationOperation
- detokenize(String[]) - Method in interface opennlp.tools.tokenize.Detokenizer
-
Detokenizes the collection of tokens.
- detokenize(String[]) - Method in class opennlp.tools.tokenize.DictionaryDetokenizer
- detokenize(String[], String) - Method in interface opennlp.tools.tokenize.Detokenizer
-
Detokenizes the input
tokensinto a String. - detokenize(String[], String) - Method in class opennlp.tools.tokenize.DictionaryDetokenizer
- detokenizer - Variable in class opennlp.tools.formats.convert.AbstractToSentenceSampleStream
- detokenizer - Variable in class opennlp.tools.formats.convert.NameToTokenSampleStream
- detokenizer - Variable in class opennlp.tools.formats.convert.POSToTokenSampleStream
- detokenizer - Variable in class opennlp.tools.formats.letsmt.DetokenizeSentenceSampleStream
- Detokenizer - Interface in opennlp.tools.tokenize
-
A
Detokenizermerges tokens back to their detokenized representation. - Detokenizer.DetokenizationOperation - Enum Class in opennlp.tools.tokenize
-
This enum contains an operation for every token to merge the tokens together to their detokenized form.
- DetokenizerParameter - Interface in opennlp.tools.cmdline.params
- DetokenizerSampleStreamFactory<T,
P> - Class in opennlp.tools.formats -
Base class for factories which need a
Detokenizer. - DetokenizerSampleStreamFactory(Class<P>) - Constructor for class opennlp.tools.formats.DetokenizerSampleStreamFactory
- DetokenizeSentenceSampleStream - Class in opennlp.tools.formats.letsmt
- DetokenizeSentenceSampleStream(Detokenizer, ObjectStream<SentenceSample>) - Constructor for class opennlp.tools.formats.letsmt.DetokenizeSentenceSampleStream
-
Initializes a
DetokenizeSentenceSampleStream. - DEV_VERSION - Static variable in class opennlp.tools.util.Version
- DEV_VERSION_STRING - Static variable in class opennlp.tools.util.Version
- dict - Variable in class opennlp.tools.parser.AbstractParserEventStream
- dict - Variable in class opennlp.tools.parser.chunking.BuildContextGenerator
- dict - Variable in class opennlp.tools.postag.DefaultPOSContextGenerator
- dict - Variable in class opennlp.tools.tokenize.DictionaryDetokenizer
- DICT - Static variable in class opennlp.tools.util.featuregen.DictionaryFeatureGeneratorFactory
- dictionary - Variable in class opennlp.tools.postag.POSDictionary
- dictionary - Variable in class opennlp.tools.stemmer.hunspell.HunspellStemmer
- dictionary - Variable in class opennlp.tools.stemmer.hunspell.HunspellStemmerFactory
- dictionary - Variable in class opennlp.tools.tokenize.lattice.LatticeTokenizer
- Dictionary - Class in opennlp.tools.dictionary
-
An iterable and serializable dictionary implementation.
- Dictionary() - Constructor for class opennlp.tools.dictionary.Dictionary
-
Initializes an empty
Dictionary. - Dictionary(boolean) - Constructor for class opennlp.tools.dictionary.Dictionary
-
Initializes an empty
Dictionary. - Dictionary(InputStream) - Constructor for class opennlp.tools.dictionary.Dictionary
-
Initializes the
Dictionaryfrom an existing dictionary resource. - DICTIONARY_ELEMENT - Static variable in class opennlp.tools.dictionary.serializer.DictionaryEntryPersistor
- DICTIONARY_FILE_SUFFIX - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
The file suffix for a Hunspell word-list file.
- DICTIONARY_STREAM - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- DictionaryCatalog - Class in opennlp.tools.util
-
Opt-in catalog of remote dictionary archives and companion files, loaded from application-supplied properties containing URLs and SHA-512 digests.
- DictionaryCatalog(Properties) - Constructor for class opennlp.tools.util.DictionaryCatalog
-
Initializes a catalog from loaded properties.
- DictionaryCatalog.Entry - Record Class in opennlp.tools.util
-
One catalog entry with a URI and the SHA-512 digest of its bytes.
- DictionaryContenthandler(EntryInserter) - Constructor for class opennlp.tools.dictionary.serializer.DictionaryEntryPersistor.DictionaryContenthandler
- DictionaryDetokenizer - Class in opennlp.tools.tokenize
-
A rule based detokenizer.
- DictionaryDetokenizer(DetokenizationDictionary) - Constructor for class opennlp.tools.tokenize.DictionaryDetokenizer
-
Initializes a
DictionaryDetokenizerinstance. - DictionaryEntryPersistor - Class in opennlp.tools.dictionary.serializer
-
A persistor used by for reading and writing
dictionariesof all kinds. - DictionaryEntryPersistor() - Constructor for class opennlp.tools.dictionary.serializer.DictionaryEntryPersistor
- DictionaryEntryPersistor.DictionaryContenthandler - Class in opennlp.tools.dictionary.serializer
- DictionaryFeatureGenerator - Class in opennlp.tools.util.featuregen
-
The
DictionaryFeatureGeneratoruses aDictionaryNameFinderto generate features for detected names based on theInSpanGenerator. - DictionaryFeatureGenerator(String, Dictionary) - Constructor for class opennlp.tools.util.featuregen.DictionaryFeatureGenerator
-
Initializes a
DictionaryFeatureGeneratorwith the specified parameters. - DictionaryFeatureGenerator(Dictionary) - Constructor for class opennlp.tools.util.featuregen.DictionaryFeatureGenerator
-
Initializes a
DictionaryFeatureGeneratorwith the specifiedDictionary. - DictionaryFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
A
GeneratorFactorythat producesDictionaryFeatureGeneratorinstances whenDictionaryFeatureGeneratorFactory.create()is called. - DictionaryFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.DictionaryFeatureGeneratorFactory
- DictionaryLemmatizer - Class in opennlp.tools.lemmatizer
-
A
Lemmatizerimplementation that works by simple dictionary lookup into aMapbuilt from a file containing, for each line: - DictionaryLemmatizer(File) - Constructor for class opennlp.tools.lemmatizer.DictionaryLemmatizer
-
Initializes a
DictionaryLemmatizerand relatedHashMapfrom the input tab separated dictionary. - DictionaryLemmatizer(File, Charset) - Constructor for class opennlp.tools.lemmatizer.DictionaryLemmatizer
-
Initializes a
DictionaryLemmatizerand relatedHashMapfrom the input tab separated dictionary. - DictionaryLemmatizer(InputStream) - Constructor for class opennlp.tools.lemmatizer.DictionaryLemmatizer
-
Initializes a
DictionaryLemmatizerand relatedHashMapfrom the input tab separated dictionary. - DictionaryLemmatizer(InputStream, Charset) - Constructor for class opennlp.tools.lemmatizer.DictionaryLemmatizer
-
Initializes a
DictionaryLemmatizerand relatedHashMapfrom the input tab separated dictionary. - DictionaryLemmatizer(Path) - Constructor for class opennlp.tools.lemmatizer.DictionaryLemmatizer
-
Initializes a
DictionaryLemmatizerand relatedHashMapfrom the input tab separated dictionary. - DictionaryNameFinder - Class in opennlp.tools.namefind
-
This is a
Dictionarybasedname finder. - DictionaryNameFinder(Dictionary) - Constructor for class opennlp.tools.namefind.DictionaryNameFinder
-
Initializes a
DictionaryNameFinderwith the providedDictionaryandDictionaryNameFinder.DEFAULT_TYPE. - DictionaryNameFinder(Dictionary, String) - Constructor for class opennlp.tools.namefind.DictionaryNameFinder
- DictionarySerializer - Class in opennlp.tools.util.model
-
An
ArtifactSerializerimplementation fordictionaries. - DictionarySerializer() - Constructor for class opennlp.tools.util.model.DictionarySerializer
- DictionaryStopwordFilter - Class in opennlp.tools.stopword
-
An immutable, thread-safe
StopwordFilterbacked by an OpenNLPDictionary. - DictionaryStopwordFilter(InputStream, Charset, boolean) - Constructor for class opennlp.tools.stopword.DictionaryStopwordFilter
-
Loads a stopword list from the given input stream and freezes it into an immutable filter.
- DictionaryStopwordFilter(Dictionary) - Constructor for class opennlp.tools.stopword.DictionaryStopwordFilter
-
Creates an immutable filter from a defensive copy of
source. - DictionaryStopwordFilter.Builder - Class in opennlp.tools.stopword
-
Fluent builder for
DictionaryStopwordFilter. - dictMap - Variable in class opennlp.tools.lemmatizer.DictionaryLemmatizer
- DigitCharSequenceNormalizer - Class in opennlp.tools.util.normalizer
-
A
CharSequenceNormalizerthat maps Unicode decimal digits to their ASCII equivalents, so for example Arabic-Indic, Devanagari, or fullwidth digits all become0-9. - DigitCharSequenceNormalizer() - Constructor for class opennlp.tools.util.normalizer.DigitCharSequenceNormalizer
- digits - Variable in class opennlp.tools.tokenize.TokenizerCharacterPolicy
- digits - Variable in class opennlp.tools.util.featuregen.StringPattern
- digits() - Method in class opennlp.tools.util.featuregen.StringPattern
-
Retrieves the number of digits.
- digits() - Method in class opennlp.tools.util.normalizer.TextNormalizer.Builder
-
Returns this builder with decimal-digit folding appended.
- DIGITS_FIELD - Static variable in class opennlp.tools.tokenize.TokenizerCharacterPolicy
- dimension - Variable in class opennlp.tools.ml.maxent.quasinewton.NegLogLikelihood
- dimension - Variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
- dimension() - Method in interface opennlp.tools.embeddings.TextEmbedder
-
Returns the dimension of every vector this embedder produces.
- dimension() - Method in class opennlp.tools.util.wordvector.DoubleArrayVector
- dimension() - Method in class opennlp.tools.util.wordvector.FloatArrayVector
- dimension() - Method in class opennlp.tools.util.wordvector.MapWordVectorTable
- dimension() - Method in interface opennlp.tools.util.wordvector.WordVector
- dimension() - Method in interface opennlp.tools.util.wordvector.WordVectorTable
- Dimension - Enum Class in opennlp.tools.util.normalizer
-
A layer of the
Termnormalization stack, in increasing order of aggressiveness. - Dimension(Supplier<CharSequenceNormalizer>) - Constructor for enum class opennlp.tools.util.normalizer.Dimension
-
Associates the dimension with its lazily resolved default normalizer, or
null. - dimensions() - Method in class opennlp.tools.util.normalizer.TermAnalyzer
-
Returns the configured dimensions that are computed eagerly, in pipeline order.
- direction(Map<Integer, List<EmojiEmoticons.Mapping>>) - Static method in class opennlp.tools.util.normalizer.EmojiEmoticons
-
Builds a
EmojiEmoticons.Directionfrom a parsed table: sorts each candidate list longest source first, so the scan inEmojiEmoticons.matchAt(java.lang.CharSequence, int, java.util.List<opennlp.tools.util.normalizer.EmojiEmoticons.Mapping>, boolean)is longest-match by construction, and computes the first-code-point bounds that feed the no-match short circuit. - Direction(Map<Integer, List<EmojiEmoticons.Mapping>>, int, int) - Constructor for record class opennlp.tools.util.normalizer.EmojiEmoticons.Direction
-
Creates an instance of a
Directionrecord class. - directive - Variable in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.UnsupportedDirective
-
The field for the
directiverecord component. - directive() - Method in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.UnsupportedDirective
-
Returns the value of the
directiverecord component. - directories - Variable in class opennlp.tools.formats.DirectorySampleStream
- directory - Variable in class opennlp.tools.models.dir.DirectoryModelFinder
- DirectoryModelFinder - Class in opennlp.tools.models.dir
-
The
DirectoryModelFinderclass is responsible for finding model files in a given directory on the classpath. - DirectoryModelFinder(String, Path, boolean) - Constructor for class opennlp.tools.models.dir.DirectoryModelFinder
-
Instantiates a new
DirectoryModelFinderwith the specified parameters. - DirectorySampleStream - Class in opennlp.tools.formats
-
The directory sample stream allows for creating an
ObjectStream<File>from a directory listing of files. - DirectorySampleStream(File[], FileFilter, boolean) - Constructor for class opennlp.tools.formats.DirectorySampleStream
-
Initializes a
DirectorySampleStream. - DirectorySampleStream(File, FileFilter, boolean) - Constructor for class opennlp.tools.formats.DirectorySampleStream
-
Initializes a
DirectorySampleStream. - dirty - Variable in class opennlp.tools.stemmer.PorterStemmer
- DISABLE_CACHE_PROPERTY - Static variable in class opennlp.tools.util.featuregen.CachedFeatureGenerator
-
System property to disable the feature cache globally.
- disabled - Variable in class opennlp.tools.util.ext.Providers
- DISABLED_KEY_SUFFIX - Static variable in class opennlp.tools.util.ext.Providers
-
The suffix of the configuration key that disables providers by name, see
Providers.disabledKey(). - disabledKey - Variable in class opennlp.tools.util.ext.Providers
- disabledKey() - Method in class opennlp.tools.util.ext.Providers
- disabledNames() - Method in class opennlp.tools.util.ext.Providers
- discardCountsBelow(double) - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
- discardCountsBelow(double) - Method in class opennlp.tools.ml.naivebayes.Probabilities
- display(boolean) - Method in class opennlp.tools.monitoring.DefaultTrainingProgressMonitor
-
Displays the training progress and optionally clears the recorded progress (to save memory).
- display(boolean) - Method in interface opennlp.tools.monitoring.TrainingProgressMonitor
-
Displays the training progress and optionally clears the recorded progress (to save memory).
- distance(int, int) - Method in class opennlp.tools.depparse.DependencyContextGenerator
-
Buckets the distance between the stack top and the buffer front.
- DISTANCE - Static variable in class opennlp.tools.depparse.DependencyContextGenerator
-
Feature prefix: distance between stack top and first buffer position.
- DISTANCE_S0_TAG_B0_TAG - Static variable in class opennlp.tools.depparse.DependencyContextGenerator
-
Feature prefix: distance with stack top and first buffer tags.
- divtypes - Variable in class opennlp.tools.formats.nkjp.NKJPTextDocument
- doc - Variable in class opennlp.tools.formats.nkjp.NKJPSegmentationDocument.Pointer
- DOC_ELEMENT - Static variable in class opennlp.tools.formats.muc.MucElementNames
- DOC_END_ELEMENT - Static variable in class opennlp.tools.formats.muc.DocumentSplitterStream
- DOC_START_ELEMENT - Static variable in class opennlp.tools.formats.muc.DocumentSplitterStream
- DOCCAT_MODEL_ENTRY_NAME - Static variable in class opennlp.tools.doccat.DoccatModel
- DoccatCrossValidator - Class in opennlp.tools.doccat
-
Cross validator for
DocumentCategorizer. - DoccatCrossValidator(String, TrainingParameters, DoccatFactory, DoccatEvaluationMonitor...) - Constructor for class opennlp.tools.doccat.DoccatCrossValidator
-
Instantiates a
DoccatCrossValidatorwith the givengenerators. - DoccatEvaluationMonitor - Interface in opennlp.tools.doccat
-
A marker interface for evaluating
doccat. - DoccatFactory - Class in opennlp.tools.doccat
-
The factory that provides Doccat default implementations and resources.
- DoccatFactory() - Constructor for class opennlp.tools.doccat.DoccatFactory
-
Instantiates a
DoccatFactorythat provides the default implementation of the resources. - DoccatFactory(FeatureGenerator[]) - Constructor for class opennlp.tools.doccat.DoccatFactory
-
Instantiates a
DoccatFactorythat provides the default implementation of the resources. - DoccatModel - Class in opennlp.tools.doccat
-
A model for document categorization
- DoccatModel(File) - Constructor for class opennlp.tools.doccat.DoccatModel
-
Initializes a
DoccatModelinstance via a validFile. - DoccatModel(InputStream) - Constructor for class opennlp.tools.doccat.DoccatModel
-
Initializes a
DoccatModelinstance via a validInputStream. - DoccatModel(String, MaxentModel, Map<String, String>, DoccatFactory) - Constructor for class opennlp.tools.doccat.DoccatModel
-
Initializes a
DoccatModelinstance via given parameters. - DoccatModel(URL) - Constructor for class opennlp.tools.doccat.DoccatModel
-
Initializes a
DoccatModelinstance via a validURL. - DoccatModel(Path) - Constructor for class opennlp.tools.doccat.DoccatModel
-
Initializes a
DoccatModelinstance via a validPath. - doConstrainedLineSearch(Function, double[], LineSearch.LineSearchResult, double, double) - Static method in class opennlp.tools.ml.maxent.quasinewton.LineSearch
-
Conducts a constrained line search (see section 3.2 in the paper "Scalable Training of L1-Regularized Log-Linear Models", Andrew et al.
- docs - Variable in class opennlp.tools.formats.muc.DocumentSplitterStream
- DOCSTART - Static variable in class opennlp.tools.formats.Conll02NameSampleStream
- DOCSTART - Static variable in class opennlp.tools.formats.EvalitaNameSampleStream
- document - Variable in class opennlp.tools.sentdetect.SentenceSample
- document(String, Class<T>) - Static method in class opennlp.tools.document.LayerKey
-
Creates a
document-scopedLayerKeyfor values that describe the document as a whole, for example a language id, a category distribution, or provenance. - Document - Interface in opennlp.tools.document
-
An offset-anchored annotation container: the original text of one document plus any number of typed annotation layers over it.
- DOCUMENT - Enum constant in enum class opennlp.tools.document.LayerKey.Scope
-
The layer's values describe the document as a whole and carry no spans.
- Document.DuplicateLayerPolicy - Enum Class in opennlp.tools.document
-
How
Document.merge(Document, DuplicateLayerPolicy)treats a layer key that is present on both documents. - documentAccuracy - Variable in class opennlp.tools.doccat.DoccatCrossValidator
- documentAccuracy - Variable in class opennlp.tools.langdetect.LanguageDetectorCrossValidator
- DocumentAnalyzer - Class in opennlp.tools.document
-
Runs a fixed sequence of
annotatorsover a text, producing oneDocumentthat carries every step's layers. - DocumentAnalyzer(List<DocumentAnnotator>) - Constructor for class opennlp.tools.document.DocumentAnalyzer
- DocumentAnalyzer.Builder - Class in opennlp.tools.document
-
Assembles a
DocumentAnalyzerfrom annotators in execution order. - DocumentAnnotator - Interface in opennlp.tools.document
-
A pipeline step that reads layers from a
Documentand returns a new document with its own layers added. - DocumentAnnotatorProvider - Interface in opennlp.tools.document
-
The SPI for
DocumentAnnotatorproviders. - DocumentAnnotators - Class in opennlp.tools.document
-
Support methods shared by
DocumentAnnotatorimplementations: the required-layer and layer-alignment checks, the per-sentence walk over the token layer, and the mapping of sentence-relative token spans onto character spans. - DocumentAnnotators() - Constructor for class opennlp.tools.document.DocumentAnnotators
- DocumentAnnotators.SentenceTokenConsumer - Interface in opennlp.tools.document
-
Receives one sentence's contiguous token run during
DocumentAnnotators.forEachSentence(List, List, SentenceTokenConsumer). - DocumentBeginFeatureGenerator - Class in opennlp.tools.util.featuregen
-
This feature generator creates document begin features.
- DocumentBeginFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.DocumentBeginFeatureGenerator
- DocumentBeginFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
A
GeneratorFactorythat producesDocumentBeginFeatureGeneratorinstances whenDocumentBeginFeatureGeneratorFactory.create()is called. - DocumentBeginFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.DocumentBeginFeatureGeneratorFactory
- DocumentCategorizer - Interface in opennlp.tools.doccat
-
Interface for classes which categorize documents.
- DocumentCategorizerContextGenerator - Class in opennlp.tools.doccat
-
Context generator for
DocumentCategorizer. - DocumentCategorizerContextGenerator(FeatureGenerator...) - Constructor for class opennlp.tools.doccat.DocumentCategorizerContextGenerator
-
Instantiates a
DocumentCategorizerContextGeneratorinstance. - DocumentCategorizerEvaluator - Class in opennlp.tools.doccat
-
The
DocumentCategorizerEvaluatormeasures the performance of the givenDocumentCategorizerwith the provided referencesamples. - DocumentCategorizerEvaluator(DocumentCategorizer, DoccatEvaluationMonitor...) - Constructor for class opennlp.tools.doccat.DocumentCategorizerEvaluator
-
Initializes a
DocumentCategorizerEvaluatorinstance. - DocumentCategorizerEventStream - Class in opennlp.tools.doccat
-
Iterator-like class for modeling document classification events.
- DocumentCategorizerEventStream(ObjectStream<DocumentSample>) - Constructor for class opennlp.tools.doccat.DocumentCategorizerEventStream
-
Initializes a
DocumentCategorizerEventStreamvia samples. - DocumentCategorizerEventStream(ObjectStream<DocumentSample>, FeatureGenerator...) - Constructor for class opennlp.tools.doccat.DocumentCategorizerEventStream
-
Initializes a
DocumentCategorizerEventStreamvia samples andfeature generators. - DocumentCategorizerME - Class in opennlp.tools.doccat
-
A Max-Ent based implementation of
DocumentCategorizer. - DocumentCategorizerME(DoccatModel) - Constructor for class opennlp.tools.doccat.DocumentCategorizerME
-
Initializes a
DocumentCategorizerMEinstance with a doccat model. - documentId - Variable in class opennlp.tools.formats.conllu.ConlluSentence
- documentIdIterator - Variable in class opennlp.tools.formats.brat.BratDocumentStream
- documentIds - Variable in class opennlp.tools.formats.brat.BratDocumentStream
- documentIterator - Variable in class opennlp.tools.formats.masc.MascDocumentStream
- documentKey(String, Class<T>) - Static method in class opennlp.tools.document.Layers
-
Creates a
document-scopedkey in the toolkit'sopennlp:namespace, for a whole-document value the toolkit itself produces. - DocumentMerges - Class in opennlp.tools.document
-
The argument and duplicate layer checks shared by the
mergeimplementations. - DocumentMerges() - Constructor for class opennlp.tools.document.DocumentMerges
- DocumentNameFinder - Interface in opennlp.tools.namefind
-
Interface for processing an entire document allowing a
TokenNameFinderto use context from the entire document. - documents - Variable in class opennlp.tools.formats.masc.MascDocumentStream
- DocumentSample - Class in opennlp.tools.doccat
-
Class which holds a classified document and its category.
- DocumentSample(String, String[]) - Constructor for class opennlp.tools.doccat.DocumentSample
-
Initializes a
instance. - DocumentSample(String, String[], Map<String, Object>) - Constructor for class opennlp.tools.doccat.DocumentSample
-
Initializes a
instance. - DocumentSample(NameSample[]) - Constructor for record class opennlp.tools.namefind.TokenNameFinderCrossValidator.DocumentSample
-
Creates an instance of a
DocumentSamplerecord class. - DocumentSample(SentimentSample[]) - Constructor for class opennlp.tools.sentiment.SentimentCrossValidator.DocumentSample
-
Constructor
- documentSamples - Variable in class opennlp.tools.namefind.TokenNameFinderCrossValidator.DocumentToNameSampleStream
- documentSamples - Variable in class opennlp.tools.sentiment.SentimentCrossValidator.DocumentToSentimentSampleStream
- DocumentSampleStream - Class in opennlp.tools.doccat
-
Reads in string encoded training samples, parses them and outputs
DocumentSampleobjects. - DocumentSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.doccat.DocumentSampleStream
-
Initializes a
instance. - DocumentSampleStreamFactory - Class in opennlp.tools.formats
-
Factory producing OpenNLP
DocumentSampleStreams. - DocumentSampleStreamFactory(Class<DocumentSampleStreamFactory.Parameters>) - Constructor for class opennlp.tools.formats.DocumentSampleStreamFactory
- DocumentSampleStreamFactory.Parameters - Interface in opennlp.tools.formats
- DocumentSplitterStream - Class in opennlp.tools.formats.muc
- DocumentSplitterStream(ObjectStream<String>) - Constructor for class opennlp.tools.formats.muc.DocumentSplitterStream
- DocumentToLineStream - Class in opennlp.tools.formats.ontonotes
-
Reads a plain text file and return each line as a
Stringobject. - DocumentToLineStream(ObjectStream<String>) - Constructor for class opennlp.tools.formats.ontonotes.DocumentToLineStream
-
Initializes a
DocumentToLineStream. - DocumentToNameSampleStream(ObjectStream<TokenNameFinderCrossValidator.DocumentSample>) - Constructor for class opennlp.tools.namefind.TokenNameFinderCrossValidator.DocumentToNameSampleStream
- DocumentToSentimentSampleStream(ObjectStream<SentimentCrossValidator.DocumentSample>) - Constructor for class opennlp.tools.sentiment.SentimentCrossValidator.DocumentToSentimentSampleStream
-
Constructor
- doLineSearch(Function, double[], LineSearch.LineSearchResult, double) - Static method in class opennlp.tools.ml.maxent.quasinewton.LineSearch
-
Conducts a backtracking line search.
- DOLLAR - Static variable in class opennlp.tools.tokenize.lang.en.TokenSampleStream
- DONE - Static variable in class opennlp.tools.parser.treeinsert.Parser
-
Outcome used when a constituent needs an no additional parent node/building.
- doneIndex - Variable in class opennlp.tools.parser.treeinsert.Parser
- doTrain(DataIndexer<TrainingParameters>) - Method in class opennlp.tools.ml.maxent.GISTrainer
- doTrain(DataIndexer<TrainingParameters>) - Method in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
- doTrain(DataIndexer<TrainingParameters>) - Method in class opennlp.tools.ml.naivebayes.NaiveBayesTrainer
- doTrain(DataIndexer<TrainingParameters>) - Method in class opennlp.tools.ml.perceptron.PerceptronTrainer
- doTrain(DataIndexer<P>) - Method in class opennlp.tools.ml.AbstractEventTrainer
- doTrain(SequenceStream<Event>) - Method in class opennlp.tools.ml.AbstractEventModelSequenceTrainer
- doTrain(SequenceStream<Event>) - Method in class opennlp.tools.ml.perceptron.SimplePerceptronSequenceTrainer
- DOTTED_CAPITAL_I - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
The dotted capital I, the uppercase of
iin the Turkic languages. - DOUBLE - Enum constant in enum class opennlp.tools.util.wordvector.WordVectorType
- DOUBLE - Static variable in class opennlp.tools.util.normalizer.QuoteCharSequenceNormalizer
- DOUBLE_BYTES - Static variable in class opennlp.tools.depparse.ContributionCache
-
The bytes of one double value.
- DOUBLE_CAPITAL_S - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
The uppercase double s that an all-uppercase sharp s entry is written with.
- DOUBLE_QUOTE - Enum constant in enum class opennlp.tools.tokenize.uax29.WordBreak
-
The quotation mark (
U+0022). - DOUBLE_QUOTE - Static variable in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
- DOUBLE_QUOTE - Static variable in class opennlp.tools.tokenize.lang.en.TokenSampleStream
- DOUBLE_S - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
The lowercase double s that a sharp s expands to.
- DoubleArrayLexicon - Class in opennlp.tools.tokenize.lattice
-
The lexicon as a double-array trie: one transition is one array read and one comparison.
- DoubleArrayLexicon(int[], int[], int[], List<MecabDictionary.WordEntry>[]) - Constructor for class opennlp.tools.tokenize.lattice.DoubleArrayLexicon
-
Creates a lexicon from completed double-array tables and entry lists.
- DoubleArrayLexicon.Builder - Class in opennlp.tools.tokenize.lattice
-
Builds the trie from sorted surface ranges.
- DoubleArrayLexicon.Builder.PendingNode - Record Class in opennlp.tools.tokenize.lattice
-
A surface range with children waiting to be placed.
- DoubleArrayVector - Class in opennlp.tools.util.wordvector
-
A
WordVectorimplementation that represents the vector as array ofdoublevalues. - DoubleArrayVector(double[]) - Constructor for class opennlp.tools.util.wordvector.DoubleArrayVector
- doublec(int) - Method in class opennlp.tools.stemmer.PorterStemmer
- download(URI, Path, ResourceInstaller.Limits) - Static method in class opennlp.tools.util.ResourceInstaller
-
Fetches the source into the given file, bounded by the download limit.
- DOWNLOAD_PREFIX - Static variable in class opennlp.tools.util.ResourceInstaller
- DOWNLOAD_SUFFIX - Static variable in class opennlp.tools.util.ResourceInstaller
- downloadChecksumFile(String, Path) - Static method in class opennlp.tools.util.DownloadUtil
-
Retrieves the published
".sha512"file. - downloadHttp(URI, Path, ResourceInstaller.Limits, ResourceInstaller.Budget) - Static method in class opennlp.tools.util.ResourceInstaller
-
Fetches an http or https source with connection and read timeouts, following at most the allowed number of redirects under the redirect policy, checking any declared content length against the download limit before reading the body, and bounding the transferred bytes against the same limit.
- downloadModel(String, ModelType, Class<T>) - Static method in class opennlp.tools.util.DownloadUtil
-
Triggers a download for the specified
ModelType. - downloadModel(URL, Class<T>) - Static method in class opennlp.tools.util.DownloadUtil
-
Downloads a model from a
URL. - DownloadParser(URL, Path) - Constructor for class opennlp.tools.util.DownloadUtil.DownloadParser
-
Initializes a parser that keeps a copy of the index page.
- DownloadUtil - Class in opennlp.tools.util
-
This class facilitates the downloading of pretrained OpenNLP models.
- DownloadUtil() - Constructor for class opennlp.tools.util.DownloadUtil
- DownloadUtil.DownloadParser - Class in opennlp.tools.util
- dropout - Variable in record class opennlp.tools.depparse.FeedforwardDependencyTrainer.Settings
-
The field for the
dropoutrecord component. - dropout() - Method in record class opennlp.tools.depparse.FeedforwardDependencyTrainer.Settings
-
Returns the value of the
dropoutrecord component. - DROPOUT_PARAM - Static variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer
-
The training parameter key of the hidden dropout probability; default 0.5.
- dropOverlappingSpans(Span[]) - Static method in class opennlp.tools.namefind.NameFinderME
-
Removes
spanswith are intersecting or crossing in any way. - ds - Variable in class opennlp.tools.ml.maxent.RealBasicEventStream
- DuplicateLayerPolicy() - Constructor for enum class opennlp.tools.document.Document.DuplicateLayerPolicy
- DUTCH - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- DUTCH - Static variable in class opennlp.tools.tokenize.lang.Factory
- dutchStemmer - Class in opennlp.tools.stemmer.snowball
-
This class implements the stemming algorithm defined by a snowball script.
- dutchStemmer() - Constructor for class opennlp.tools.stemmer.snowball.dutchStemmer
- DynamicEvalParameters - Class in opennlp.tools.ml.model
- DynamicEvalParameters(List<? extends Context>, int) - Constructor for class opennlp.tools.ml.model.DynamicEvalParameters
-
Creates a set of parameters which can be evaluated with the eval method.
E
- elems - Variable in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Node
- ellipsis() - Method in class opennlp.tools.util.normalizer.TextNormalizer.Builder
-
Returns this builder with ellipsis expansion appended.
- EllipsisCharSequenceNormalizer - Class in opennlp.tools.util.normalizer
-
A
CharSequenceNormalizerthat expands the ellipsis and leader characters to ASCII dots: the horizontal ellipsis (U+2026) to"..."and the two-dot leader (U+2025) to"..". - EllipsisCharSequenceNormalizer() - Constructor for class opennlp.tools.util.normalizer.EllipsisCharSequenceNormalizer
- EMAIL - Enum constant in enum class opennlp.tools.namefind.RegexNameFinderFactory.DEFAULT_REGEX_NAME_FINDER
- embed(CharSequence) - Method in interface opennlp.tools.embeddings.TextEmbedder
-
Embeds a piece of text.
- embedAll(List<? extends CharSequence>) - Method in interface opennlp.tools.embeddings.TextEmbedder
-
Embeds several texts.
- EMBEDDING_INIT_SCALE - Static variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer
-
The half-width of the uniform range embeddings are drawn from.
- EMBEDDING_SIZE_PARAM - Static variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer
-
The training parameter key of the embedding dimensionality; default 50.
- embeddingAccumulator - Variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer.Optimizer
- EmbeddingException - Exception Class in opennlp.tools.embeddings
-
Thrown if a
TextEmbedderfails to embed text, for example because the inference backend reports an error. - EmbeddingException(String, Throwable) - Constructor for exception class opennlp.tools.embeddings.EmbeddingException
- embeddingGradient - Variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer.Optimizer
-
The embedding gradient rows, allocated on first touch and reused.
- embeddings - Variable in class opennlp.tools.depparse.FeedforwardNetwork
- embeddings() - Method in class opennlp.tools.depparse.FeedforwardNetwork
- embeddingSize - Variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer.Optimizer
- embeddingSize - Variable in record class opennlp.tools.depparse.FeedforwardDependencyTrainer.Settings
-
The field for the
embeddingSizerecord component. - embeddingSize - Variable in class opennlp.tools.depparse.FeedforwardNetwork
- embeddingSize() - Method in record class opennlp.tools.depparse.FeedforwardDependencyTrainer.Settings
-
Returns the value of the
embeddingSizerecord component. - embeddingSize() - Method in class opennlp.tools.depparse.FeedforwardNetwork
- emit(CharSequence, int, int, WordType, WordTokenizer.TokenHandler) - Method in class opennlp.tools.tokenize.uax29.WordTokenizer
- EMOJI - Enum constant in enum class opennlp.tools.tokenize.uax29.WordType
-
An emoji, emoji sequence, or regional-indicator flag.
- EMOJI_FOLD - Enum constant in enum class opennlp.tools.util.normalizer.Dimension
-
Emoji folded to ASCII emoticons where a mapping exists; lossy, for matching only.
- EmojiAnnotation - Record Class in opennlp.tools.util.normalizer
-
The annotation record of one emoji: an extensible per-symbol store of attribute values, each carrying its own provenance.
- EmojiAnnotation(String, Map<String, EmojiAnnotation.Value>) - Constructor for record class opennlp.tools.util.normalizer.EmojiAnnotation
-
Creates a record; normally records come from
EmojiAnnotations.lookup(CharSequence). - EmojiAnnotation.Value - Record Class in opennlp.tools.util.normalizer
-
One attribute value with its provenance, mirroring one row of the bundled data file.
- EmojiAnnotationFeatureGenerator - Class in opennlp.tools.util.featuregen
-
Generates features from the emoji annotation layer for the token at the given index: the project-authored coarse sentiment score (
emojiSentiment=2), the entity type (emojiType=HEART), the document category (emojiCategory=SMILEYS_AND_EMOTION), and for flags the ISO 3166 region (emojiRegion=DE). - EmojiAnnotationFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.EmojiAnnotationFeatureGenerator
-
Instantiates a generator over the bundled and derived annotation layers.
- EmojiAnnotationFeatureGenerator(EmojiAnnotator) - Constructor for class opennlp.tools.util.featuregen.EmojiAnnotationFeatureGenerator
-
Instantiates a generator over a configured annotator, for example one with a gazetteer join.
- EmojiAnnotationFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
A
GeneratorFactorythat producesEmojiAnnotationFeatureGeneratorinstances whenEmojiAnnotationFeatureGeneratorFactory.create()is called, for use in a feature generation descriptor: - EmojiAnnotationFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.EmojiAnnotationFeatureGeneratorFactory
-
Instantiates a factory that produces
EmojiAnnotationFeatureGeneratorinstances. - EmojiAnnotationJoin - Interface in opennlp.tools.util.normalizer
-
The joined-facts layer of the emoji annotation record store: a hook through which facts that live in user-installed data, typically a gazetteer (coordinates, containment chain, GeoNames or Who's On First identifiers), are resolved at run time and merged into an
EmojiAnnotation. - EmojiAnnotations - Class in opennlp.tools.util.normalizer
-
The bundled-facts layer of the emoji annotation record store: license-clean, provenance-tagged attributes intrinsic to a pictograph (name, coarse sentiment, entity type, document category), loaded on first use from the project-authored
emoji-annotations.txtresource. - EmojiAnnotations() - Constructor for class opennlp.tools.util.normalizer.EmojiAnnotations
- EmojiAnnotator - Class in opennlp.tools.util.normalizer
-
Assembles one
EmojiAnnotationper symbol from bundled facts (EmojiAnnotations), derived facts (EmojiFlags), and optional joined facts (EmojiAnnotationJoin). - EmojiAnnotator() - Constructor for class opennlp.tools.util.normalizer.EmojiAnnotator
-
Creates an annotator over the bundled and derived layers only.
- EmojiAnnotator(EmojiAnnotationJoin) - Constructor for class opennlp.tools.util.normalizer.EmojiAnnotator
-
Creates an annotator that also resolves joined facts through
join. - EmojiCategory - Enum Class in opennlp.tools.util.normalizer
-
The document-category hint of an annotated emoji, one constant per group header of the upstream Unicode
emoji-test.txt(Emoji Keyboard/Display Test Data for UTS #51). - EmojiCategory() - Constructor for enum class opennlp.tools.util.normalizer.EmojiCategory
- EmojiCharSequenceNormalizer - Class in opennlp.tools.util.normalizer
-
A
CharSequenceNormalizerimplementation that replaces each run of complete emoji with one space. - EmojiCharSequenceNormalizer() - Constructor for class opennlp.tools.util.normalizer.EmojiCharSequenceNormalizer
- EmojiEmoticons - Class in opennlp.tools.util.normalizer
-
The bundled emoji/emoticon fold tables (
emoji-emoticons.txt) and the sequence substitution shared byEmojiToEmoticonCharSequenceNormalizerandEmoticonToEmojiCharSequenceNormalizer. - EmojiEmoticons(EmojiEmoticons.Tables) - Constructor for class opennlp.tools.util.normalizer.EmojiEmoticons
- EmojiEmoticons.Direction - Record Class in opennlp.tools.util.normalizer
-
One direction table, keyed by the first code point of the source sequence, candidates ordered longest source first so a scan is longest-match.
- EmojiEmoticons.Mapping - Record Class in opennlp.tools.util.normalizer
-
One fold row: a source code point sequence and its replacement.
- EmojiEmoticons.Tables - Record Class in opennlp.tools.util.normalizer
-
The two direction tables produced by
EmojiEmoticons.parse(InputStream). - EmojiEntityType - Enum Class in opennlp.tools.util.normalizer
-
The coarse entity type of an annotated emoji, a small project-authored taxonomy assigned from the subgroup headers of the upstream Unicode
emoji-test.txt(Emoji Keyboard/Display Test Data for UTS #51), with documented exceptions: for example theface-smilingandface-concernedsubgroups map toEmojiEntityType.FACEandtransport-groundmaps toEmojiEntityType.VEHICLE. - EmojiEntityType() - Constructor for enum class opennlp.tools.util.normalizer.EmojiEntityType
- EmojiFeatureGenerator - Class in opennlp.tools.doccat
-
Generates document features from the emoji annotation layer: for every annotated token the project-authored coarse sentiment score (
emojiSentiment=2), the entity type (emojiType=HEART), the document category hint (emojiCategory=SMILEYS_AND_EMOTION), and for flags the ISO 3166 region (emojiRegion=DE). - EmojiFeatureGenerator() - Constructor for class opennlp.tools.doccat.EmojiFeatureGenerator
-
Instantiates a generator over the bundled and derived annotation layers.
- EmojiFeatureGenerator(EmojiAnnotator) - Constructor for class opennlp.tools.doccat.EmojiFeatureGenerator
-
Instantiates a generator over a configured annotator, for example one with a gazetteer join.
- EmojiFlags - Class in opennlp.tools.util.normalizer
-
The derived-facts layer of the emoji annotation record store: decodes flag emoji to ISO 3166 codes purely from the code point sequence, with no data file.
- EmojiFlags() - Constructor for class opennlp.tools.util.normalizer.EmojiFlags
- emojiFold() - Method in class opennlp.tools.util.normalizer.TermAnalyzer.Builder
-
Enables
Dimension.EMOJI_FOLD, folding emoji to ASCII emoticons. - EmojiSentimentContextGenerator - Class in opennlp.tools.sentiment
-
A
SentimentContextGeneratorthat adds emoji annotation features to the default token context: for every annotated token the project-authored coarse sentiment score (emojiSentiment=2), the entity type (emojiType=HEART), the category (emojiCategory=SMILEYS_AND_EMOTION), and for flags the region (emojiRegion=DE). - EmojiSentimentContextGenerator() - Constructor for class opennlp.tools.sentiment.EmojiSentimentContextGenerator
-
Instantiates a context generator over the bundled and derived annotation layers.
- EmojiSentimentContextGenerator(EmojiAnnotator) - Constructor for class opennlp.tools.sentiment.EmojiSentimentContextGenerator
-
Instantiates a context generator over a configured annotator, for example one with a gazetteer join.
- EmojiSentimentFactory - Class in opennlp.tools.sentiment
-
A
SentimentFactorywhose context generator adds emoji annotation features (seeEmojiSentimentContextGenerator). - EmojiSentimentFactory() - Constructor for class opennlp.tools.sentiment.EmojiSentimentFactory
-
Instantiates a factory whose context generator adds emoji annotation features.
- emojiToEmoticon - Variable in class opennlp.tools.util.normalizer.EmojiEmoticons
- emojiToEmoticon - Variable in record class opennlp.tools.util.normalizer.EmojiEmoticons.Tables
-
The field for the
emojiToEmoticonrecord component. - emojiToEmoticon() - Method in record class opennlp.tools.util.normalizer.EmojiEmoticons.Tables
-
Returns the value of the
emojiToEmoticonrecord component. - emojiToEmoticon() - Method in class opennlp.tools.util.normalizer.TextNormalizer.Builder
-
Returns this builder with emoji-to-emoticon folding appended.
- emojiToEmoticon(CharSequence) - Method in class opennlp.tools.util.normalizer.EmojiEmoticons
-
Folds mapped pictographs in
textto their ASCII emoticons. - emojiToEmoticonAligned(CharSequence) - Method in class opennlp.tools.util.normalizer.EmojiEmoticons
-
Folds mapped pictographs in
textto their ASCII emoticons, producing theAlignmentback to the original text. - EmojiToEmoticonCharSequenceNormalizer - Class in opennlp.tools.util.normalizer
-
A
CharSequenceNormalizerthat folds emoji to ASCII emoticons, using the bundledemoji-emoticons.txtmapping (for example U+1F642 SLIGHTLY SMILING FACE to:)). - EmojiToEmoticonCharSequenceNormalizer() - Constructor for class opennlp.tools.util.normalizer.EmojiToEmoticonCharSequenceNormalizer
-
Instantiated once for
EmojiToEmoticonCharSequenceNormalizer.getInstance(). - emoticonToEmoji - Variable in class opennlp.tools.util.normalizer.EmojiEmoticons
- emoticonToEmoji - Variable in record class opennlp.tools.util.normalizer.EmojiEmoticons.Tables
-
The field for the
emoticonToEmojirecord component. - emoticonToEmoji() - Method in record class opennlp.tools.util.normalizer.EmojiEmoticons.Tables
-
Returns the value of the
emoticonToEmojirecord component. - emoticonToEmoji() - Method in class opennlp.tools.util.normalizer.TextNormalizer.Builder
-
Returns this builder with emoticon-to-emoji folding appended.
- emoticonToEmoji(CharSequence) - Method in class opennlp.tools.util.normalizer.EmojiEmoticons
-
Folds whitespace-delimited ASCII emoticons in
textto their pictographs. - emoticonToEmojiAligned(CharSequence) - Method in class opennlp.tools.util.normalizer.EmojiEmoticons
-
Folds whitespace-delimited ASCII emoticons in
textto their pictographs, producing theAlignmentback to the original text. - EmoticonToEmojiCharSequenceNormalizer - Class in opennlp.tools.util.normalizer
-
A
CharSequenceNormalizerthat folds ASCII emoticons to emoji, using the bundledemoji-emoticons.txtmapping (for example:-)to U+1F642 SLIGHTLY SMILING FACE). - EmoticonToEmojiCharSequenceNormalizer() - Constructor for class opennlp.tools.util.normalizer.EmoticonToEmojiCharSequenceNormalizer
-
Instantiated once for
EmoticonToEmojiCharSequenceNormalizer.getInstance(). - empty() - Static method in class opennlp.tools.util.ext.ProviderSpec
- empty(CharSequence) - Static method in class opennlp.tools.document.ImmutableDocument
-
Creates a document without any layers.
- EMPTY - Static variable in class opennlp.tools.namefind.NameFinderME
- EMPTY - Static variable in class opennlp.tools.tokenize.lattice.DoubleArrayLexicon.Builder
- EMPTY - Static variable in class opennlp.tools.util.ext.ProviderSpec
- EMPTY_ADDITIONAL_CONTEXT - Static variable in class opennlp.tools.ml.BeamSearch
- EMPTY_NODE - Static variable in class opennlp.tools.formats.conllu.ConlluDependencySampleStream
-
Marks an empty node id such as
1.1. - EmptyLinePreprocessorStream - Class in opennlp.tools.sentdetect
-
ObjectStreamto clean up empty lines for empty line separated document streams.
- Skips empty line at training data start
- Transforms multiple empty lines in a row into one
- Replaces white space lines with empty lines
- TODO: Terminates last document with empty line if it is missing
This stream should be used by the components that mark empty lines to mark document boundaries. - EmptyLinePreprocessorStream(ObjectStream<String>) - Constructor for class opennlp.tools.sentdetect.EmptyLinePreprocessorStream
- emptyOrString(String, String, String) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
- EN - Enum constant in enum class opennlp.tools.formats.Conll03NameSampleStream.LANGUAGE
- encode() - Method in record class opennlp.tools.depparse.Transition
-
Renders the transition as a model outcome string, for example
SHIFTorLEFT_ARC:nsubj. - encode(CharSequence) - Method in interface opennlp.tools.tokenize.SubwordTokenizer
-
Encodes text into subword pieces.
- encode(CharSequence) - Method in class opennlp.tools.tokenize.WordpieceEncoder
-
Encodes text into subword pieces.
- encode(Span[], int) - Method in class opennlp.tools.namefind.BilouCodec
- encode(Span[], int) - Method in class opennlp.tools.namefind.BioCodec
- encode(Span[], int) - Method in interface opennlp.tools.util.SequenceCodec
- encodeLemmas(String[], String[]) - Static method in class opennlp.tools.lemmatizer.LemmatizerME
-
Encodes the word given its lemmas.
- encodeToBPE(String) - Method in class opennlp.tools.tokenize.BPETokenizer
-
Encodes a single word into BPE subword tokens by splitting it into character-level symbols, applying learned merge operations, and stripping the
BPETokenizer.END_OF_WORDmarkers from the resulting tokens. - encodeToIds(CharSequence) - Method in interface opennlp.tools.tokenize.SubwordTokenizer
-
Encodes text into vocabulary ids.
- encodeToken(String) - Static method in class opennlp.tools.parser.Parse
- encodeToPieces(CharSequence) - Method in interface opennlp.tools.tokenize.SubwordTokenizer
-
Encodes text into piece strings in the vocabulary's normalized form.
- encodeWord(MappedText, int, int, List<SubwordPiece>) - Method in class opennlp.tools.tokenize.WordpieceEncoder
-
Appends the longest vocabulary segmentation of one normalized word.
- encoding - Variable in class opennlp.tools.formats.convert.FileToStringSampleStream
- encoding - Variable in class opennlp.tools.formats.NameFinderCensus90NameStream
- encoding - Variable in class opennlp.tools.util.PlainTextByLineStream
- EncodingParameter - Interface in opennlp.tools.cmdline.params
-
Encoding parameter.
- end - Variable in class opennlp.tools.formats.ad.ADChunkSampleStream
- end - Variable in record class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.LeafRest
-
The field for the
endrecord component. - end - Variable in record class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Tag
-
The field for the
endrecord component. - end - Variable in record class opennlp.tools.formats.conllu.ConlluStream.MultiwordRange
-
The field for the
endrecord component. - end - Variable in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.CompoundPattern
-
The field for the
endrecord component. - end - Variable in class opennlp.tools.tokenize.lattice.LatticeTokenizer.Node
- end - Variable in record class opennlp.tools.tokenize.SubwordPiece
-
The field for the
endrecord component. - end - Variable in record class opennlp.tools.tokenize.WordpieceEncoder.VocabularyMatch
-
The field for the
endrecord component. - end - Variable in record class opennlp.tools.util.normalizer.UnicodeEmojiSequences.Candidate
-
The field for the
endrecord component. - end - Variable in class opennlp.tools.util.Span
- end() - Method in record class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.LeafRest
-
Returns the value of the
endrecord component. - end() - Method in record class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Tag
-
Returns the value of the
endrecord component. - end() - Method in record class opennlp.tools.formats.conllu.ConlluStream.MultiwordRange
-
Returns the value of the
endrecord component. - end() - Method in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.CompoundPattern
-
Returns the value of the
endrecord component. - end() - Method in record class opennlp.tools.tokenize.SubwordPiece
-
Returns the value of the
endrecord component. - end() - Method in record class opennlp.tools.tokenize.WordpieceEncoder.VocabularyMatch
-
Returns the value of the
endrecord component. - end() - Method in record class opennlp.tools.util.normalizer.UnicodeEmojiSequences.Candidate
-
Returns the value of the
endrecord component. - END - Enum constant in enum class opennlp.tools.stemmer.hunspell.HunspellDictionary.CompoundPosition
-
The last part.
- END_ANCHOR - Static variable in class opennlp.tools.stemmer.hunspell.HunspellConversion
-
Marks a
REPpattern that must end the word. - END_OF_ARCHIVE_LENGTH - Static variable in class opennlp.tools.util.archive.TarStream
-
The two zero blocks that end an archive.
- END_OF_WORD - Static variable in class opennlp.tools.tokenize.BPETokenizer
-
Suffix appended to the last symbol of each word during BPE encoding to distinguish word-final characters from word-internal ones.
- END_OFFSET - Static variable in class opennlp.tools.formats.brat.BratAnnotationStream.SpanAnnotationParser
- END_TAG - Static variable in class opennlp.tools.namefind.NameSample
- endDocument() - Method in class opennlp.tools.dictionary.serializer.DictionaryEntryPersistor.DictionaryContenthandler
-
Not implemented.
- ended - Variable in class opennlp.tools.util.archive.TarStream
- endElement(String) - Method in class opennlp.tools.formats.muc.MucNameContentHandler
- endElement(String) - Method in class opennlp.tools.formats.muc.SgmlParser.ContentHandler
-
Handles a SGML end element.
- endElement(String, String, String) - Method in class opennlp.tools.dictionary.serializer.DictionaryEntryPersistor.DictionaryContenthandler
-
Creates the Profile object after processing is complete and switches mIsInsideNgramElement flag.
- endElement(String, String, String) - Method in class opennlp.tools.formats.frenchtreebank.ConstitDocumentHandler
- endElement(String, String, String) - Method in class opennlp.tools.formats.letsmt.LetsmtDocument.LetsmtDocumentHandler
- endElement(String, String, String) - Method in class opennlp.tools.formats.masc.MascDocumentStream.HeaderHandler
- endElement(String, String, String) - Method in class opennlp.tools.formats.masc.MascPennTagParser
- endFlag - Variable in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.CompoundPattern
-
The field for the
endFlagrecord component. - endFlag() - Method in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.CompoundPattern
-
Returns the value of the
endFlagrecord component. - endOfAsciiDigits(CharSequence, int) - Static method in class opennlp.tools.util.StringUtil
-
Finds the end of the run of ASCII digits that starts at
from. - endOfLabel(String, int) - Static method in class opennlp.tools.parser.Parse
-
Finds the end of the run of label characters that starts at
from. - EndOfSentenceScanner - Interface in opennlp.tools.sentdetect
- endOfTokenText(String, int) - Static method in class opennlp.tools.parser.Parse
-
Finds the end of the run of token characters that starts at
from. - endPrefixMapping(String) - Method in class opennlp.tools.dictionary.serializer.DictionaryEntryPersistor.DictionaryContenthandler
-
Not implemented.
- ends - Variable in class opennlp.tools.tokenize.MappedText
- ends - Variable in class opennlp.tools.util.normalizer.Alignment.Builder
- ends(String) - Method in class opennlp.tools.stemmer.PorterStemmer
- endsBody(int) - Method in class opennlp.tools.util.normalizer.UrlCharSequenceNormalizer
-
Tests whether a code point ends a URL body.
- endsWithIgnoreCase(String, String) - Static method in class opennlp.tools.util.ResourceInstaller
-
Compares a name's ending with a suffix, ignoring letter case.
- engine - Variable in class opennlp.tools.stemmer.snowball.SnowballStemmerFactory.ConfinedStemmer
- engineFor(SnowballStemmer.ALGORITHM) - Static method in class opennlp.tools.stemmer.snowball.SnowballStemmer
-
Returns a supplier of a fresh Snowball engine for the given algorithm, shared with
SnowballStemmerFactorywhose products embed one engine directly. - ENGLISH - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- englishStemmer - Class in opennlp.tools.stemmer.snowball
-
This class implements the stemming algorithm defined by a snowball script.
- englishStemmer() - Constructor for class opennlp.tools.stemmer.snowball.englishStemmer
- ensureCapacity(int) - Method in class opennlp.tools.tokenize.lattice.DoubleArrayLexicon.Builder
-
Grows the base and check arrays until a slot is addressable.
- ensureVacant(Path, Path) - Static method in class opennlp.tools.util.ResourceInstaller
-
Checks that one staged file's destination is free to receive it, without creating anything.
- ENT_TYPE_GPE - Static variable in class opennlp.tools.formats.EvalitaNameSampleStream
- ENT_TYPE_LOC - Static variable in class opennlp.tools.formats.EvalitaNameSampleStream
- ENT_TYPE_ORG - Static variable in class opennlp.tools.formats.EvalitaNameSampleStream
- ENT_TYPE_PER - Static variable in class opennlp.tools.formats.EvalitaNameSampleStream
- ENTITIES - Static variable in class opennlp.tools.document.Layers
-
Named entities; each annotation covers one mention and carries the entity type as its value.
- ENTITY_ELEMENT_NAME - Static variable in class opennlp.tools.formats.muc.MucNameContentHandler
- ENTITY_TYPE - Static variable in class opennlp.tools.formats.brat.AnnotationConfiguration
- ENTITY_TYPE - Static variable in record class opennlp.tools.util.normalizer.EmojiAnnotation
-
The attribute key of the coarse
entity type. - entityIDsToTokens - Variable in class opennlp.tools.formats.masc.MascNamedEntityParser
- entityIDtoEntityType - Variable in class opennlp.tools.formats.masc.MascNamedEntityParser
- EntityLinker<T> - Interface in opennlp.tools.entitylinker
-
EntityLinkers establish connections with external data to enrich extracted entities.
- EntityLinkerFactory - Class in opennlp.tools.entitylinker
-
Generates a
EntityLinkerinstances via apropertiesfile configuration. - EntityLinkerFactory() - Constructor for class opennlp.tools.entitylinker.EntityLinkerFactory
- EntityLinkerProperties - Class in opennlp.tools.entitylinker
-
Properties wrapper for
EntityLinkerimplementations. - EntityLinkerProperties(File) - Constructor for class opennlp.tools.entitylinker.EntityLinkerProperties
-
Initializes
EntityLinkerPropertiesvia aFilereference. - EntityLinkerProperties(InputStream) - Constructor for class opennlp.tools.entitylinker.EntityLinkerProperties
-
Initializes
EntityLinkerPropertiesvia aInputStreamreference. - entityType() - Method in record class opennlp.tools.util.normalizer.EmojiAnnotation
-
Returns the coarse entity type, or empty when not annotated.
- entries - Variable in class opennlp.tools.depparse.ContributionCache
-
The number of contribution vectors published so far.
- entries - Variable in class opennlp.tools.sentdetect.SentenceDetectorME.AbbreviationIndex
-
The dictionary entries, folded to lower case unless the dictionary is case-sensitive.
- entries - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- entries - Variable in class opennlp.tools.util.archive.TarStream
- entries() - Method in class opennlp.tools.depparse.ContributionCache
- entry - Variable in class opennlp.tools.tokenize.lattice.LatticeTokenizer.Node
- Entry - Record Class in opennlp.tools.dictionary.serializer
-
An
Entryis aStringListwhich can optionally be mapped to attributes. - Entry(String[], int) - Constructor for record class opennlp.tools.stemmer.hunspell.HunspellAffixTable.Entry
-
Creates an instance of a
Entryrecord class. - Entry(String, URI, String, String) - Constructor for record class opennlp.tools.util.DictionaryCatalog.Entry
-
Validates the components.
- Entry(StringList, Attributes) - Constructor for record class opennlp.tools.dictionary.serializer.Entry
-
Creates an instance of a
Entryrecord class. - ENTRY_ELEMENT - Static variable in class opennlp.tools.dictionary.serializer.DictionaryEntryPersistor
- entryBytes - Variable in class opennlp.tools.depparse.ContributionCache
-
The bytes one contribution vector costs.
- entryBytes() - Method in class opennlp.tools.depparse.ContributionCache
- EntryInserter - Interface in opennlp.tools.dictionary.serializer
- entryLengths - Variable in class opennlp.tools.sentdetect.SentenceDetectorME.AbbreviationIndex
-
The distinct entry lengths, ascending.
- entryMorphology - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary.AffixFile
- entrySet - Variable in class opennlp.tools.dictionary.Dictionary
- entryStream() - Method in class opennlp.tools.util.archive.TarStream
-
Opens the current entry's content.
- EOS - Static variable in class opennlp.tools.parser.AbstractContextGenerator
- EOS - Static variable in class opennlp.tools.parser.ChunkContextGenerator
- EOS_CHARACTERS_PROPERTY - Static variable in class opennlp.tools.sentdetect.SentenceDetectorFactory
- eosCharacters - Variable in class opennlp.tools.sentdetect.DefaultEndOfSentenceScanner
- eosCharacters - Variable in class opennlp.tools.sentdetect.DefaultSDContextGenerator
- eosCharacters - Static variable in class opennlp.tools.sentdetect.lang.th.SentenceContextGenerator
- eosCharacters - Variable in class opennlp.tools.sentdetect.SentenceDetectorFactory
- eosCharArrayToString(char[]) - Method in class opennlp.tools.sentdetect.SentenceDetectorFactory
- eosStringToCharArray(String) - Method in class opennlp.tools.sentdetect.SentenceDetectorFactory
- epochs - Variable in record class opennlp.tools.depparse.FeedforwardDependencyTrainer.Settings
-
The field for the
epochsrecord component. - epochs() - Method in record class opennlp.tools.depparse.FeedforwardDependencyTrainer.Settings
-
Returns the value of the
epochsrecord component. - eq_s(CharSequence) - Method in class opennlp.tools.stemmer.snowball.SnowballProgram
- eq_s_b(CharSequence) - Method in class opennlp.tools.stemmer.snowball.SnowballProgram
- equal(int) - Method in class opennlp.tools.util.normalizer.Alignment.Builder
-
Records
charCountcharacters copied through unchanged (a one to one run). - equals(Object) - Method in class opennlp.tools.chunker.ChunkSample
- equals(Object) - Method in record class opennlp.tools.cmdline.ArgumentParser.Argument
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.cmdline.ArgumentParser.ArgumentProxy
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.depparse.DependencyArc
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class opennlp.tools.depparse.DependencySample
- equals(Object) - Method in class opennlp.tools.depparse.DependencyTree
- equals(Object) - Method in record class opennlp.tools.depparse.FeedforwardDependencyTrainer.Derivation
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.depparse.FeedforwardDependencyTrainer.Settings
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.depparse.Transition
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class opennlp.tools.dictionary.Dictionary
- equals(Object) - Method in record class opennlp.tools.dictionary.serializer.Entry
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class opennlp.tools.doccat.DocumentSample
- equals(Object) - Method in record class opennlp.tools.document.Annotation
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class opennlp.tools.document.LayerKey
- equals(Object) - Method in class opennlp.tools.entitylinker.BaseLink
- equals(Object) - Method in class opennlp.tools.entitylinker.LinkedSpan
- equals(Object) - Method in record class opennlp.tools.formats.ad.ADMetadata.IdSpans
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.formats.ad.ADMetadata.TextAndParagraph
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.formats.ad.ADSentenceStream.Sentence
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.LeafEnd
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.LeafRest
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.PunctuationLine
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Tag
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.formats.conllu.ConlluStream.MultiwordRange
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.formats.masc.MascSentence.QuarkExtractor
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class opennlp.tools.langdetect.Language
- equals(Object) - Method in record class opennlp.tools.langdetect.LanguageDetectorME.StringCPLengthPair
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.langdetect.LanguageSample
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.langdetect.ProbingLanguageDetectionResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class opennlp.tools.lemmatizer.LemmaSample
- equals(Object) - Method in class opennlp.tools.ml.maxent.GISModel
- equals(Object) - Method in record class opennlp.tools.ml.maxent.quasinewton.QNTrainer.ModelEvaluator
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class opennlp.tools.ml.model.AbstractModel
- equals(Object) - Method in class opennlp.tools.ml.model.ComparableEvent
- equals(Object) - Method in class opennlp.tools.ml.model.ComparablePredicate
- equals(Object) - Method in class opennlp.tools.ml.model.Context
- equals(Object) - Method in class opennlp.tools.ml.model.EvalParameters
- equals(Object) - Method in record class opennlp.tools.ml.model.EventFields.EventLine
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class opennlp.tools.ml.model.UniformPrior
- equals(Object) - Method in class opennlp.tools.ml.perceptron.PerceptronModel
- equals(Object) - Method in record class opennlp.tools.models.ClassPathModel
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.models.ClassPathModelEntry
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class opennlp.tools.namefind.NameSample
- equals(Object) - Method in record class opennlp.tools.namefind.TokenNameFinderCrossValidator.DocumentSample
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class opennlp.tools.ngram.NGramCharModel
- equals(Object) - Method in class opennlp.tools.ngram.NGramModel
- equals(Object) - Method in class opennlp.tools.parser.lang.en.HeadRules
- equals(Object) - Method in class opennlp.tools.parser.lang.en.HeadRules.HeadRule
- equals(Object) - Method in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules
- equals(Object) - Method in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules.HeadRule
- equals(Object) - Method in class opennlp.tools.parser.Parse
- equals(Object) - Method in record class opennlp.tools.parser.ParserAnnotator.Phrase
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class opennlp.tools.parser.ParserModel
- equals(Object) - Method in class opennlp.tools.postag.POSDictionary
- equals(Object) - Method in class opennlp.tools.postag.POSModel
- equals(Object) - Method in class opennlp.tools.postag.POSSample
- equals(Object) - Method in class opennlp.tools.sentdetect.SentenceSample
- equals(Object) - Method in class opennlp.tools.sentiment.SentimentSample
- equals(Object) - Method in record class opennlp.tools.stemmer.hunspell.HunspellAffixTable.Entry
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.stemmer.hunspell.HunspellConversion.Rule
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.Affix
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.CompoundPattern
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.UnsupportedDirective
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.WordBreak
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.stemmer.hunspell.HunspellStemmer.CompoundPart
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.stemmer.hunspell.HunspellStemmer.Junction
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.arabicStemmer
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.catalanStemmer
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.danishStemmer
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.dutchStemmer
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.englishStemmer
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.finnishStemmer
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.frenchStemmer
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.germanStemmer
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.greekStemmer
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.hungarianStemmer
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.indonesianStemmer
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.irishStemmer
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.italianStemmer
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.norwegianStemmer
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.porterStemmer
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.portugueseStemmer
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.romanianStemmer
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.russianStemmer
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.spanishStemmer
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.swedishStemmer
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.turkishStemmer
- equals(Object) - Method in record class opennlp.tools.termvector.TermVector
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.tokenize.BPETokenizer.SymbolPair
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.tokenize.lattice.CategoryTable.Builder.Mapping
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.tokenize.lattice.DoubleArrayLexicon.Builder.PendingNode
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.tokenize.lattice.MecabDictionary.Category
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.tokenize.lattice.MecabDictionary.WordEntry
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.tokenize.lattice.Morpheme
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.tokenize.lattice.UnigramSegmenter.WordTrieBuilder.BuildStep
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.tokenize.SubwordPiece
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class opennlp.tools.tokenize.TokenizerCharacterPolicy
- equals(Object) - Method in class opennlp.tools.tokenize.TokenizerModel
- equals(Object) - Method in class opennlp.tools.tokenize.TokenSample
- equals(Object) - Method in record class opennlp.tools.tokenize.uax29.WordToken
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.tokenize.WordpieceEncoder.VocabularyMatch
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.util.DictionaryCatalog.Entry
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.util.ext.Providers.ConfigurationFile
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.util.ext.Providers.Lookup
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.util.ext.Providers.Parsed
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.util.ext.Providers.Registration
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class opennlp.tools.util.ext.ProviderSpec
- equals(Object) - Method in record class opennlp.tools.util.normalizer.AlignedText
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.util.normalizer.CodePoints.At
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class opennlp.tools.util.normalizer.CodePointSet
- equals(Object) - Method in record class opennlp.tools.util.normalizer.Confusables.Data
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.util.normalizer.EmojiAnnotation
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.util.normalizer.EmojiAnnotation.Value
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.util.normalizer.EmojiEmoticons.Direction
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.util.normalizer.EmojiEmoticons.Mapping
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.util.normalizer.EmojiEmoticons.Tables
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class opennlp.tools.util.normalizer.NormalizationProfile
- equals(Object) - Method in record class opennlp.tools.util.normalizer.UnicodeDash.DashCharacter
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.util.normalizer.UnicodeEmojiSequences.Candidate
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.util.normalizer.UnicodeEmojiSequences.Walk
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.util.normalizer.UnicodeWhitespace.RelatedCharacter
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.util.normalizer.UnicodeWhitespace.WhitespaceCharacter
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.util.ResourceInstaller.Limits
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class opennlp.tools.util.Sequence
- equals(Object) - Method in class opennlp.tools.util.Span
- equals(Object) - Method in class opennlp.tools.util.StringList
- equals(Object) - Method in record class opennlp.tools.util.TokenTag
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.util.TrainingConfiguration
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class opennlp.tools.util.Version
- errorTokenWithContext(String[], int) - Static method in class opennlp.tools.namefind.NameSample
- ESCAPE - Static variable in class opennlp.tools.util.ext.ProviderSpec
- escapeChar(Character) - Static method in class opennlp.tools.sentdetect.DefaultSDContextGenerator
- escapedByte(String, int) - Method in class opennlp.tools.util.ext.ProviderSpec
- ESZETT - Static variable in class opennlp.tools.util.normalizer.GermanUmlautCharSequenceNormalizer
- etype - Variable in class opennlp.tools.parser.AbstractParserEventStream
-
The type of events being generated by this event stream.
- eval(int[], double[], EvalParameters) - Static method in class opennlp.tools.ml.maxent.GISModel
-
Evaluates a context and return an array of the likelihood of each outcome given the specified context and the specified parameters.
- eval(int[], double[], EvalParameters) - Static method in class opennlp.tools.ml.naivebayes.NaiveBayesModel
-
Evaluates a
NaiveBayesModel. - eval(int[], double[], EvalParameters) - Static method in class opennlp.tools.ml.perceptron.PerceptronModel
-
Evaluates a
PerceptronModel. - eval(int[], float[], double[], int, int, double[]) - Static method in class opennlp.tools.ml.maxent.quasinewton.QNModel
-
Evaluates which should be used during training to report model accuracy.
- eval(int[], float[], double[], EvalParameters) - Static method in class opennlp.tools.ml.maxent.GISModel
-
Evaluates a context and return an array of the likelihood of each outcome given the specified context and the specified parameters.
- eval(int[], float[], double[], EvalParameters, boolean) - Static method in class opennlp.tools.ml.naivebayes.NaiveBayesModel
-
Evaluates a
NaiveBayesModel. - eval(int[], float[], double[], EvalParameters, boolean) - Static method in class opennlp.tools.ml.perceptron.PerceptronModel
-
Evaluates a
PerceptronModel. - eval(String[]) - Method in class opennlp.tools.ml.maxent.GISModel
-
Evaluates a context and return an array of the likelihood of each outcome given that context.
- eval(String[]) - Method in class opennlp.tools.ml.maxent.quasinewton.QNModel
-
Evaluates a
context. - eval(String[]) - Method in interface opennlp.tools.ml.model.MaxentModel
-
Evaluates a
context. - eval(String[]) - Method in class opennlp.tools.ml.naivebayes.NaiveBayesModel
-
Evaluates a
context. - eval(String[]) - Method in class opennlp.tools.ml.perceptron.PerceptronModel
-
Evaluates a
context. - eval(String[], double[]) - Method in class opennlp.tools.ml.maxent.GISModel
-
Evaluates a
context. - eval(String[], double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.QNModel
-
Evaluates a
context. - eval(String[], double[]) - Method in interface opennlp.tools.ml.model.MaxentModel
-
Evaluates a
context. - eval(String[], double[]) - Method in class opennlp.tools.ml.naivebayes.NaiveBayesModel
-
Evaluates a
context. - eval(String[], double[]) - Method in class opennlp.tools.ml.perceptron.PerceptronModel
-
Evaluates a
context. - eval(String[], float[]) - Method in class opennlp.tools.ml.maxent.GISModel
-
Evaluates a
contextwith the specified contextvalues. - eval(String[], float[]) - Method in class opennlp.tools.ml.maxent.quasinewton.QNModel
-
Evaluates a
contextwith the specified contextvalues. - eval(String[], float[]) - Method in interface opennlp.tools.ml.model.MaxentModel
-
Evaluates a
contextwith the specified contextvalues. - eval(String[], float[]) - Method in class opennlp.tools.ml.naivebayes.NaiveBayesModel
-
Evaluates a
contextwith the specified contextvalues. - eval(String[], float[]) - Method in class opennlp.tools.ml.perceptron.PerceptronModel
-
Evaluates a
contextwith the specified contextvalues. - eval(String[], float[], double[]) - Method in class opennlp.tools.ml.maxent.GISModel
-
Evaluates a context and return an array of the likelihood of each outcome given that context.
- eval(String[], float[], double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.QNModel
-
Evaluates which should be used during inference.
- eval(String[], float[], double[]) - Method in class opennlp.tools.ml.naivebayes.NaiveBayesModel
- eval(String[], float[], double[]) - Method in class opennlp.tools.ml.perceptron.PerceptronModel
- eval(Context[], float[], double[], EvalParameters) - Static method in class opennlp.tools.ml.maxent.GISModel
-
Evaluates a context and return an array of the likelihood of each outcome given the specified context and the specified parameters.
- eval(Context[], float[], double[], EvalParameters, boolean) - Static method in class opennlp.tools.ml.naivebayes.NaiveBayesModel
-
Evaluates a
NaiveBayesModel. - eval(Context[], float[], double[], EvalParameters, boolean) - Static method in class opennlp.tools.ml.perceptron.PerceptronModel
-
Evaluates a
PerceptronModel. - EvalitaNameSampleStream - Class in opennlp.tools.formats
-
Parser for the Italian NER training files of the Evalita 2007 and 2009 NER shared tasks.
- EvalitaNameSampleStream(EvalitaNameSampleStream.LANGUAGE, InputStreamFactory, int) - Constructor for class opennlp.tools.formats.EvalitaNameSampleStream
- EvalitaNameSampleStream(EvalitaNameSampleStream.LANGUAGE, ObjectStream<String>, int) - Constructor for class opennlp.tools.formats.EvalitaNameSampleStream
- EvalitaNameSampleStream.LANGUAGE - Enum Class in opennlp.tools.formats
- EvalitaNameSampleStreamFactory - Class in opennlp.tools.formats
-
Note: Do not use this class, internal use only!
- EvalitaNameSampleStreamFactory(Class<EvalitaNameSampleStreamFactory.Parameters>) - Constructor for class opennlp.tools.formats.EvalitaNameSampleStreamFactory
- EvalitaNameSampleStreamFactory.Parameters - Interface in opennlp.tools.formats
- EvalParameters - Class in opennlp.tools.ml.model
-
This class encapsulates the variables used in producing probabilities from a model and facilitates passing these variables to the eval method.
- EvalParameters(Context[], int) - Constructor for class opennlp.tools.ml.model.EvalParameters
- evalParams - Variable in class opennlp.tools.ml.maxent.GISTrainer
-
Initial probability for all outcomes.
- evalParams - Variable in class opennlp.tools.ml.model.AbstractModel
-
Parameters for the model.
- evaluate(double[]) - Method in interface opennlp.tools.ml.maxent.quasinewton.QNMinimizer.Evaluator
-
Measure quality of the training parameters.
- evaluate(double[]) - Method in record class opennlp.tools.ml.maxent.quasinewton.QNTrainer.ModelEvaluator
-
Evaluate the current model on training data set
- evaluate(ObjectStream<ChunkSample>, int) - Method in class opennlp.tools.chunker.ChunkerCrossValidator
-
Starts the evaluation.
- evaluate(ObjectStream<DependencySample>, int) - Method in class opennlp.tools.depparse.DependencyCrossValidator
-
Runs the cross validation and adds the scores of every fold to the totals.
- evaluate(ObjectStream<DocumentSample>, int) - Method in class opennlp.tools.doccat.DoccatCrossValidator
-
Starts the evaluation.
- evaluate(ObjectStream<LanguageSample>, int) - Method in class opennlp.tools.langdetect.LanguageDetectorCrossValidator
-
Starts the evaluation.
- evaluate(ObjectStream<NameSample>, int) - Method in class opennlp.tools.namefind.TokenNameFinderCrossValidator
-
Starts the evaluation.
- evaluate(ObjectStream<POSSample>, int) - Method in class opennlp.tools.postag.POSTaggerCrossValidator
-
Starts the evaluation.
- evaluate(ObjectStream<SentenceSample>, int) - Method in class opennlp.tools.sentdetect.SDCrossValidator
-
Starts the evaluation.
- evaluate(ObjectStream<SentimentSample>, int) - Method in class opennlp.tools.sentiment.SentimentCrossValidator
-
Performs evaluation
- evaluate(ObjectStream<TokenSample>, int) - Method in class opennlp.tools.tokenize.TokenizerCrossValidator
-
Starts the evaluation.
- evaluate(ObjectStream<T>) - Method in class opennlp.tools.util.eval.Evaluator
-
Reads all
sample objectsand evaluates each instance via theEvaluator.evaluateSample(Object)method. - evaluateSample(T) - Method in class opennlp.tools.util.eval.Evaluator
-
Evaluates the given reference object.
- EvaluationMonitor<T> - Interface in opennlp.tools.util.eval
- evaluator - Variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
- Evaluator<T> - Class in opennlp.tools.util.eval
-
An abstract base class for evaluators.
- Evaluator(EvaluationMonitor<T>...) - Constructor for class opennlp.tools.util.eval.Evaluator
- EvaluatorParams - Interface in opennlp.tools.cmdline.params
-
Common evaluation parameters.
- evenq - Variable in class opennlp.tools.tokenize.lang.en.TokenSampleStream
- Event - Class in opennlp.tools.ml.model
-
The context of a decision point during training.
- Event(String, CharSequence[]) - Constructor for class opennlp.tools.ml.model.Event
-
Instantiates an
Event. - Event(String, CharSequence[], float[]) - Constructor for class opennlp.tools.ml.model.Event
-
Instantiates an
Event. - Event(String, String[], float[]) - Constructor for class opennlp.tools.ml.model.Event
-
Instantiates an
Event. - EVENT - Static variable in class opennlp.tools.ml.perceptron.SimplePerceptronSequenceTrainer
- EVENT_MODEL_SEQUENCE_TRAINER - Enum constant in enum class opennlp.tools.ml.TrainerFactory.TrainerType
- EVENT_MODEL_TRAINER - Enum constant in enum class opennlp.tools.ml.TrainerFactory.TrainerType
- EVENT_TYPE - Static variable in class opennlp.tools.formats.brat.AnnotationConfiguration
- EVENT_VALUE - Static variable in interface opennlp.tools.ml.EventTrainer
- EventAnnotation - Class in opennlp.tools.formats.brat
- EventAnnotation(String, String, String, Map<String, String>) - Constructor for class opennlp.tools.formats.brat.EventAnnotation
- EventAnnotationParser() - Constructor for class opennlp.tools.formats.brat.BratAnnotationStream.EventAnnotationParser
- EventFields - Class in opennlp.tools.ml.model
-
Field delimiters and messages shared by
FileEventStream,RealValueFileEventStreamandSimpleEventStreamBuilder. - EventFields() - Constructor for class opennlp.tools.ml.model.EventFields
- EventFields.EventLine - Record Class in opennlp.tools.ml.model
-
The fields of one event line.
- eventIt - Variable in class opennlp.tools.ml.model.SequenceStreamEventStream
- EventLine(String, String[]) - Constructor for record class opennlp.tools.ml.model.EventFields.EventLine
-
Creates an instance of a
EventLinerecord class. - eventList - Variable in class opennlp.tools.ml.model.SimpleEventStreamBuilder
- EventModelSequenceTrainer<T,
P> - Interface in opennlp.tools.ml -
A specialized
Trainerthat is based on a 'EventModelSequence' approach. - events - Variable in class opennlp.tools.ml.model.Sequence
- events - Variable in class opennlp.tools.util.AbstractEventStream
- EventStream(DataInputStream) - Constructor for class opennlp.tools.ml.model.TwoPassDataIndexer.EventStream
- EventTraceStream - Class in opennlp.tools.util
- EventTraceStream(ObjectStream<Event>, Writer) - Constructor for class opennlp.tools.util.EventTraceStream
-
Initializes an
EventTraceStream. - EventTrainer<P> - Interface in opennlp.tools.ml
- eventTrigger - Variable in class opennlp.tools.formats.brat.EventAnnotation
- existsModel(String, ModelType) - Static method in class opennlp.tools.util.DownloadUtil
-
Checks if a model of the specified
modelTypehas been downloaded already for a particularlanguage. - expand(List<ArcStandardBeam.Node>, FeedforwardContext, FeedforwardNetwork, ContributionCache, Transition[], int, double[], double[]) - Static method in class opennlp.tools.depparse.ArcStandardBeam
-
Expands every node of the beam by its applicable transitions.
- expandME - Variable in class opennlp.tools.formats.ad.ADPOSSampleStream
- expandTopNode(Parse) - Method in class opennlp.tools.parser.Parse
- expansion(int) - Static method in class opennlp.tools.util.normalizer.EllipsisCharSequenceNormalizer
- expansion(int) - Static method in class opennlp.tools.util.normalizer.GermanUmlautCharSequenceNormalizer
- expansionBudget(long, ResourceInstaller.Limits, ResourceInstaller.Budget) - Static method in class opennlp.tools.util.ResourceInstaller
-
Bounds expansion by the ratio as well as the absolute limit, so a small source cannot expand to the whole absolute limit.
- expectation - Variable in class opennlp.tools.ml.maxent.quasinewton.NegLogLikelihood
- expectation - Variable in class opennlp.tools.ml.maxent.quasinewton.ParallelNegLogLikelihood.GradientComputeTask
- EXPECTED_TYPES - Static variable in class opennlp.tools.formats.muc.MucNameContentHandler
- Experimental - Annotation Interface in opennlp.tools.util.java
-
Indicates that a certain API feature is not stable and might change with a new release.
- EXTEND - Enum constant in enum class opennlp.tools.tokenize.uax29.WordBreak
-
Combining marks and other characters that extend the preceding one.
- EXTEND_NUM_LET - Enum constant in enum class opennlp.tools.tokenize.uax29.WordBreak
-
Characters that extend a number or letter sequence (for example the low line).
- EXTEND_ORDINAL - Static variable in class opennlp.tools.tokenize.uax29.WordSegmenter
- ExtendedPictographic - Class in opennlp.tools.tokenize.uax29
-
Checks the Unicode
Extended_Pictographicproperty of a code point. - ExtendedPictographic() - Constructor for class opennlp.tools.tokenize.uax29.ExtendedPictographic
- ExtensionLoader - Class in opennlp.tools.util.ext
-
The
ExtensionLoaderis responsible to load extensions to the OpenNLP library. - ExtensionLoader() - Constructor for class opennlp.tools.util.ext.ExtensionLoader
- ExtensionNotLoadedException - Exception Class in opennlp.tools.util.ext
-
Exception indicates that an OpenNLP extension could not be loaded.
- ExtensionNotLoadedException(String) - Constructor for exception class opennlp.tools.util.ext.ExtensionNotLoadedException
- ExtensionNotLoadedException(Throwable) - Constructor for exception class opennlp.tools.util.ext.ExtensionNotLoadedException
- ExtensionServiceKeys - Class in opennlp.tools.util.ext
- ExtensionServiceKeys() - Constructor for class opennlp.tools.util.ext.ExtensionServiceKeys
- extract(int, int, String) - Static method in class opennlp.tools.formats.Conll02NameSampleStream
- extract(int, int, String) - Static method in class opennlp.tools.formats.EvalitaNameSampleStream
- extract(int, int, String) - Static method in class opennlp.tools.formats.GermEval2014NameSampleStream
- extractArtifactSerializerMappings(InputStream) - Static method in class opennlp.tools.util.featuregen.GeneratorFactory
- extractArtifactSerializerMappings(Map<String, ArtifactSerializer<?>>, Element) - Static method in class opennlp.tools.util.featuregen.GeneratorFactory
- extractFeatures(String[], Map<String, Object>) - Method in class opennlp.tools.doccat.BagOfWordsFeatureGenerator
-
Extracts features from given
textfragments. - extractFeatures(String[], Map<String, Object>) - Method in class opennlp.tools.doccat.EmojiFeatureGenerator
-
Extracts features from given
textfragments. - extractFeatures(String[], Map<String, Object>) - Method in interface opennlp.tools.doccat.FeatureGenerator
-
Extracts features from given
textfragments. - extractFeatures(String[], Map<String, Object>) - Method in class opennlp.tools.doccat.NGramFeatureGenerator
-
Extracts features from given
textfragments. - extractLinks(String) - Method in class opennlp.tools.util.DownloadUtil.DownloadParser
-
Collects the href values of the anchor elements in an index page.
- extractNameType(String) - Static method in class opennlp.tools.namefind.BioCodec
-
Extracts the name type from an outcome such as
person-start: the text before the last hyphen, provided a non-empty run of ASCII letters, digits, or underscores follows that hyphen and the outcome holds no line terminator. - extractTagName(CharSequence) - Static method in class opennlp.tools.formats.muc.SgmlParser
- extractTags(TokenTag[]) - Static method in record class opennlp.tools.util.TokenTag
- extractTextLang(String) - Method in class opennlp.tools.formats.conllu.ConlluStream
-
Returns the two or three lowercase ASCII letters after
text_, or an empty string. - extractTokens(TokenTag[]) - Static method in record class opennlp.tools.util.TokenTag
- extraInformation - Variable in class opennlp.tools.doccat.DocumentSample
F
- f - Variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer.L2RegFunction
- FACE - Enum constant in enum class opennlp.tools.util.normalizer.EmojiEntityType
-
A face pictograph, from the
face-*subgroups. - factory - Variable in class opennlp.tools.doccat.DoccatCrossValidator
- factory - Variable in class opennlp.tools.langdetect.LanguageDetectorCrossValidator
- factory - Variable in class opennlp.tools.namefind.TokenNameFinderCrossValidator
- factory - Variable in class opennlp.tools.postag.POSTaggerCrossValidator
- factory - Variable in class opennlp.tools.sentiment.SentimentCrossValidator
- factory - Variable in class opennlp.tools.sentiment.SentimentME
- factory - Variable in class opennlp.tools.tokenize.TokenizerCrossValidator
- Factory - Class in opennlp.tools.sentdetect.lang
- Factory - Class in opennlp.tools.tokenize.lang
-
Provides the language dependent tokenizer resources: the
TokenizerCharacterPolicythat decides which tokens the alphanumeric optimization accepts without further splitting, and theTokenContextGenerator. - Factory() - Constructor for class opennlp.tools.sentdetect.lang.Factory
- Factory() - Constructor for class opennlp.tools.tokenize.lang.Factory
- FACTORY - Static variable in class opennlp.tools.util.XmlUtil.StaxHolder
- FACTORY_NAME - Static variable in class opennlp.tools.util.model.BaseModel
- factoryClassName - Variable in class opennlp.tools.postag.POSTaggerCrossValidator
- FAST - Static variable in class opennlp.tools.tokenize.uax29.WordSegmenter
- fctEvalCount - Variable in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- feats - Variable in class opennlp.tools.formats.conllu.ConlluWordLine
- FEATURE_CATEGORY_PREFIX - Static variable in class opennlp.tools.util.normalizer.EmojiAnnotator
-
Feature-name prefix for the document-category hint, for example
emojiCategory=SMILEYS_AND_EMOTION. - FEATURE_COUNT - Static variable in class opennlp.tools.depparse.DependencyContextGenerator
-
The number of features
DependencyContextGenerator.getContext(ArcStandardState, String[], String[])emits. - FEATURE_COUNT - Static variable in class opennlp.tools.depparse.FeedforwardContext
-
The number of features in one parser configuration.
- FEATURE_GENERATORS - Static variable in class opennlp.tools.doccat.DoccatFactory
- FEATURE_NEXT_BROWNCLUSTER_BASE - Static variable in class opennlp.tools.util.featuregen.BrownBigramFeatureGenerator
- FEATURE_PREV_BROWNCLUSTER_BASE - Static variable in class opennlp.tools.util.featuregen.BrownBigramFeatureGenerator
- FEATURE_REGION_PREFIX - Static variable in class opennlp.tools.util.normalizer.EmojiAnnotator
-
Feature-name prefix for a flag's ISO 3166 region, for example
emojiRegion=DE. - FEATURE_SENTIMENT_PREFIX - Static variable in class opennlp.tools.util.normalizer.EmojiAnnotator
-
Feature-name prefix for the coarse sentiment score, for example
emojiSentiment=2. - FEATURE_TYPE_PREFIX - Static variable in class opennlp.tools.util.normalizer.EmojiAnnotator
-
Feature-name prefix for the coarse entity type, for example
emojiType=HEART. - featureEmbeddings - Variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer.Optimizer
-
The embedding rows of the example being backpropagated, one per feature position.
- featureGenerator - Variable in class opennlp.tools.postag.ConfigurablePOSContextGenerator
- FeatureGenerator - Interface in opennlp.tools.doccat
-
Interface for generating features for document categorization.
- featureGeneratorBytes - Variable in class opennlp.tools.namefind.TokenNameFinderCrossValidator
- featureGeneratorBytes - Variable in class opennlp.tools.namefind.TokenNameFinderFactory
- featureGeneratorBytes - Variable in class opennlp.tools.postag.POSTaggerCrossValidator
- featureGeneratorBytes - Variable in class opennlp.tools.postag.POSTaggerFactory
- FeatureGeneratorCreationError(Throwable) - Constructor for exception class opennlp.tools.namefind.TokenNameFinderModel.FeatureGeneratorCreationError
- FeatureGeneratorResourceProvider - Interface in opennlp.tools.util.featuregen
-
The
FeatureGeneratorResourceProviderprovides access to the resources available in the model. - featureGenerators - Variable in class opennlp.tools.doccat.DoccatFactory
- featureGenerators - Variable in class opennlp.tools.namefind.DefaultNameContextGenerator
- featureGenerators - Variable in class opennlp.tools.sentiment.SentimentContextGenerator
- featureGeneratorsAsString() - Method in class opennlp.tools.doccat.DoccatFactory
- FeatureGeneratorUtil - Class in opennlp.tools.util.featuregen
-
This class provide common utilities for feature generation.
- FeatureGeneratorUtil() - Constructor for class opennlp.tools.util.featuregen.FeatureGeneratorUtil
- featureGradients - Variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer.Optimizer
-
The gradient rows of those embeddings, one per feature position.
- featureIds(ArcStandardState) - Method in class opennlp.tools.depparse.FeedforwardContext
-
Extracts the embedding rows of a configuration into a new array.
- featureIds(ArcStandardState, int[]) - Method in class opennlp.tools.depparse.FeedforwardContext
-
Extracts the embedding rows of a configuration into
features: absent positions take the absent-position row of their vocabulary and the artificial root takes the root row. - features - Variable in class opennlp.tools.depparse.ArcStandardBeam.Node
- features - Variable in record class opennlp.tools.tokenize.lattice.MecabDictionary.WordEntry
-
The field for the
featuresrecord component. - features - Variable in record class opennlp.tools.tokenize.lattice.Morpheme
-
The field for the
featuresrecord component. - features() - Method in record class opennlp.tools.tokenize.lattice.MecabDictionary.WordEntry
-
Returns the value of the
featuresrecord component. - features() - Method in record class opennlp.tools.tokenize.lattice.Morpheme
-
Returns the value of the
featuresrecord component. - FeedforwardContext - Class in opennlp.tools.depparse
-
The feature template of the feedforward parser for one sentence: a fixed set of configuration positions whose words, tags, and arc labels are embedded and concatenated into the network input, following Chen and Manning (2014).
- FeedforwardContext(FeedforwardNetwork, String[], String[]) - Constructor for class opennlp.tools.depparse.FeedforwardContext
-
Resolves a sentence against the network vocabularies.
- FeedforwardDependencyModel - Class in opennlp.tools.depparse
-
The persisted form of a trained
FeedforwardDependencyParser: the network weights plus the standard model manifest, serialized and loaded through the sameBaseModelmachinery as every other tool model. - FeedforwardDependencyModel(File) - Constructor for class opennlp.tools.depparse.FeedforwardDependencyModel
-
Initializes a
FeedforwardDependencyModelfrom a serialized model file. - FeedforwardDependencyModel(InputStream) - Constructor for class opennlp.tools.depparse.FeedforwardDependencyModel
-
Initializes a
FeedforwardDependencyModelfrom a serialized model. - FeedforwardDependencyModel(String, FeedforwardNetwork, Map<String, String>) - Constructor for class opennlp.tools.depparse.FeedforwardDependencyModel
-
Initializes a
FeedforwardDependencyModelfrom a trained network. - FeedforwardDependencyModel(Path) - Constructor for class opennlp.tools.depparse.FeedforwardDependencyModel
-
Initializes a
FeedforwardDependencyModelfrom a serialized model file. - FeedforwardDependencyParser - Class in opennlp.tools.depparse
-
The neural
DependencyParser: an arc-standard decoder over theFeedforwardDependencyModel. - FeedforwardDependencyParser(FeedforwardDependencyModel) - Constructor for class opennlp.tools.depparse.FeedforwardDependencyParser
-
Initializes a
FeedforwardDependencyParserwith the beam size of the model and without a scoring cache. - FeedforwardDependencyParser(FeedforwardDependencyModel, int) - Constructor for class opennlp.tools.depparse.FeedforwardDependencyParser
-
Initializes a
FeedforwardDependencyParserwith a beam and without a scoring cache. - FeedforwardDependencyParser(FeedforwardDependencyModel, int, long) - Constructor for class opennlp.tools.depparse.FeedforwardDependencyParser
-
Initializes a
FeedforwardDependencyParserwith a beam and a scoring cache. - FeedforwardDependencyTrainer - Class in opennlp.tools.depparse
-
Trains the
FeedforwardDependencyModel: oracle-derived transition examples, minibatch AdaGrad over a softmax cross-entropy loss, cube activation, and inverted dropout on the hidden layer, the training recipe of Chen and Manning (2014). - FeedforwardDependencyTrainer() - Constructor for class opennlp.tools.depparse.FeedforwardDependencyTrainer
-
Prevents construction of this utility class.
- FeedforwardDependencyTrainer.Derivation - Record Class in opennlp.tools.depparse
-
A projective training sample with its arc-standard oracle derivation.
- FeedforwardDependencyTrainer.Optimizer - Class in opennlp.tools.depparse
-
The forward pass, backward pass, gradient buffers, and AdaGrad state shared by local training and beam refinement.
- FeedforwardDependencyTrainer.Settings - Record Class in opennlp.tools.depparse
-
The parsed hyperparameters of one training or refinement run.
- FeedforwardNetwork - Class in opennlp.tools.depparse
-
The weights of the feedforward transition parser: embeddings for words, tags, and arc labels, one hidden layer with cube activation, and a transition output layer, after Chen and Manning (2014).
- FeedforwardNetwork(Map<String, Integer>, Map<String, Integer>, Map<String, Integer>, String[], int, float[][], float[][], float[], float[][], float[]) - Constructor for class opennlp.tools.depparse.FeedforwardNetwork
-
Assembles a network from its vocabularies and weights, copying the maps so later changes by the caller do not reach the network.
- FeedforwardNetwork.Serializer - Class in opennlp.tools.depparse
-
Reads and writes a network as a
FeedforwardDependencyModelartifact: a four-byte magic, anintformat version, the three vocabularies, the transition inventory, the embedding size, and the weight matrices and vectors. - fetchPageIndex() - Method in class opennlp.tools.util.DownloadUtil.DownloadParser
-
Reads the index page from its URL, joining its lines.
- field(int, int, String) - Method in class opennlp.tools.util.archive.TarStream
-
Reads a NUL-terminated text field of the current header.
- FIELD_SEPARATOR - Static variable in class opennlp.tools.formats.conllu.ConlluDependencySampleStream
-
Separates the columns of a word line.
- FIELD_SEPARATOR - Static variable in class opennlp.tools.util.normalizer.EmojiAnnotations
-
Field separator in
emoji-annotations.txt(codepoints ; attribute ; value ; source ; notes). - FIELD_SEPARATOR - Static variable in class opennlp.tools.util.normalizer.EmojiEmoticons
-
Field separator in
emoji-emoticons.txt(source ; target ; fold_type ; standard ; unicode_version ; notes). - FIELD_SEPARATOR - Static variable in class opennlp.tools.util.normalizer.FullCaseFoldCharSequenceNormalizer
-
Field separator in
CaseFolding.txt(<code>; <status>; <mapping>;). - fields - Variable in record class opennlp.tools.stemmer.hunspell.HunspellAffixTable.Entry
-
The field for the
fieldsrecord component. - fields() - Method in record class opennlp.tools.stemmer.hunspell.HunspellAffixTable.Entry
-
Returns the value of the
fieldsrecord component. - fieldValue(List<String>, String, String) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Finds a morphological field value.
- file - Variable in class opennlp.tools.formats.masc.MascDocumentStream.HeaderHandler
- file - Variable in class opennlp.tools.util.MarkableFileInputStreamFactory
- FILE_SCHEME - Static variable in class opennlp.tools.util.ext.ProviderSpec
- FileArgumentFactory() - Constructor for class opennlp.tools.cmdline.ArgumentParser.FileArgumentFactory
- fileConfiguration(ClassLoader) - Method in class opennlp.tools.util.ext.Providers
-
Reads "META-INF/opennlp/providers.properties"<P extends Provider<?>> of a class loader, merged in ascending order of "configuration.ordinal"<P extends Provider<?>>, and lets a system property of the same name win over it.
- FileEventStream - Class in opennlp.tools.ml.model
-
Class for using a file of
eventsas anevent stream. - FileEventStream(File) - Constructor for class opennlp.tools.ml.model.FileEventStream
-
Instantiates a
FileEventStreamvia aFile. - FileEventStream(Reader) - Constructor for class opennlp.tools.ml.model.FileEventStream
-
Instantiates a
FileEventStreamvia aReader. - FileEventStream(String) - Constructor for class opennlp.tools.ml.model.FileEventStream
-
Instantiates a
FileEventStreamfrom the specified file name. - FileEventStream(String, String) - Constructor for class opennlp.tools.ml.model.FileEventStream
-
Instantiates a
FileEventStreamfrom the specified file name. - fileFilter - Variable in class opennlp.tools.formats.DirectorySampleStream
- filename - Variable in record class opennlp.tools.util.DictionaryCatalog.Entry
-
The field for the
filenamerecord component. - filename() - Method in record class opennlp.tools.util.DictionaryCatalog.Entry
-
Returns the value of the
filenamerecord component. - FILENAME_SUFFIX - Static variable in class opennlp.tools.util.DictionaryCatalog
- FileToByteArraySampleStream - Class in opennlp.tools.formats.convert
-
Note: Do not use this class, internal use only!
- FileToByteArraySampleStream(ObjectStream<File>) - Constructor for class opennlp.tools.formats.convert.FileToByteArraySampleStream
-
Initializes a
FileToByteArraySampleStream. - FileToStringSampleStream - Class in opennlp.tools.formats.convert
-
Provides the ability to read the contents of files contained in an object stream of files.
- FileToStringSampleStream(ObjectStream<File>, Charset) - Constructor for class opennlp.tools.formats.convert.FileToStringSampleStream
-
Initializes a
FileToStringSampleStream. - fill(Path) - Method in interface opennlp.tools.util.ResourceInstaller.StagingStep
-
Writes content into the staging directory.
- filter - Variable in class opennlp.tools.stopword.StopwordFilteringTokenizer
- filter - Variable in class opennlp.tools.stopword.StopwordFilterStream
- filter(String[]) - Method in class opennlp.tools.stopword.DictionaryStopwordFilter
-
Returns a copy of
tokenswith stopword matches removed, preserving the input order. - filter(String[]) - Method in interface opennlp.tools.stopword.StopwordFilter
-
Returns a copy of
tokenswith stopword matches removed, preserving the input order. - filter(String[], Class<T>) - Static method in class opennlp.tools.cmdline.ArgumentParser
-
Filters arguments leaving only those pertaining to
argProxyInterface. - FilteredObjectInputStream() - Constructor for class opennlp.tools.util.model.BaseModel.FilteredObjectInputStream
- FilterObjectStream<S,
T> - Class in opennlp.tools.util -
Abstract base class for filtering
streams. - FilterObjectStream(ObjectStream<S>) - Constructor for class opennlp.tools.util.FilterObjectStream
-
Initializes an
FilterObjectStream. - finalDimension - Variable in class opennlp.tools.util.normalizer.TermAnalyzer
- finalDimension() - Method in class opennlp.tools.util.normalizer.TermAnalyzer
-
Returns the last configured dimension in pipeline order, or
Dimension.ORIGINALwhen none are configured. - find(String) - Method in class opennlp.tools.namefind.RegexNameFinder
-
Finds
spanswith character indices, rather than word. - find(String[]) - Method in class opennlp.tools.namefind.DictionaryNameFinder
- find(String[]) - Method in class opennlp.tools.namefind.NameFinderME
- find(String[]) - Method in class opennlp.tools.namefind.RegexNameFinder
- find(String[]) - Method in class opennlp.tools.namefind.ThreadSafeNameFinderME
-
Deprecated.
- find(String[]) - Method in interface opennlp.tools.namefind.TokenNameFinder
-
Generates name tags for the given sequence, typically a sentence, returning
token spansfor any identified names. - find(String[][]) - Method in interface opennlp.tools.namefind.DocumentNameFinder
-
Finds tokens
spansfor the specified document of sentences and their tokens. - find(String[], String[][]) - Method in class opennlp.tools.namefind.NameFinderME
-
Generates name tags for the given sequence, typically a sentence, returning
token spansfor any identified names. - find(String, Span[], Span[][], Span[][]) - Method in interface opennlp.tools.entitylinker.EntityLinker
-
Links an entire document of named entities to an external source.
- find(String, Span[], Span[][], Span[][], int) - Method in interface opennlp.tools.entitylinker.EntityLinker
-
Links the names that correspond to the tokens[] spans.
- find_among(Among[]) - Method in class opennlp.tools.stemmer.snowball.SnowballProgram
- find_among_b(Among[]) - Method in class opennlp.tools.stemmer.snowball.SnowballProgram
- findAsciiFields(byte[], int, int, int[], int[]) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Finds the fields needed to classify one raw line.
- findBase(int[], int) - Method in class opennlp.tools.tokenize.lattice.DoubleArrayLexicon.Builder
-
Finds the lowest base at which all labels use free indices.
- finder - Variable in class opennlp.tools.models.DefaultClassPathModelProvider
- finder - Variable in class opennlp.tools.namefind.NameFinderAnnotator
- finder - Variable in class opennlp.tools.util.featuregen.InSpanGenerator
- findInOriginal(String[]) - Method in interface opennlp.tools.namefind.OffsetMappingNameFinder
-
Finds names and returns their
spansin the character coordinates of the original input, regardless of any normalization applied before detection. - findModels(boolean) - Method in class opennlp.tools.models.AbstractClassPathModelFinder
-
Finds OpenNLP models available within an applications's classpath.
- findModels(boolean) - Method in interface opennlp.tools.models.ClassPathModelFinder
-
Finds OpenNLP models available within an applications's classpath.
- findParameters() - Method in class opennlp.tools.ml.naivebayes.NaiveBayesTrainer
- findParameters(int) - Method in class opennlp.tools.ml.perceptron.SimplePerceptronSequenceTrainer
- findParameters(int, boolean) - Method in class opennlp.tools.ml.perceptron.PerceptronTrainer
- findParameters(int, double) - Method in class opennlp.tools.ml.maxent.GISTrainer
- findStems(String, int, int[], Map<String, List<String>>, boolean) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Finds recognized stems without returning identity for unrecognized pieces.
- findWord(String, boolean) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Finds the readings of a complete input.
- FineGrainedEvaluatorParams - Interface in opennlp.tools.cmdline.params
-
Common evaluation parameters.
- FINISHED - Static variable in interface opennlp.tools.monitoring.StopCriteria
- finishedIteration(int, int, int, TrainingMeasure, double) - Method in class opennlp.tools.monitoring.DefaultTrainingProgressMonitor
-
Captures the Iteration progress.
- finishedIteration(int, int, int, TrainingMeasure, double) - Method in interface opennlp.tools.monitoring.TrainingProgressMonitor
-
Captures the Iteration progress.
- finishedLoadingArtifacts - Variable in class opennlp.tools.util.model.BaseModel
- finishedTraining(int, StopCriteria<?>) - Method in class opennlp.tools.monitoring.DefaultTrainingProgressMonitor
-
Captures the training completion progress.
- finishedTraining(int, StopCriteria<?>) - Method in interface opennlp.tools.monitoring.TrainingProgressMonitor
-
Captures the training completion progress.
- finishLoadingArtifacts(InputStream) - Method in class opennlp.tools.util.model.BaseModel
-
Finishes loading the artifacts now that it knows all serializers.
- FINITE_SUFFIX - Static variable in class opennlp.tools.util.ParamChecks
- FINNISH - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- finnishStemmer - Class in opennlp.tools.stemmer.snowball
-
This class implements the stemming algorithm defined by a snowball script.
- finnishStemmer() - Constructor for class opennlp.tools.stemmer.snowball.finnishStemmer
- FIRST_DEPENDENT_POSITION - Static variable in class opennlp.tools.depparse.FeedforwardContext
-
The index of the first dependent position; the stack and buffer items precede it.
- FIRST_NON_ASCII - Static variable in class opennlp.tools.util.normalizer.EmojiAnnotator
- FIRST_REGIONAL_INDICATOR - Static variable in class opennlp.tools.util.normalizer.EmojiFlags
- firstChild(Parse, Parse) - Method in class opennlp.tools.parser.chunking.ParserEventStream
- firstCommentField(byte[], List<int[]>, String) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Finds the first field index a trailing comment may occupy.
- firstForbidden(List<int[]>) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Checks whether a spelling is forbidden as a whole.
- firstIndexEndingAfter(int) - Method in class opennlp.tools.util.normalizer.Alignment
-
Finds the first normalized index whose original coverage ends strictly after
offset, so it covers or followsoffset. - firstIndexStartingAtOrAfter(int) - Method in class opennlp.tools.util.normalizer.Alignment
-
Finds the first normalized index whose original coverage starts at or after
offset. - firstLabelRow - Variable in class opennlp.tools.depparse.FeedforwardNetwork
- firstLabelRow() - Method in class opennlp.tools.depparse.FeedforwardNetwork
- firstLine - Variable in class opennlp.tools.formats.conllu.ConlluDependencySampleStream
- firstMember(CharSequence) - Method in class opennlp.tools.util.normalizer.CharClass
-
Finds the index of the first member code point, so callers can return member-free text uncopied.
- firstRow - Variable in class opennlp.tools.depparse.ContributionCache
-
The first embedding row of the vocabulary block each position reads.
- firstTagRow - Variable in class opennlp.tools.depparse.FeedforwardNetwork
- firstTagRow() - Method in class opennlp.tools.depparse.FeedforwardNetwork
- firstWordRow - Variable in class opennlp.tools.depparse.FeedforwardNetwork
-
The first embedding row of each vocabulary, indexed like the vocabularies above.
- firstWordRow() - Method in class opennlp.tools.depparse.FeedforwardNetwork
- fixPossesives - Variable in class opennlp.tools.parser.AbstractParserEventStream
- fixPossesives(Parse) - Static method in class opennlp.tools.parser.Parse
- fixPunctuation(String) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
-
Removes the whitespace between a closing guillemet and a period or a comma that follows it.
- flag - Variable in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.Affix
-
The field for the
flagrecord component. - flag() - Method in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.Affix
-
Returns the value of the
flagrecord component. - FLAG - Enum constant in enum class opennlp.tools.util.normalizer.EmojiEntityType
-
A flag; assigned by the derived layer from the code point sequence itself.
- FLAG_FIELD - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- FLAG_OFF - Static variable in class opennlp.tools.tokenize.lattice.MecabDictionary
-
The
char.deffield value that turns a category flag off. - FLAG_ON - Static variable in class opennlp.tools.tokenize.lattice.MecabDictionary
-
The
char.deffield value that turns a category flag on. - FLAG_SEQUENCE - Static variable in class opennlp.tools.util.normalizer.EmojiAnnotator
- FLAG_TAG - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
The directive that selects the file-wide flag representation.
- flagAliases - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary.AffixFile
- flagMode - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary.AffixFile
- FlagMode() - Constructor for enum class opennlp.tools.stemmer.hunspell.HunspellDictionary.FlagMode
- flags - Variable in class opennlp.tools.stemmer.hunspell.HunspellCompoundRule
- flags - Variable in record class opennlp.tools.stemmer.hunspell.HunspellStemmer.CompoundPart
-
The field for the
flagsrecord component. - flags() - Method in record class opennlp.tools.stemmer.hunspell.HunspellStemmer.CompoundPart
-
Returns the value of the
flagsrecord component. - FLAGS - Enum constant in enum class opennlp.tools.util.normalizer.EmojiCategory
-
Upstream group
Flags: flag emoji; assigned by the derived layer, not by bundled rows. - flagText - Variable in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.Affix
-
The field for the
flagTextrecord component. - flagText() - Method in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.Affix
-
Returns the value of the
flagTextrecord component. - flatSet(Iterable<StringList>) - Static method in class opennlp.tools.ngram.NGramUtils
- flex - Variable in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankFlex
- flex - Variable in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankSentence
- FLOAT - Enum constant in enum class opennlp.tools.util.wordvector.WordVectorType
- FloatArrayVector - Class in opennlp.tools.util.wordvector
-
A
WordVectorimplementation that represents the vector as array offloatvalues. - FloatArrayVector(float[]) - Constructor for class opennlp.tools.util.wordvector.FloatArrayVector
- floatValues(long, long, long, long) - Static method in class opennlp.tools.depparse.FeedforwardNetwork
- fmeasure - Variable in class opennlp.tools.chunker.ChunkerCrossValidator
- fmeasure - Variable in class opennlp.tools.chunker.ChunkerEvaluator
- fmeasure - Variable in class opennlp.tools.namefind.TokenNameFinderCrossValidator
- fmeasure - Variable in class opennlp.tools.namefind.TokenNameFinderEvaluator
- fmeasure - Variable in class opennlp.tools.sentdetect.SDCrossValidator
- fmeasure - Variable in class opennlp.tools.sentdetect.SentenceDetectorEvaluator
- fmeasure - Variable in class opennlp.tools.sentiment.SentimentCrossValidator
- fmeasure - Variable in class opennlp.tools.sentiment.SentimentEvaluator
- fmeasure - Variable in class opennlp.tools.tokenize.TokenizerCrossValidator
- fmeasure - Variable in class opennlp.tools.tokenize.TokenizerEvaluator
- FMeasure - Class in opennlp.tools.util.eval
-
The
FMeasureis a utility class forevaluatorswhich measures precision, recall and the resulting f-measure. - FMeasure() - Constructor for class opennlp.tools.util.eval.FMeasure
- FOLDINGS - Static variable in class opennlp.tools.util.normalizer.FullCaseFoldCharSequenceNormalizer
-
Maps a source code point to its full case folding (one or more code points), for the C and F status rows of
CaseFolding.txt. - foldScripts - Variable in class opennlp.tools.util.normalizer.AccentFoldCharSequenceNormalizer
- foldStrokeLetters - Variable in class opennlp.tools.util.normalizer.AccentFoldCharSequenceNormalizer
- FOOD - Enum constant in enum class opennlp.tools.util.normalizer.EmojiEntityType
-
Food, from the
food-*subgroups. - FOOD_AND_DRINK - Enum constant in enum class opennlp.tools.util.normalizer.EmojiCategory
-
Upstream group
Food & Drink: food, drink, and dishware. - FORBID_WARNING_TAG - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- forbidden - Variable in class opennlp.tools.stemmer.hunspell.HunspellStemmer.Results
-
Whether a direct or affixed reading reached a forbidden entry, which blocks the compound and break readings of the same input.
- forbiddenAtCompoundPosition(int[], HunspellDictionary.CompoundPosition) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Checks whether an entry marked with
COMPOUNDFORBIDFLAGis barred from this compound position. - forbiddenWord - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary.AffixFile
- forbiddenWord - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- forbidsAffixed(int[], int) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Checks whether one homonym carries both an affix flag and the forbidden flag.
- forbidsAffixed(List<int[]>, int) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Checks whether an affix analysis reaches a forbidden entry, which forbids the affixed spelling and thereby its compound and break readings.
- forbidsCompoundStart(List<int[]>) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Checks whether a spelling may not open a compound part sequence: its first listed homonym carries
COMPOUNDFORBIDFLAG, which applies to every part but the last and overrides affixed readings of the same spelling. - forbidsInCompound(HunspellDictionary.Affix) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Checks whether an affix bars its derived form from compounds altogether: it carries the
COMPOUNDFORBIDFLAGamong its continuation classes. - forbidWarn - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary.AffixFile
- forbidWarn - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- FORCE_UPPER_CASE_TAG - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- forceUpperCase - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary.AffixFile
- forceUpperCase - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- forEachContentLine(InputStream, BundledUnicodeData.LineConsumer) - Static method in class opennlp.tools.util.normalizer.BundledUnicodeData
-
Reads the content lines of a UTF-8 data file in the Unicode Character Database layout and closes the stream.
- forEachLine(InputStream, Charset, BundledUnicodeData.LineConsumer) - Static method in class opennlp.tools.util.normalizer.BundledUnicodeData
-
Reads every line of
inand closes it. - forEachNonWhitespaceRun(String, WhitespaceRuns.RunHandler) - Static method in class opennlp.tools.tokenize.lattice.WhitespaceRuns
-
Passes each whitespace-free stretch of
texttohandler, in text order. - forEachSegment(CharSequence, WordSegmenter.SegmentConsumer) - Static method in class opennlp.tools.tokenize.uax29.WordSegmenter
-
Streams the word segments of
texttoconsumerin order, allocating nothing. - forEachSentence(List<Annotation<String>>, List<Annotation<String>>, DocumentAnnotators.SentenceTokenConsumer) - Static method in class opennlp.tools.document.DocumentAnnotators
-
Walks the token layer sentence by sentence and hands each sentence's contiguous token run to the consumer.
- forLanguage(String) - Static method in class opennlp.tools.stopword.StopwordLists
-
Returns a case-insensitive
StopwordFilterfor the given ISO 639 language code. - forLanguage(String) - Static method in class opennlp.tools.util.normalizer.NormalizationProfiles
-
Returns the
profilefor a language. - form - Variable in class opennlp.tools.formats.conllu.ConlluWordLine
- FORM - Static variable in class opennlp.tools.formats.conllu.ConlluDependencySampleStream
-
The column holding the word form.
- FORMAT - Enum constant in enum class opennlp.tools.tokenize.uax29.WordBreak
-
Format characters.
- FORMAT_ERROR - Static variable in class opennlp.tools.ml.model.SimpleEventStreamBuilder
- FORMAT_ORDINAL - Static variable in class opennlp.tools.tokenize.uax29.WordSegmenter
- FORMAT_VERSION - Static variable in class opennlp.tools.depparse.FeedforwardNetwork.Serializer
-
The format version this serializer reads and writes.
- FormatUtil - Class in opennlp.tools.formats
-
Utility class for the OpenNLP formats package.
- FormatUtil() - Constructor for class opennlp.tools.formats.FormatUtil
- forward(int[], boolean[], double) - Method in class opennlp.tools.depparse.FeedforwardDependencyTrainer.Optimizer
-
Computes hidden activations and raw output scores into the scratch buffers.
- FRENCH - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- FRENCH - Static variable in class opennlp.tools.tokenize.lang.Factory
- frenchStemmer - Class in opennlp.tools.stemmer.snowball
-
This class implements the stemming algorithm defined by a snowball script.
- frenchStemmer() - Constructor for class opennlp.tools.stemmer.snowball.frenchStemmer
- frequency - Variable in record class opennlp.tools.termvector.TermVector
-
The field for the
frequencyrecord component. - frequency() - Method in record class opennlp.tools.termvector.TermVector
-
Returns the value of the
frequencyrecord component. - from - Variable in record class opennlp.tools.stemmer.hunspell.HunspellConversion.Rule
-
The field for the
fromrecord component. - from() - Method in record class opennlp.tools.stemmer.hunspell.HunspellConversion.Rule
-
Returns the value of the
fromrecord component. - from(TrainingParameters) - Static method in record class opennlp.tools.depparse.FeedforwardDependencyTrainer.Settings
-
Reads the hyperparameters, substituting the defaults for absent keys.
- fromAlgorithmType(String) - Static method in enum class opennlp.tools.ml.AlgorithmType
- fromFactoryParameter(String) - Static method in enum class opennlp.tools.formats.conllu.ConlluTagset
-
Reads the
-tagsetparameter of a command line format factory. - fromFile(Path, String) - Static method in class opennlp.tools.util.normalizer.CodePointSet
-
Loads the code points declared under one section of a user definitions file.
- fromModelType(String) - Static method in enum class opennlp.tools.ml.AlgorithmType
- fromParameter(String) - Static method in enum class opennlp.tools.formats.conllu.ConlluTagset
-
Resolves the value of a command line
tagsetparameter. - fromProperty() - Static method in enum class opennlp.tools.util.CompatibilityMode
-
Resolves the mode from the "opennlp.compat.mode" system property; unset or blank resolves to
CompatibilityMode.CURRENT. - fromProperty() - Static method in enum class opennlp.tools.util.WhitespaceMode
-
Resolves the mode from the "opennlp.whitespace.mode" system property; unset or blank resolves to
WhitespaceMode.UNICODE. - fromPropertyName(String) - Static method in enum class opennlp.tools.tokenize.uax29.WordBreak
-
Maps a
Word_Breakvalue name, as written inWordBreakProperty.txt, to its constant. - fromSeg(Node) - Static method in class opennlp.tools.formats.nkjp.NKJPSegmentationDocument
- fromType(AlgorithmType) - Method in class opennlp.tools.ml.model.GenericModelReader
-
Creates the delegate reader for the given
AlgorithmType. - fromType(AlgorithmType, AbstractModel, DataOutputStream) - Method in class opennlp.tools.ml.model.GenericModelWriter
-
Creates the delegate writer for the given
AlgorithmType. - fType - Variable in class opennlp.tools.formats.masc.MascDocumentStream.HeaderHandler
- FULL - Enum constant in enum class opennlp.tools.termvector.TermVectorAnnotator.Mode
-
Counts occurrences and stores every occurrence span in original text coordinates.
- FULL_CASE_FOLD - Enum constant in enum class opennlp.tools.util.normalizer.Dimension
-
Unicode full case folding (UTS #21); lossy and expanding (sharp s to ss, the ligatures).
- fullCaseFold() - Method in class opennlp.tools.util.normalizer.TermAnalyzer.Builder
-
Enables
Dimension.FULL_CASE_FOLD, Unicode full case folding. - fullCaseFold() - Method in class opennlp.tools.util.normalizer.TextNormalizer.Builder
-
Returns this builder with Unicode full case folding appended.
- FullCaseFoldCharSequenceNormalizer - Class in opennlp.tools.util.normalizer
-
A
CharSequenceNormalizerthat applies Unicode full case folding for case-insensitive matching, as defined by the Default Case Algorithms in Section 3.13 of the Unicode Standard, using the bundledCaseFolding.txtdata of the Unicode Character Database. - FullCaseFoldCharSequenceNormalizer() - Constructor for class opennlp.tools.util.normalizer.FullCaseFoldCharSequenceNormalizer
-
Creates the singleton; use
FullCaseFoldCharSequenceNormalizer.getInstance(). - fullStrip - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary.AffixFile
- fullStrip - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- fullStrip() - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Returns whether
FULLSTRIPallows an affix rule to strip a whole stem. - fullVectors(List<Annotation<String>>, AlignedText, String) - Method in class opennlp.tools.termvector.TermVectorAnnotator
-
Aggregates the tokens into full term vectors, keeping every occurrence span.
- Function - Interface in opennlp.tools.ml.maxent.quasinewton
-
Interface for a function.
- FUNCTION_TAG_SEPARATOR - Static variable in class opennlp.tools.parser.Parse
-
Separates a constituent type from its function tag, as in
NP-SBJ. - functionalTag - Variable in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
G
- g_AEI - Static variable in class opennlp.tools.stemmer.snowball.finnishStemmer
- g_AEIO - Static variable in class opennlp.tools.stemmer.snowball.italianStemmer
- g_aeo - Static variable in class opennlp.tools.stemmer.snowball.englishStemmer
- g_c - Static variable in class opennlp.tools.stemmer.snowball.danishStemmer
- g_C - Static variable in class opennlp.tools.stemmer.snowball.finnishStemmer
- g_CG - Static variable in class opennlp.tools.stemmer.snowball.italianStemmer
- g_keep_with_s - Static variable in class opennlp.tools.stemmer.snowball.frenchStemmer
- g_ost_ending - Static variable in class opennlp.tools.stemmer.snowball.swedishStemmer
- g_particle_end - Static variable in class opennlp.tools.stemmer.snowball.finnishStemmer
- g_s_ending - Static variable in class opennlp.tools.stemmer.snowball.danishStemmer
- g_s_ending - Static variable in class opennlp.tools.stemmer.snowball.germanStemmer
- g_s_ending - Static variable in class opennlp.tools.stemmer.snowball.norwegianStemmer
- g_s_ending - Static variable in class opennlp.tools.stemmer.snowball.swedishStemmer
- g_st_ending - Static variable in class opennlp.tools.stemmer.snowball.germanStemmer
- g_U - Static variable in class opennlp.tools.stemmer.snowball.turkishStemmer
- g_v - Static variable in class opennlp.tools.stemmer.snowball.catalanStemmer
- g_v - Static variable in class opennlp.tools.stemmer.snowball.danishStemmer
- g_v - Static variable in class opennlp.tools.stemmer.snowball.dutchStemmer
- g_v - Static variable in class opennlp.tools.stemmer.snowball.englishStemmer
- g_v - Static variable in class opennlp.tools.stemmer.snowball.frenchStemmer
- g_v - Static variable in class opennlp.tools.stemmer.snowball.germanStemmer
- g_v - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- g_v - Static variable in class opennlp.tools.stemmer.snowball.hungarianStemmer
- g_v - Static variable in class opennlp.tools.stemmer.snowball.irishStemmer
- g_v - Static variable in class opennlp.tools.stemmer.snowball.italianStemmer
- g_v - Static variable in class opennlp.tools.stemmer.snowball.norwegianStemmer
- g_v - Static variable in class opennlp.tools.stemmer.snowball.porterStemmer
- g_v - Static variable in class opennlp.tools.stemmer.snowball.portugueseStemmer
- g_v - Static variable in class opennlp.tools.stemmer.snowball.romanianStemmer
- g_v - Static variable in class opennlp.tools.stemmer.snowball.russianStemmer
- g_v - Static variable in class opennlp.tools.stemmer.snowball.spanishStemmer
- g_v - Static variable in class opennlp.tools.stemmer.snowball.swedishStemmer
- g_v_I - Static variable in class opennlp.tools.stemmer.snowball.dutchStemmer
- g_v_j - Static variable in class opennlp.tools.stemmer.snowball.dutchStemmer
- g_v_WXY - Static variable in class opennlp.tools.stemmer.snowball.englishStemmer
- g_v_WXY - Static variable in class opennlp.tools.stemmer.snowball.porterStemmer
- g_V1 - Static variable in class opennlp.tools.stemmer.snowball.finnishStemmer
- g_v2 - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- g_V2 - Static variable in class opennlp.tools.stemmer.snowball.finnishStemmer
- g_valid_LI - Static variable in class opennlp.tools.stemmer.snowball.englishStemmer
- g_vowel - Static variable in class opennlp.tools.stemmer.snowball.indonesianStemmer
- g_vowel - Static variable in class opennlp.tools.stemmer.snowball.turkishStemmer
- g_vowel1 - Static variable in class opennlp.tools.stemmer.snowball.turkishStemmer
- g_vowel2 - Static variable in class opennlp.tools.stemmer.snowball.turkishStemmer
- g_vowel3 - Static variable in class opennlp.tools.stemmer.snowball.turkishStemmer
- g_vowel4 - Static variable in class opennlp.tools.stemmer.snowball.turkishStemmer
- g_vowel5 - Static variable in class opennlp.tools.stemmer.snowball.turkishStemmer
- g_vowel6 - Static variable in class opennlp.tools.stemmer.snowball.turkishStemmer
- GapLabeler - Interface in opennlp.tools.parser
-
Represents a labeler for nodes which contain traces so that these traces can be predicted by a
Parser. - GAUSSIAN_SMOOTHING_DEFAULT - Static variable in class opennlp.tools.ml.maxent.GISTrainer
- GAUSSIAN_SMOOTHING_PARAM - Static variable in class opennlp.tools.ml.maxent.GISTrainer
- GAUSSIAN_SMOOTHING_SIGMA_DEFAULT - Static variable in class opennlp.tools.ml.maxent.GISTrainer
- GAUSSIAN_SMOOTHING_SIGMA_PARAM - Static variable in class opennlp.tools.ml.maxent.GISTrainer
- gaussianUpdate(int, int, double) - Method in class opennlp.tools.ml.maxent.GISTrainer
- generate(char[], int, String) - Static method in class opennlp.tools.ngram.NGramGenerator
-
Generates nGrams based on a
char[]input. - generate(List<String>, int, String) - Static method in class opennlp.tools.ngram.NGramGenerator
-
Creates nGrams separated by the separator param value i.e.
- GENERATE_CELLLINE_ENTITIES - Static variable in class opennlp.tools.formats.BioNLP2004NameSampleStream
- GENERATE_CELLTYPE_ENTITIES - Static variable in class opennlp.tools.formats.BioNLP2004NameSampleStream
- GENERATE_DNA_ENTITIES - Static variable in class opennlp.tools.formats.BioNLP2004NameSampleStream
- GENERATE_GPE_ENTITIES - Static variable in class opennlp.tools.formats.EvalitaNameSampleStream
- GENERATE_LOCATION_ENTITIES - Static variable in class opennlp.tools.formats.Conll02NameSampleStream
- GENERATE_LOCATION_ENTITIES - Static variable in class opennlp.tools.formats.EvalitaNameSampleStream
- GENERATE_LOCATION_ENTITIES - Static variable in class opennlp.tools.formats.GermEval2014NameSampleStream
- GENERATE_MISC_ENTITIES - Static variable in class opennlp.tools.formats.Conll02NameSampleStream
- GENERATE_MISC_ENTITIES - Static variable in class opennlp.tools.formats.GermEval2014NameSampleStream
- GENERATE_ORGANIZATION_ENTITIES - Static variable in class opennlp.tools.formats.Conll02NameSampleStream
- GENERATE_ORGANIZATION_ENTITIES - Static variable in class opennlp.tools.formats.EvalitaNameSampleStream
- GENERATE_ORGANIZATION_ENTITIES - Static variable in class opennlp.tools.formats.GermEval2014NameSampleStream
- GENERATE_PERSON_ENTITIES - Static variable in class opennlp.tools.formats.Conll02NameSampleStream
- GENERATE_PERSON_ENTITIES - Static variable in class opennlp.tools.formats.EvalitaNameSampleStream
- GENERATE_PERSON_ENTITIES - Static variable in class opennlp.tools.formats.GermEval2014NameSampleStream
- GENERATE_PROTEIN_ENTITIES - Static variable in class opennlp.tools.formats.BioNLP2004NameSampleStream
- GENERATE_RNA_ENTITIES - Static variable in class opennlp.tools.formats.BioNLP2004NameSampleStream
- generateEvents(String[], String[], Object[], POSContextGenerator) - Static method in class opennlp.tools.postag.POSSampleEventStream
- generateEvents(String[], String[], NameContextGenerator) - Static method in class opennlp.tools.namefind.NameFinderEventStream
-
Generates
eventsfor each token in asentencewith the specifiedoutcomesusing the specifiedNameContextGenerator. - generateEvents(String[], String[], POSContextGenerator) - Static method in class opennlp.tools.postag.POSSampleEventStream
- generateOutcomes(Span[], String, int) - Static method in class opennlp.tools.namefind.NameFinderEventStream
-
Deprecated, for removal: This API element is subject to removal in a future version.use the
BioCodecimplementation of the SequenceValidator instead! - generateWordAndClassFeature - Variable in class opennlp.tools.util.featuregen.TokenClassFeatureGenerator
- generator - Variable in class opennlp.tools.util.featuregen.CachedFeatureGenerator
- generator - Variable in class opennlp.tools.util.featuregen.WindowFeatureGenerator
- GENERATOR_DESCRIPTOR_ENTRY_NAME - Static variable in class opennlp.tools.namefind.TokenNameFinderModel
- GENERATOR_DESCRIPTOR_ENTRY_NAME - Static variable in class opennlp.tools.postag.POSModel
- generatorElement - Variable in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- GeneratorFactory - Class in opennlp.tools.util.featuregen
-
Creates a set of feature generators based on a provided XML descriptor.
- GeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.GeneratorFactory
- GeneratorFactory.AbstractXmlFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
- generators - Variable in class opennlp.tools.util.featuregen.AggregatedFeatureGenerator
- GenericModelReader - Class in opennlp.tools.ml.model
-
An generic
AbstractModelReaderimplementation. - GenericModelReader(File) - Constructor for class opennlp.tools.ml.model.GenericModelReader
-
Initializes a
GenericModelReadervia aFile. - GenericModelReader(DataReader) - Constructor for class opennlp.tools.ml.model.GenericModelReader
-
Initializes a
GenericModelReadervia aDataReader. - GenericModelSerializer - Class in opennlp.tools.util.model
-
An
ArtifactSerializerimplementation formodels. - GenericModelSerializer() - Constructor for class opennlp.tools.util.model.GenericModelSerializer
- GenericModelWriter - Class in opennlp.tools.ml.model
-
An generic
AbstractModelWriterimplementation. - GenericModelWriter(AbstractModel, DataOutputStream) - Constructor for class opennlp.tools.ml.model.GenericModelWriter
-
Initializes a
GenericModelWriterfor anAbstractModelwith an associatedDataOutputStreamthe model shall be written to. - GenericModelWriter(AbstractModel, File) - Constructor for class opennlp.tools.ml.model.GenericModelWriter
-
Initializes a
GenericModelWriterfor anAbstractModelwith an associatedFilethe model shall be written to. - GERMAN - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- GERMAN - Static variable in class opennlp.tools.tokenize.lang.Factory
- germanStemmer - Class in opennlp.tools.stemmer.snowball
-
This class implements the stemming algorithm defined by a snowball script.
- germanStemmer() - Constructor for class opennlp.tools.stemmer.snowball.germanStemmer
- GermanUmlautCharSequenceNormalizer - Class in opennlp.tools.util.normalizer
-
A
CharSequenceNormalizerthat transliterates German umlauts and the eszett the way German conventionally expands them (DIN 5007-2): a-umlaut toae, o-umlaut tooe, u-umlaut toue, and eszett toss, with the capital umlauts and the capital eszett (U+1E9E) expanded likewise. - GermanUmlautCharSequenceNormalizer() - Constructor for class opennlp.tools.util.normalizer.GermanUmlautCharSequenceNormalizer
- GermEval2014NameSampleStream - Class in opennlp.tools.formats
-
Parser for the GermEval 2014 Named Entity Recognition Shared Task data.
- GermEval2014NameSampleStream(InputStreamFactory, int, GermEval2014NameSampleStream.NerLayer) - Constructor for class opennlp.tools.formats.GermEval2014NameSampleStream
-
Initializes a
GermEval2014NameSampleStream. - GermEval2014NameSampleStream(ObjectStream<String>, int, GermEval2014NameSampleStream.NerLayer) - Constructor for class opennlp.tools.formats.GermEval2014NameSampleStream
-
Initializes a
GermEval2014NameSampleStream. - GermEval2014NameSampleStream.NerLayer - Enum Class in opennlp.tools.formats
-
Selects which NER annotation layer to read from the GermEval 2014 data.
- GermEval2014NameSampleStreamFactory - Class in opennlp.tools.formats
-
Note: Do not use this class, internal use only!
- GermEval2014NameSampleStreamFactory(Class<GermEval2014NameSampleStreamFactory.Parameters>) - Constructor for class opennlp.tools.formats.GermEval2014NameSampleStreamFactory
- GermEval2014NameSampleStreamFactory.Parameters - Interface in opennlp.tools.formats
- get() - Method in class opennlp.tools.ml.naivebayes.LogProbability
- get() - Method in class opennlp.tools.ml.naivebayes.Probability
- get() - Method in class opennlp.tools.util.LastResultOwnerOrThreadLocal
-
Returns the last stored value for the calling thread, or
nullif none. - get() - Method in class opennlp.tools.util.normalizer.BundledUnicodeData.Lazy
-
Returns the data, loading it on the first successful call.
- get() - Method in class opennlp.tools.util.OwnerOrPerThreadState
-
Returns the state object for the calling thread (owner or per-thread slot).
- get(int) - Method in record class opennlp.tools.formats.masc.MascSentence.QuarkExtractor
-
Extract a quark by its key
- get(String) - Method in class opennlp.tools.util.DictionaryCatalog
-
Looks up one catalog entry.
- get(String) - Method in class opennlp.tools.util.wordvector.MapWordVectorTable
- get(String) - Method in interface opennlp.tools.util.wordvector.WordVectorTable
- get(LayerKey<T>) - Method in interface opennlp.tools.document.Document
-
Retrieves the annotations of one layer.
- get(LayerKey<T>) - Method in class opennlp.tools.document.ImmutableDocument
-
Retrieves the annotations of one layer.
- get(T) - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
- get(T) - Method in class opennlp.tools.ml.naivebayes.Probabilities
- getAbbreviationDictionary() - Method in class opennlp.tools.sentdetect.SentenceDetectorFactory
- getAbbreviationDictionary() - Method in class opennlp.tools.tokenize.TokenizerFactory
- getAbbreviations() - Method in class opennlp.tools.sentdetect.SentenceModel
- getAbbreviations() - Method in class opennlp.tools.tokenize.TokenizerModel
- getAbbreviations(Dictionary) - Static method in class opennlp.tools.sentdetect.SentenceDetectorME
- getAccuracy() - Method in class opennlp.tools.doccat.DocumentCategorizerEvaluator
-
accuracy = correctly categorized documents / total documents - getAccuracy() - Method in class opennlp.tools.langdetect.LanguageDetectorEvaluator
- getAdditionalContext() - Method in class opennlp.tools.namefind.NameSample
- getAdditionalContext() - Method in class opennlp.tools.postag.POSSample
- getAlgorithm() - Method in class opennlp.tools.ml.AbstractTrainer
- getAlgorithmType() - Method in enum class opennlp.tools.ml.AlgorithmType
- getAll() - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
- getAll() - Method in class opennlp.tools.ml.naivebayes.Probabilities
- getAllLemmas(String, String) - Method in class opennlp.tools.lemmatizer.DictionaryLemmatizer
-
Lookup every lemma for a word,pos tag in a dictionary.
- getAllOutcomes(double[]) - Method in class opennlp.tools.ml.model.AbstractModel
-
Retrieves a string matching all the outcome names with all the probabilities produced by the
MaxentModel.eval(String[])method. - getAllOutcomes(double[]) - Method in interface opennlp.tools.ml.model.MaxentModel
-
Retrieves a string matching all the outcome names with all the probabilities produced by the
MaxentModel.eval(String[])method. - getAllPosTags() - Method in class opennlp.tools.postag.POSTaggerME
- getAllResults(double[]) - Method in interface opennlp.tools.doccat.DocumentCategorizer
-
Retrieves the name of the category associated with the given probabilities.
- getAllResults(double[]) - Method in class opennlp.tools.doccat.DocumentCategorizerME
- getAlphanumeric(String) - Method in class opennlp.tools.tokenize.lang.Factory
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
Factory.getCharacterPolicy(String). This method will be removed in 4.0. - getAlphaNumericPattern() - Method in class opennlp.tools.tokenize.TokenizerFactory
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
TokenizerFactory.getCharacterPolicy(). This method will be removed in 4.0. - getAnchors() - Method in class opennlp.tools.formats.masc.MascSentenceParser
- getAnchors() - Method in class opennlp.tools.formats.masc.MascWordParser
- getAnnotation(String) - Method in class opennlp.tools.formats.brat.BratDocument
- getAnnotationConfig() - Method in interface opennlp.tools.formats.brat.BratNameSampleStreamFactory.Parameters
- getAnnotations() - Method in class opennlp.tools.formats.brat.BratDocument
- getAnnotations(String) - Method in class opennlp.tools.namefind.RegexNameFinder
- getArg1() - Method in class opennlp.tools.formats.brat.RelationAnnotation
- getArg2() - Method in class opennlp.tools.formats.brat.RelationAnnotation
- getArguments() - Method in class opennlp.tools.formats.brat.EventAnnotation
- getArtifact(String) - Method in interface opennlp.tools.util.model.ArtifactProvider
- getArtifact(String) - Method in class opennlp.tools.util.model.BaseModel
- getArtifactSerializer(String) - Method in class opennlp.tools.util.model.BaseModel
- getArtifactSerializerClass() - Method in class opennlp.tools.dictionary.Dictionary
- getArtifactSerializerClass() - Method in class opennlp.tools.parser.lang.en.HeadRules
- getArtifactSerializerClass() - Method in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules
- getArtifactSerializerClass() - Method in class opennlp.tools.postag.POSDictionary
- getArtifactSerializerClass() - Method in class opennlp.tools.postag.POSModel
- getArtifactSerializerClass() - Method in class opennlp.tools.util.featuregen.BrownCluster
- getArtifactSerializerClass() - Method in class opennlp.tools.util.featuregen.WordClusterDictionary
- getArtifactSerializerClass() - Method in interface opennlp.tools.util.model.SerializableArtifact
-
Retrieves the class which can serialize and recreate this artifact.
- getArtifactSerializerMapping() - Method in class opennlp.tools.util.featuregen.BrownClusterBigramFeatureGeneratorFactory
- getArtifactSerializerMapping() - Method in class opennlp.tools.util.featuregen.BrownClusterTokenClassFeatureGeneratorFactory
- getArtifactSerializerMapping() - Method in class opennlp.tools.util.featuregen.BrownClusterTokenFeatureGeneratorFactory
- getArtifactSerializerMapping() - Method in class opennlp.tools.util.featuregen.DictionaryFeatureGeneratorFactory
- getArtifactSerializerMapping() - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- getArtifactSerializerMapping() - Method in class opennlp.tools.util.featuregen.POSTaggerNameFeatureGeneratorFactory
- getArtifactSerializerMapping() - Method in class opennlp.tools.util.featuregen.WordClusterFeatureGeneratorFactory
- getAsDouble(int) - Method in class opennlp.tools.util.wordvector.DoubleArrayVector
- getAsDouble(int) - Method in class opennlp.tools.util.wordvector.FloatArrayVector
- getAsDouble(int) - Method in interface opennlp.tools.util.wordvector.WordVector
- getAsFloat(int) - Method in class opennlp.tools.util.wordvector.DoubleArrayVector
- getAsFloat(int) - Method in class opennlp.tools.util.wordvector.FloatArrayVector
- getAsFloat(int) - Method in interface opennlp.tools.util.wordvector.WordVector
- getAttachedId() - Method in class opennlp.tools.formats.brat.AnnotatorNoteAnnotation
- getAttachedTo() - Method in class opennlp.tools.formats.brat.AttributeAnnotation
- getAttachModel() - Method in class opennlp.tools.parser.ParserModel
- getAttributes(CharSequence) - Static method in class opennlp.tools.formats.muc.SgmlParser
- getAvailableModels() - Method in class opennlp.tools.util.DownloadUtil.DownloadParser
-
Lists the models of the index page.
- getAvailableModels() - Static method in class opennlp.tools.util.DownloadUtil
-
Lists the models published in the model index.
- getBase() - Method in class opennlp.tools.formats.masc.MascToken
- getBases() - Method in class opennlp.tools.formats.masc.MascPennTagParser
- getBeamSize() - Method in class opennlp.tools.depparse.FeedforwardDependencyModel
-
Returns the beam size a parser uses when none is given: the beam size the model was refined with, which the manifest records under "BeamSize", or
1(greedy) for a model that was not refined. - getBestCategory(double[]) - Method in interface opennlp.tools.doccat.DocumentCategorizer
-
Retrieves the best category from previously generated
outcomeprobabilities - getBestCategory(double[]) - Method in class opennlp.tools.doccat.DocumentCategorizerME
- getBestOutcome(double[]) - Method in class opennlp.tools.ml.model.AbstractModel
-
Return the name of the outcome corresponding to the highest likelihood in the parameter ocs.
- getBestOutcome(double[]) - Method in interface opennlp.tools.ml.model.MaxentModel
-
Retrieves the outcome associated with the index containing the highest probability in the double[].
- getBestSentiment(double[]) - Method in class opennlp.tools.sentiment.SentimentME
-
Returns the best chosen sentiment for the given probability distribution.
- getBool(String) - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- getBool(String, boolean) - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- getBooleanParameter(String, boolean) - Method in interface opennlp.tools.util.Parameters
-
Obtains a training parameter value.
- getBooleanParameter(String, boolean) - Method in class opennlp.tools.util.TrainingParameters
- getBooleanParameter(String, String, boolean) - Method in interface opennlp.tools.util.Parameters
-
Obtains a training parameter value in the specified namespace.
- getBooleanParameter(String, String, boolean) - Method in class opennlp.tools.util.TrainingParameters
- getBratDataDir() - Method in interface opennlp.tools.formats.brat.BratNameSampleStreamFactory.Parameters
- getBuildModel() - Method in class opennlp.tools.parser.ParserModel
- getCachedFeatureGenerator() - Method in class opennlp.tools.util.featuregen.CachedFeatureGenerator
- getCategory() - Method in class opennlp.tools.doccat.DocumentSample
- getCategory(int) - Method in interface opennlp.tools.doccat.DocumentCategorizer
-
Retrieves the category at a given
index. - getCategory(int) - Method in class opennlp.tools.doccat.DocumentCategorizerME
- getCharacterPolicy() - Method in class opennlp.tools.tokenize.TokenizerFactory
- getCharacterPolicy(String) - Method in class opennlp.tools.tokenize.lang.Factory
-
Gets the character policy for a language.
- getCheckModel() - Method in class opennlp.tools.parser.ParserModel
- getChildCount() - Method in class opennlp.tools.parser.Parse
- getChildren() - Method in class opennlp.tools.parser.Parse
- getChunkerSequenceModel() - Method in class opennlp.tools.chunker.ChunkerModel
- getChunkSize() - Method in class opennlp.tools.langdetect.LanguageDetectorConfig
-
After processing a chunk of this size, the probing detection will compute probabilities and determine if there is enough confidence to stop.
- getChunkTag(ADSentenceStream.SentenceParser.Leaf) - Method in class opennlp.tools.formats.ad.ADChunkSampleStream
- getChunkTag(ADSentenceStream.SentenceParser.Node) - Method in class opennlp.tools.formats.ad.ADChunkSampleStream
- getClassPathElements() - Method in class opennlp.tools.models.simple.SimpleClassPathModelFinder
-
Attempts to obtain
URLsfrom the classpath in the following order: - getClassPathUrlsFromSystemProperty() - Method in class opennlp.tools.models.simple.SimpleClassPathModelFinder
- getCode() - Method in exception class opennlp.tools.cmdline.TerminateToolException
- getCommonParent(Parse) - Method in class opennlp.tools.parser.Parse
-
Returns the deepest shared parent of this node and the specified node.
- getConfidence() - Method in class opennlp.tools.langdetect.Language
- getConfidence() - Method in class opennlp.tools.ml.naivebayes.Probabilities
- getConfig() - Method in class opennlp.tools.formats.brat.BratDocument
- getContext() - Method in class opennlp.tools.ml.model.Event
- getContext() - Method in class opennlp.tools.models.AbstractClassPathModelFinder
- getContext() - Method in class opennlp.tools.models.classgraph.ClassgraphModelFinder
- getContext() - Method in class opennlp.tools.models.dir.DirectoryModelFinder
- getContext() - Method in class opennlp.tools.models.simple.SimpleClassPathModelFinder
- getContext(int, Object[], String[]) - Method in class opennlp.tools.postag.DefaultPOSContextGenerator
-
Returns the context for making a postag decision at the specified token
indexgiven the specifiedtokensand previoustags. - getContext(int, String[], String[], Object[]) - Method in class opennlp.tools.lemmatizer.DefaultLemmatizerContextGenerator
- getContext(int, String[], String[], Object[]) - Method in class opennlp.tools.namefind.DefaultNameContextGenerator
-
Finds the context for finding names at the specified index.
- getContext(int, String[], String[], Object[]) - Method in class opennlp.tools.postag.ConfigurablePOSContextGenerator
-
Returns the context for making a postag decision at the specified token
indexgiven the specifiedtokensand previoustags. - getContext(int, String[], String[], Object[]) - Method in class opennlp.tools.postag.DefaultPOSContextGenerator
-
Returns the context for making a postag decision at the specified token
indexgiven the specifiedtokensand previoustags. - getContext(int, String[], String[], Object[]) - Method in interface opennlp.tools.postag.POSContextGenerator
-
Returns the context for making a postag decision at the specified token
indexgiven the specifiedtokensand previoustags. - getContext(int, String[], String[], Object[]) - Method in class opennlp.tools.sentiment.SentimentContextGenerator
-
Returns the context.
- getContext(int, String[], String[], String[]) - Method in interface opennlp.tools.chunker.ChunkerContextGenerator
-
Retrieves the contexts for chunking of the specified
idx. - getContext(int, String[], String[], String[]) - Method in class opennlp.tools.chunker.DefaultChunkerContextGenerator
- getContext(int, String[], String[], String[]) - Method in class opennlp.tools.lemmatizer.DefaultLemmatizerContextGenerator
- getContext(int, String[], String[], String[]) - Method in interface opennlp.tools.lemmatizer.LemmatizerContextGenerator
-
Returns the contexts for lemmatizing of the specified index.
- getContext(int, String[], String[], String[]) - Method in class opennlp.tools.parser.ChunkContextGenerator
- getContext(int, TokenTag[], String[], Object[]) - Method in class opennlp.tools.chunker.DefaultChunkerContextGenerator
- getContext(int, TokenTag[], String[], Object[]) - Method in class opennlp.tools.parser.ChunkContextGenerator
- getContext(int, T[], String[], Object[]) - Method in interface opennlp.tools.util.BeamSearchContextGenerator
-
Returns the context for the specified position in the specified
sequence(list). - getContext(CharSequence) - Method in class opennlp.tools.langdetect.DefaultLanguageDetectorContextGenerator
- getContext(CharSequence) - Method in interface opennlp.tools.langdetect.LanguageDetectorContextGenerator
-
Retrieves the contexts for a
documentusing character ngrams. - getContext(CharSequence, int) - Method in class opennlp.tools.sentdetect.DefaultSDContextGenerator
- getContext(CharSequence, int) - Method in interface opennlp.tools.sentdetect.SDContextGenerator
-
Returns an array of contextual features for the potential sentence boundary at the specified position within the specified string buffer.
- getContext(Object) - Method in class opennlp.tools.parser.chunking.BuildContextGenerator
- getContext(Object) - Method in class opennlp.tools.parser.chunking.CheckContextGenerator
- getContext(Object) - Method in class opennlp.tools.parser.treeinsert.AttachContextGenerator
- getContext(Object) - Method in class opennlp.tools.parser.treeinsert.BuildContextGenerator
- getContext(Object) - Method in class opennlp.tools.parser.treeinsert.CheckContextGenerator
- getContext(String) - Method in class opennlp.tools.ml.maxent.BasicContextGenerator
-
Builds up the list of contextual predicates given an
object. - getContext(String[]) - Method in class opennlp.tools.sentiment.EmojiSentimentContextGenerator
-
Returns the context
- getContext(String[]) - Method in class opennlp.tools.sentiment.SentimentContextGenerator
-
Returns the context
- getContext(String[], Map<String, Object>) - Method in class opennlp.tools.doccat.DocumentCategorizerContextGenerator
- getContext(String, int) - Method in class opennlp.tools.tokenize.DefaultTokenContextGenerator
- getContext(String, int) - Method in interface opennlp.tools.tokenize.TokenContextGenerator
- getContext(ArcStandardState, String[], String[]) - Method in class opennlp.tools.depparse.DependencyContextGenerator
-
Generates the features of the current configuration.
- getContext(Parse[], int) - Method in class opennlp.tools.parser.chunking.BuildContextGenerator
-
Finds the predictive context used to determine how constituent at the specified
indexshould be combined with other constituents. - getContext(Parse[], int) - Method in class opennlp.tools.parser.treeinsert.BuildContextGenerator
-
Finds the contexts/features for the decision to build a new constituent for the specified parse at the specified
index. - getContext(Parse[], int, List<Parse>, int) - Method in class opennlp.tools.parser.treeinsert.AttachContextGenerator
-
Finds the predictive contextual features about an attachment.
- getContext(Parse[], String, int, int) - Method in class opennlp.tools.parser.chunking.CheckContextGenerator
-
Finds predictive context for deciding whether the specified constituents between the specified
startandendindex can be combined to form a new constituent of the specifiedtype. - getContext(Parse, Parse[], int, boolean) - Method in class opennlp.tools.parser.treeinsert.CheckContextGenerator
-
Finds the predictive context used to determine how constituent at the specified
indexshould be combined with aparentconstituent. - getContext(T) - Method in interface opennlp.tools.ml.maxent.ContextGenerator
-
Builds up the list of contextual predicates given an
object. - getContextGenerator() - Method in class opennlp.tools.chunker.ChunkerFactory
- getContextGenerator() - Method in class opennlp.tools.langdetect.LanguageDetectorFactory
- getContextGenerator() - Method in class opennlp.tools.lemmatizer.LemmatizerFactory
- getContextGenerator() - Method in class opennlp.tools.parser.ParserChunkerFactory
- getContextGenerator() - Method in class opennlp.tools.tokenize.TokenizerFactory
- getContexts() - Method in class opennlp.tools.ml.model.AbstractDataIndexer
- getContexts() - Method in interface opennlp.tools.ml.model.DataIndexer
- getCount(CharSequence) - Method in class opennlp.tools.ngram.NGramCharModel
-
Retrieves the count of the given
ngram. - getCount(StringList) - Method in class opennlp.tools.ngram.NGramModel
-
Retrieves the count of the given ngram.
- getCoveredText() - Method in class opennlp.tools.formats.brat.SpanAnnotation
- getCoveredText() - Method in class opennlp.tools.parser.Parse
- getCoveredText(CharSequence) - Method in class opennlp.tools.util.Span
- getCurrent() - Method in class opennlp.tools.stemmer.snowball.SnowballProgram
-
Get the current string.
- getCurrentBuffer() - Method in class opennlp.tools.stemmer.snowball.SnowballProgram
-
Get the current buffer containing the stem.
- getCurrentBufferLength() - Method in class opennlp.tools.stemmer.snowball.SnowballProgram
-
Get the valid length of the character array in
SnowballProgram.getCurrentBuffer(). - getCurrPoint() - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- getCutoff() - Method in class opennlp.tools.ml.AbstractTrainer
- getData() - Method in interface opennlp.tools.cmdline.params.BasicFormatParams
- getDataDir() - Method in interface opennlp.tools.formats.TwentyNewsgroupSampleStreamFactory.Parameters
- getDataIndexer(ObjectStream<Event>) - Method in class opennlp.tools.ml.AbstractEventTrainer
- getDataIndexer(P, Map<String, String>) - Static method in class opennlp.tools.ml.model.DataIndexerFactory
-
Instantiates a
DataIndexerconfigured viaParameters. - getDataStructures() - Method in class opennlp.tools.ml.model.AbstractModel
-
Provides the fundamental data structures which encode the
MaxentModelinformation. - getDataType() - Method in class opennlp.tools.util.wordvector.DoubleArrayVector
- getDataType() - Method in class opennlp.tools.util.wordvector.FloatArrayVector
- getDataType() - Method in interface opennlp.tools.util.wordvector.WordVector
- getDefaultFactory() - Method in class opennlp.tools.chunker.ChunkerModel
- getDefaultFactory() - Method in class opennlp.tools.doccat.DoccatModel
- getDefaultFactory() - Method in class opennlp.tools.langdetect.LanguageDetectorModel
- getDefaultFactory() - Method in class opennlp.tools.lemmatizer.LemmatizerModel
- getDefaultFactory() - Method in class opennlp.tools.namefind.TokenNameFinderModel
- getDefaultFactory() - Method in class opennlp.tools.postag.POSModel
- getDefaultFactory() - Method in class opennlp.tools.sentdetect.SentenceModel
- getDefaultFactory() - Method in class opennlp.tools.tokenize.BPEModel
- getDefaultFactory() - Method in class opennlp.tools.tokenize.TokenizerModel
- getDefaultFactory() - Method in class opennlp.tools.util.model.BaseModel
-
Subclasses should override this method if their module has a default
BaseToolFactorysubclass. - getDefaultRegexNameFinders(Map<String, Pattern[]>, RegexNameFinderFactory.DEFAULT_REGEX_NAME_FINDER...) - Static method in class opennlp.tools.namefind.RegexNameFinderFactory
-
Allows for use of selected Defaults as well as regexes from external configuration.
- getDefaultRegexNameFinders(RegexNameFinderFactory.DEFAULT_REGEX_NAME_FINDER...) - Static method in class opennlp.tools.namefind.RegexNameFinderFactory
-
Retrieves a
RegexNameFinderthat will utilize specified default regexes. - getDeprel() - Method in class opennlp.tools.formats.conllu.ConlluWordLine
- getDeps() - Method in class opennlp.tools.formats.conllu.ConlluWordLine
- getDerivation() - Method in class opennlp.tools.parser.Parse
- getDescriptorElements(InputStream) - Static method in class opennlp.tools.util.featuregen.GeneratorFactory
-
Provides a
Listwith all the elements in the xml feature descriptor. - getDetokenizer() - Method in interface opennlp.tools.cmdline.params.DetokenizerParameter
- getDetokenizer() - Method in interface opennlp.tools.formats.letsmt.LetsmtSentenceStreamFactory.Parameters
- getDictionary() - Method in class opennlp.tools.postag.POSTaggerFactory
-
Deprecated, for removal: This API element is subject to removal in a future version.
- getDictKeys(String, String) - Method in class opennlp.tools.lemmatizer.DictionaryLemmatizer
- getDictMap() - Method in class opennlp.tools.lemmatizer.DictionaryLemmatizer
- getDigits() - Method in class opennlp.tools.tokenize.TokenizerCharacterPolicy
-
Returns the immutable digit set.
- getDimension() - Method in interface opennlp.tools.ml.maxent.quasinewton.Function
- getDimension() - Method in class opennlp.tools.ml.maxent.quasinewton.NegLogLikelihood
- getDimension() - Method in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer.L2RegFunction
- getDirectoryContent() - Method in class opennlp.tools.models.dir.DirectoryModelFinder
- getDivtypes() - Method in class opennlp.tools.formats.nkjp.NKJPTextDocument
- getDocument() - Method in class opennlp.tools.sentdetect.SentenceSample
- getDocumentAccuracy() - Method in class opennlp.tools.doccat.DoccatCrossValidator
- getDocumentAccuracy() - Method in class opennlp.tools.langdetect.LanguageDetectorCrossValidator
- getDocumentCount() - Method in class opennlp.tools.doccat.DoccatCrossValidator
- getDocumentCount() - Method in class opennlp.tools.doccat.DocumentCategorizerEvaluator
- getDocumentCount() - Method in class opennlp.tools.langdetect.LanguageDetectorCrossValidator
- getDocumentCount() - Method in class opennlp.tools.langdetect.LanguageDetectorEvaluator
- getDocumentId() - Method in class opennlp.tools.formats.conllu.ConlluSentence
- getDouble(String) - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- getDouble(String, double) - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- getDoubleParameter(String, double) - Method in interface opennlp.tools.util.Parameters
-
Obtains a training parameter value.
- getDoubleParameter(String, double) - Method in class opennlp.tools.util.TrainingParameters
- getDoubleParameter(String, String, double) - Method in interface opennlp.tools.util.Parameters
-
Obtains a training parameter value in the specified namespace.
- getDoubleParameter(String, String, double) - Method in class opennlp.tools.util.TrainingParameters
- getDownloadHome() - Static method in class opennlp.tools.util.DownloadUtil
- getElement(String) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
-
Reads one tree line into a
ADSentenceStream.SentenceParser.Nodeor aADSentenceStream.SentenceParser.Leaf. - getElements() - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Node
- getEncoding() - Method in interface opennlp.tools.cmdline.params.EncodingParameter
- getEncoding() - Method in interface opennlp.tools.formats.ad.ADChunkSampleStreamFactory.Parameters
- getEncoding() - Method in interface opennlp.tools.formats.ad.ADNameSampleStreamFactory.Parameters
- getEncoding() - Method in interface opennlp.tools.formats.ad.ADPOSSampleStreamFactory.Parameters
- getEncoding() - Method in interface opennlp.tools.formats.ad.ADSentenceSampleStreamFactory.Parameters
- getEncoding() - Method in interface opennlp.tools.formats.conllu.ConlluDependencySampleStreamFactory.Parameters
- getEnd() - Method in interface opennlp.tools.formats.ad.ADChunkSampleStreamFactory.Parameters
- getEnd() - Method in class opennlp.tools.util.Span
-
Note: that the returned index is one past the actual end of the span in the text, or the first element past the end of the span.
- getEndOfSentenceScanner() - Method in class opennlp.tools.sentdetect.SentenceDetectorFactory
- getEntityIDsToTokens() - Method in class opennlp.tools.formats.masc.MascNamedEntityParser
- getEntityIDtoEntityType() - Method in class opennlp.tools.formats.masc.MascNamedEntityParser
- getEntryExtension(String) - Method in class opennlp.tools.util.model.BaseModel
-
Extracts the "." extension from an entry name.
- getEosCharacters() - Method in class opennlp.tools.sentdetect.SentenceModel
- getEOSCharacters() - Method in class opennlp.tools.sentdetect.DefaultEndOfSentenceScanner
- getEOSCharacters() - Method in interface opennlp.tools.sentdetect.EndOfSentenceScanner
- getEOSCharacters() - Method in class opennlp.tools.sentdetect.SentenceDetectorFactory
- getEOSCharacters(String) - Method in class opennlp.tools.sentdetect.lang.Factory
- getEvaluator() - Method in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
- getEventModelSequenceTrainer(TrainingParameters, Map<String, String>) - Static method in class opennlp.tools.ml.TrainerFactory
-
Retrieves an
EventModelSequenceTrainerthat fits the given parameters. - getEvents() - Method in class opennlp.tools.ml.model.Sequence
- getEventTrainer(TrainingParameters, Map<String, String>) - Static method in class opennlp.tools.ml.TrainerFactory
-
Works just like
TrainerFactory.getEventTrainer(TrainingParameters, Map, TrainingConfiguration)except thatTrainingConfigurationis initialized with default values. - getEventTrainer(TrainingParameters, Map<String, String>, TrainingConfiguration) - Static method in class opennlp.tools.ml.TrainerFactory
-
Retrieves an
EventTrainerthat fits the given parameters. - getEventTrigger() - Method in class opennlp.tools.formats.brat.EventAnnotation
- getExpandME() - Method in interface opennlp.tools.formats.ad.ADPOSSampleStreamFactory.Parameters
- getExtraInformation() - Method in class opennlp.tools.doccat.DocumentSample
- getFactories(Class<T>) - Static method in class opennlp.tools.cmdline.StreamFactoryRegistry
-
Returns all factories which produce objects of
sampleClassclass. - getFactory() - Method in class opennlp.tools.chunker.ChunkerModel
- getFactory() - Method in class opennlp.tools.doccat.DoccatModel
- getFactory() - Method in class opennlp.tools.langdetect.LanguageDetectorModel
- getFactory() - Method in class opennlp.tools.lemmatizer.LemmatizerModel
- getFactory() - Method in class opennlp.tools.namefind.TokenNameFinderModel
- getFactory() - Method in class opennlp.tools.postag.POSModel
- getFactory() - Method in class opennlp.tools.sentdetect.SentenceModel
- getFactory() - Method in class opennlp.tools.sentiment.SentimentModel
- getFactory() - Method in class opennlp.tools.tokenize.BPEModel
- getFactory() - Method in class opennlp.tools.tokenize.TokenizerModel
- getFactory(Class<T>, String) - Static method in class opennlp.tools.cmdline.StreamFactoryRegistry
-
Returns a factory which reads format named
formatNameand instantiates streams producing objects ofsampleClassclass. - getFctEvalCount() - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- getFeats() - Method in class opennlp.tools.formats.conllu.ConlluWordLine
- getFeatureGenerator() - Method in class opennlp.tools.namefind.TokenNameFinderFactory
- getFeatureGenerator() - Method in class opennlp.tools.postag.POSTaggerFactory
- getFeatureGenerators() - Method in class opennlp.tools.doccat.DoccatFactory
- getFileFilter() - Method in interface opennlp.tools.formats.masc.MascNamedEntitySampleStreamFactory.Parameters
- getFileFilter() - Method in interface opennlp.tools.formats.masc.MascPOSSampleStreamFactory.Parameters
- getFileFilter() - Method in interface opennlp.tools.formats.masc.MascSentenceSampleStreamFactory.Parameters
- getFileFilter() - Method in interface opennlp.tools.formats.masc.MascTokenSampleStreamFactory.Parameters
- getFirstNonWS(CharSequence, int) - Method in class opennlp.tools.sentdetect.SentenceDetectorME
- getFirstWS(CharSequence, int) - Method in class opennlp.tools.sentdetect.SentenceDetectorME
- getFlex() - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankFlex
- getFlex() - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankSentence
- getFloat(String) - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- getFloat(String, float) - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- getFMeasure() - Method in class opennlp.tools.chunker.ChunkerCrossValidator
- getFMeasure() - Method in class opennlp.tools.chunker.ChunkerEvaluator
- getFMeasure() - Method in class opennlp.tools.namefind.TokenNameFinderCrossValidator
- getFMeasure() - Method in class opennlp.tools.namefind.TokenNameFinderEvaluator
- getFMeasure() - Method in class opennlp.tools.sentdetect.SDCrossValidator
- getFMeasure() - Method in class opennlp.tools.sentdetect.SentenceDetectorEvaluator
- getFMeasure() - Method in class opennlp.tools.sentiment.SentimentCrossValidator
-
Returns the F-Measure
- getFMeasure() - Method in class opennlp.tools.sentiment.SentimentEvaluator
- getFMeasure() - Method in class opennlp.tools.tokenize.TokenizerCrossValidator
- getFMeasure() - Method in class opennlp.tools.tokenize.TokenizerEvaluator
- getFMeasure() - Method in class opennlp.tools.util.eval.FMeasure
-
f-measure = 2 * precision * recall / (precision + recall). - getFolds() - Method in interface opennlp.tools.cmdline.params.CVParams
- getForm() - Method in class opennlp.tools.formats.conllu.ConlluWordLine
- getFrontierNodes(List<Parse>, Parse[]) - Method in class opennlp.tools.parser.AbstractContextGenerator
-
Populates specified nodes array with left-most right frontier node with a unique head.
- getFuncChangeRate() - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- getFunctionalTag() - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
- getGenerators() - Method in class opennlp.tools.util.featuregen.AggregatedFeatureGenerator
-
Retrieves a
Collectionsof all aggregatedfeature generators. - getGradAtCurr() - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- getGradAtNext() - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- getGuessedFormat() - Method in class opennlp.tools.postag.POSTagFormatMapper
- getGuessedFormat() - Method in class opennlp.tools.postag.POSTagFormatMapper.NoOp
- getHead() - Method in class opennlp.tools.formats.conllu.ConlluWordLine
- getHead() - Method in class opennlp.tools.parser.Parse
- getHead(Parse[], String) - Method in interface opennlp.tools.parser.HeadRules
-
Retrieves the head
constituentfor the specified constituents of giventype. - getHead(Parse[], String) - Method in class opennlp.tools.parser.lang.en.HeadRules
- getHead(Parse[], String) - Method in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules
- getHeadIndex() - Method in class opennlp.tools.parser.Parse
- getHeadRules() - Method in class opennlp.tools.parser.ParserModel
- getId() - Method in class opennlp.tools.formats.brat.BratAnnotation
- getId() - Method in class opennlp.tools.formats.brat.BratDocument
- getId() - Method in class opennlp.tools.formats.conllu.ConlluWordLine
- getId() - Method in class opennlp.tools.formats.masc.MascWord
- getId() - Method in class opennlp.tools.namefind.NameSample
- getIncludeFeatures() - Method in interface opennlp.tools.formats.ad.ADPOSSampleStreamFactory.Parameters
- getIncludeTitles() - Method in interface opennlp.tools.formats.ad.ADSentenceSampleStreamFactory.Parameters
- getIndex(String) - Method in interface opennlp.tools.doccat.DocumentCategorizer
-
Retrieves the index of a certain category.
- getIndex(String) - Method in class opennlp.tools.doccat.DocumentCategorizerME
- getIndex(String) - Method in class opennlp.tools.ml.model.AbstractModel
- getIndex(String) - Method in interface opennlp.tools.ml.model.MaxentModel
-
Retrieves the index associated with the String name of the given outcome.
- getInitialChunks(Parse) - Static method in class opennlp.tools.parser.AbstractParserEventStream
- getInitialChunks(Parse) - Static method in class opennlp.tools.parser.ChunkSampleStream
- getInitialChunks(Parse, List<Parse>) - Static method in class opennlp.tools.parser.AbstractParserEventStream
- getInitialChunks(Parse, List<Parse>) - Static method in class opennlp.tools.parser.ChunkSampleStream
- getInitialObject(double, double[], double[]) - Static method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
-
Initial linear search object for L1-regularization.
- getInitialObject(double, double[], double[], double[], double[], int) - Static method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
-
Initial linear search object for L1-regularization.
- getInitialObjectForL1(double, double[], double[], double[]) - Static method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
-
Initial linear search object for L1-regularization.
- getInitialPoint() - Method in class opennlp.tools.ml.maxent.quasinewton.NegLogLikelihood
- getInstance() - Static method in class opennlp.tools.util.normalizer.AccentFoldCharSequenceNormalizer
-
Returns the shared instance with the safe defaults: Latin, Greek, and Cyrillic plus the stroke-letter map.
- getInstance() - Static method in class opennlp.tools.util.normalizer.BulletCharSequenceNormalizer
-
Returns the shared, stateless instance.
- getInstance() - Static method in class opennlp.tools.util.normalizer.CaseFoldCharSequenceNormalizer
-
Returns the shared, stateless
Locale.ROOTinstance. - getInstance() - Static method in class opennlp.tools.util.normalizer.ConfusableSkeletonCharSequenceNormalizer
-
Returns the shared, stateless instance.
- getInstance() - Static method in class opennlp.tools.util.normalizer.DashCharSequenceNormalizer
-
Returns the shared, stateless instance.
- getInstance() - Static method in class opennlp.tools.util.normalizer.DigitCharSequenceNormalizer
-
Returns the shared, stateless instance.
- getInstance() - Static method in class opennlp.tools.util.normalizer.EllipsisCharSequenceNormalizer
-
Returns the shared, stateless instance.
- getInstance() - Static method in class opennlp.tools.util.normalizer.EmojiCharSequenceNormalizer
-
Returns the shared, stateless instance.
- getInstance() - Static method in class opennlp.tools.util.normalizer.EmojiEmoticons
-
Returns the shared instance over the bundled
emoji-emoticons.txtdata. - getInstance() - Static method in class opennlp.tools.util.normalizer.EmojiToEmoticonCharSequenceNormalizer
-
Returns the shared, stateless instance.
- getInstance() - Static method in class opennlp.tools.util.normalizer.EmoticonToEmojiCharSequenceNormalizer
-
Returns the shared, stateless instance.
- getInstance() - Static method in class opennlp.tools.util.normalizer.FullCaseFoldCharSequenceNormalizer
-
Returns the shared, stateless instance.
- getInstance() - Static method in class opennlp.tools.util.normalizer.GermanUmlautCharSequenceNormalizer
-
Returns the shared, stateless instance.
- getInstance() - Static method in class opennlp.tools.util.normalizer.InvisibleCharSequenceNormalizer
-
Returns the shared, stateless instance.
- getInstance() - Static method in class opennlp.tools.util.normalizer.LineBreakPreservingWhitespaceCharSequenceNormalizer
-
Returns the shared, stateless instance.
- getInstance() - Static method in class opennlp.tools.util.normalizer.NfcCharSequenceNormalizer
-
Returns the shared, stateless instance.
- getInstance() - Static method in class opennlp.tools.util.normalizer.NfkcCharSequenceNormalizer
-
Returns the shared, stateless instance.
- getInstance() - Static method in class opennlp.tools.util.normalizer.NumberCharSequenceNormalizer
-
Returns the shared, stateless instance.
- getInstance() - Static method in class opennlp.tools.util.normalizer.ParagraphPreservingWhitespaceCharSequenceNormalizer
-
Returns the shared, stateless instance.
- getInstance() - Static method in class opennlp.tools.util.normalizer.QuoteCharSequenceNormalizer
-
Returns the shared, stateless instance.
- getInstance() - Static method in class opennlp.tools.util.normalizer.ShrinkCharSequenceNormalizer
-
Returns the shared, stateless instance.
- getInstance() - Static method in class opennlp.tools.util.normalizer.SocialMediaCharSequenceNormalizer
-
Returns the shared, stateless instance.
- getInstance() - Static method in class opennlp.tools.util.normalizer.UnicodeEmojiSequences
-
Returns the matcher built from the bundled data, loaded on first use.
- getInstance() - Static method in class opennlp.tools.util.normalizer.UrlCharSequenceNormalizer
-
Returns the shared, stateless instance.
- getInstance() - Static method in class opennlp.tools.util.normalizer.WhitespaceCharSequenceNormalizer
-
Returns the shared, stateless instance.
- getInstance(Locale) - Static method in class opennlp.tools.util.normalizer.CaseFoldCharSequenceNormalizer
-
Returns a normalizer for the given locale.
- getInt(String) - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- getInt(String, int) - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- getIntParameter(String, int) - Method in interface opennlp.tools.util.Parameters
-
Obtains a training parameter value.
- getIntParameter(String, int) - Method in class opennlp.tools.util.TrainingParameters
- getIntParameter(String, String[]) - Static method in class opennlp.tools.cmdline.ArgumentParser
-
Retrieves the specified parameter from the specified arguments.
- getIntParameter(String, String[]) - Static method in class opennlp.tools.util.TrainingParameters
-
Retrieves the specified parameter from the specified arguments.
- getIntParameter(String, String, int) - Method in interface opennlp.tools.util.Parameters
-
Obtains a training parameter value in the specified namespace.
- getIntParameter(String, String, int) - Method in class opennlp.tools.util.TrainingParameters
- getItemID() - Method in class opennlp.tools.entitylinker.BaseLink
- getItemName() - Method in class opennlp.tools.entitylinker.BaseLink
- getItemParentID() - Method in class opennlp.tools.entitylinker.BaseLink
- getItemType() - Method in class opennlp.tools.entitylinker.BaseLink
- getIterations() - Method in class opennlp.tools.ml.AbstractTrainer
- getJarModelPrefix() - Method in class opennlp.tools.models.AbstractClassPathModelFinder
- getKey(String, String) - Static method in interface opennlp.tools.util.Parameters
- getKeys() - Method in class opennlp.tools.ml.naivebayes.Probabilities
- getLabel() - Method in class opennlp.tools.ml.naivebayes.LogProbability
- getLabel() - Method in class opennlp.tools.ml.naivebayes.Probability
- getLabel() - Method in class opennlp.tools.parser.Constituent
-
Returns the label of the constituent.
- getLabel() - Method in class opennlp.tools.parser.Parse
-
Retrieves the label assigned to this parse node during parsing which specifies how this node will be formed into a constituent.
- getLang() - Method in interface opennlp.tools.cmdline.params.LanguageParams
- getLang() - Method in class opennlp.tools.formats.AbstractSampleStreamFactory
- getLang() - Method in interface opennlp.tools.formats.ad.ADChunkSampleStreamFactory.Parameters
- getLang() - Method in interface opennlp.tools.formats.ad.ADNameSampleStreamFactory.Parameters
- getLang() - Method in interface opennlp.tools.formats.ad.ADPOSSampleStreamFactory.Parameters
- getLang() - Method in interface opennlp.tools.formats.ad.ADSentenceSampleStreamFactory.Parameters
- getLang() - Method in interface opennlp.tools.formats.Conll02NameSampleStreamFactory.Parameters
- getLang() - Method in interface opennlp.tools.formats.Conll03NameSampleStreamFactory.Parameters
- getLang() - Method in interface opennlp.tools.formats.EvalitaNameSampleStreamFactory.Parameters
- getLang() - Method in class opennlp.tools.formats.LanguageSampleStreamFactory
- getLang() - Method in class opennlp.tools.langdetect.Language
- getLanguage() - Method in interface opennlp.tools.util.model.ArtifactProvider
- getLanguage() - Method in class opennlp.tools.util.model.BaseModel
- getLanguageCode() - Method in class opennlp.tools.sentdetect.SentenceDetectorFactory
- getLanguageCode() - Method in class opennlp.tools.tokenize.BPETokenizerFactory
- getLanguageCode() - Method in class opennlp.tools.tokenize.TokenizerFactory
- getLanguageDetector() - Method in class opennlp.tools.langdetect.ThreadSafeLanguageDetectorME
-
Deprecated.
- getLas() - Method in class opennlp.tools.depparse.AttachmentScores
- getLas() - Method in class opennlp.tools.depparse.DependencyCrossValidator
- getLas() - Method in class opennlp.tools.depparse.DependencyEvaluator
- getLasExcludingPunctuation() - Method in class opennlp.tools.depparse.AttachmentScores
- getLasExcludingPunctuation() - Method in class opennlp.tools.depparse.DependencyCrossValidator
- getLasExcludingPunctuation() - Method in class opennlp.tools.depparse.DependencyEvaluator
- getLayer() - Method in interface opennlp.tools.formats.GermEval2014NameSampleStreamFactory.Parameters
- getLemma() - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
- getLemma() - Method in class opennlp.tools.formats.conllu.ConlluWordLine
- getLemmas() - Method in class opennlp.tools.lemmatizer.LemmaSample
- getLemmatizerSequenceModel() - Method in class opennlp.tools.lemmatizer.LemmatizerModel
- getLetters() - Method in class opennlp.tools.tokenize.TokenizerCharacterPolicy
-
Returns the immutable letter set.
- getLevel() - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.TreeElement
- getLexeme() - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
- getLinkedEntries() - Method in class opennlp.tools.entitylinker.LinkedSpan
- getLinker(String, EntityLinkerProperties) - Static method in class opennlp.tools.entitylinker.EntityLinkerFactory
-
Retrieves a
EntityLinkerinstance matching thepropertiesconfiguration. - getLinker(EntityLinkerProperties) - Static method in class opennlp.tools.entitylinker.EntityLinkerFactory
-
Retrieves a
EntityLinkerinstance matching thepropertiesconfiguration. - getLog() - Method in class opennlp.tools.ml.naivebayes.LogProbability
- getLog() - Method in class opennlp.tools.ml.naivebayes.Probability
- getLog(T) - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
- getLog(T) - Method in class opennlp.tools.ml.naivebayes.Probabilities
- getLoglikelihood() - Method in class opennlp.tools.ml.maxent.GISTrainer.ModelExpectationComputeTask
- getLong(String) - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- getLong(String, long) - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- getMajor() - Method in class opennlp.tools.util.Version
- getManifestProperty(String) - Method in interface opennlp.tools.util.model.ArtifactProvider
- getManifestProperty(String) - Method in class opennlp.tools.util.model.BaseModel
- getMarks() - Method in class opennlp.tools.tokenize.TokenizerCharacterPolicy
-
Returns the immutable mark set.
- getMatchingJarEntryURIs(List<URL>, String) - Method in class opennlp.tools.models.AbstractClassPathModelFinder
-
Returns the entries of every jar in
candidateswhose decoded file part matches*followed by thejar model prefix, keeping only the entries whose decoded file part matches*followed bywildcardPattern. - getMatchingPatterns() - Method in class opennlp.tools.namefind.RegexNameFinder
- getMatchingURIs(String, Object) - Method in class opennlp.tools.models.AbstractClassPathModelFinder
-
Retrieve matching classpath
URIsfor the givenwildcardPattern. - getMatchingURIs(String, Object) - Method in class opennlp.tools.models.classgraph.ClassgraphModelFinder
- getMatchingURIs(String, Object) - Method in class opennlp.tools.models.dir.DirectoryModelFinder
-
Retrieve matching classpath
URIsfor the givenwildcardPattern. - getMatchingURIs(String, Object) - Method in class opennlp.tools.models.simple.SimpleClassPathModelFinder
- getMax() - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
- getMax() - Method in class opennlp.tools.ml.naivebayes.Probabilities
- getMaxentModel() - Method in class opennlp.tools.doccat.DoccatModel
- getMaxentModel() - Method in class opennlp.tools.langdetect.LanguageDetectorModel
- getMaxentModel() - Method in class opennlp.tools.sentdetect.SentenceModel
- getMaxentModel() - Method in class opennlp.tools.sentiment.SentimentModel
- getMaxentModel() - Method in class opennlp.tools.tokenize.TokenizerModel
- getMaxLength() - Method in class opennlp.tools.langdetect.LanguageDetectorConfig
- getMaxTokenCount() - Method in class opennlp.tools.dictionary.Dictionary
- getMaxTokenLength() - Method in class opennlp.tools.tokenize.WordpieceTokenizer
-
Returns the maximum token length.
- getMaxValue() - Method in class opennlp.tools.ml.naivebayes.Probabilities
- getMeasureName() - Method in enum class opennlp.tools.monitoring.TrainingMeasure
- getMerges() - Method in class opennlp.tools.tokenize.BPEModel
- getMessage() - Method in exception class opennlp.tools.cmdline.TerminateToolException
- getMessageIfSatisfied() - Method in class opennlp.tools.monitoring.IterDeltaAccuracyUnderTolerance
- getMessageIfSatisfied() - Method in class opennlp.tools.monitoring.LogLikelihoodThresholdBreached
- getMessageIfSatisfied() - Method in interface opennlp.tools.monitoring.StopCriteria
- getMinConsecImprovements() - Method in class opennlp.tools.langdetect.LanguageDetectorConfig
-
If this value equals
0, probing detection will rely solely onLanguageDetectorConfig.getMinDiff() - getMinDiff() - Method in class opennlp.tools.langdetect.LanguageDetectorConfig
-
If this value equals
0, probing detection will rely solely onLanguageDetectorConfig.getMinConsecImprovements() - getMinor() - Method in class opennlp.tools.util.Version
- getMinTokenCount() - Method in class opennlp.tools.dictionary.Dictionary
- getMisc() - Method in class opennlp.tools.formats.conllu.ConlluWordLine
- getMisclassified() - Method in interface opennlp.tools.cmdline.params.CVParams
- getMisclassified() - Method in interface opennlp.tools.cmdline.params.EvaluatorParams
- getModel() - Method in interface opennlp.tools.cmdline.params.EvaluatorParams
- getModel() - Method in interface opennlp.tools.cmdline.params.TrainingToolParams
- getModel() - Method in class opennlp.tools.ml.model.AbstractModelReader
- getModelLanguage() - Method in record class opennlp.tools.models.ClassPathModel
- getModelName() - Method in record class opennlp.tools.models.ClassPathModel
- getModelSHA256() - Method in record class opennlp.tools.models.ClassPathModel
- getModelType() - Method in enum class opennlp.tools.ml.AlgorithmType
- getModelType() - Method in class opennlp.tools.ml.model.AbstractModel
- getModelVersion() - Method in record class opennlp.tools.models.ClassPathModel
- getMorphologicalTag() - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.TreeElement
- getName() - Method in enum class opennlp.tools.models.ModelType
- getNamedEntities() - Method in class opennlp.tools.formats.masc.MascSentence
- getNameFinderSequenceModel() - Method in class opennlp.tools.namefind.TokenNameFinderModel
- getNames() - Method in class opennlp.tools.namefind.NameSample
- getNameTypes() - Method in interface opennlp.tools.formats.brat.BratNameSampleStreamFactory.Parameters
- getNER(String) - Method in class opennlp.tools.formats.ad.ADNameSampleStream
-
Parses a NER tag in Arvores Deitadas format.
- getNextPoint() - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- getNextPunctuationSet() - Method in class opennlp.tools.parser.Parse
- getNGrams(String[], int) - Static method in class opennlp.tools.ngram.NGramUtils
-
Get the ngrams of dimension n of a certain input sequence of tokens.
- getNGrams(StringList, int) - Static method in class opennlp.tools.ngram.NGramUtils
-
Get the ngrams of dimension n of a certain input sequence of tokens.
- getNMinusOneTokenFirst(StringList) - Static method in class opennlp.tools.ngram.NGramUtils
-
get the (n-1)th ngram of a given ngram, that is the same ngram except the last word in the ngram
- getNMinusOneTokenLast(StringList) - Static method in class opennlp.tools.ngram.NGramUtils
-
get the (n-1)th ngram of a given ngram, that is the same ngram except the first word in the ngram
- getNonAdjoinedParent(Parse) - Method in class opennlp.tools.parser.treeinsert.ParserEventStream
-
Returns a map of parent nodes which consist of the immediate parent of the specified
nodeand any of its parent which share the same syntactic type. - getNonTokenizedText() - Method in class opennlp.tools.formats.letsmt.LetsmtDocument.LetsmtSentence
- getNote() - Method in class opennlp.tools.formats.brat.BratAnnotation
- getNPlusOneNgram(StringList, String) - Static method in class opennlp.tools.ngram.NGramUtils
- getNumberOfCacheHits() - Method in class opennlp.tools.util.featuregen.CachedFeatureGenerator
-
Deprecated.Cache statistics are no longer tracked.
- getNumberOfCacheMisses() - Method in class opennlp.tools.util.featuregen.CachedFeatureGenerator
-
Deprecated.Cache statistics are no longer tracked.
- getNumberOfCategories() - Method in interface opennlp.tools.doccat.DocumentCategorizer
-
Retrieves the number of categories.
- getNumberOfCategories() - Method in class opennlp.tools.doccat.DocumentCategorizerME
- getNumCorrect() - Method in class opennlp.tools.ml.maxent.GISTrainer.ModelExpectationComputeTask
- getNumEvents() - Method in class opennlp.tools.ml.maxent.GISTrainer.ModelExpectationComputeTask
- getNumEvents() - Method in class opennlp.tools.ml.model.AbstractDataIndexer
- getNumEvents() - Method in interface opennlp.tools.ml.model.DataIndexer
- getNumOutcomes() - Method in class opennlp.tools.ml.maxent.quasinewton.QNModel
- getNumOutcomes() - Method in class opennlp.tools.ml.model.AbstractModel
- getNumOutcomes() - Method in class opennlp.tools.ml.model.DynamicEvalParameters
- getNumOutcomes() - Method in class opennlp.tools.ml.model.EvalParameters
- getNumOutcomes() - Method in interface opennlp.tools.ml.model.MaxentModel
- getNumTimesEventsSeen() - Method in class opennlp.tools.ml.model.AbstractDataIndexer
- getNumTimesEventsSeen() - Method in interface opennlp.tools.ml.model.DataIndexer
- getObjectSettings() - Method in interface opennlp.tools.util.Parameters
- getObjectSettings() - Method in class opennlp.tools.util.TrainingParameters
- getObjectSettings(String) - Method in interface opennlp.tools.util.Parameters
- getObjectSettings(String) - Method in class opennlp.tools.util.TrainingParameters
- getOntoNotesDir() - Method in interface opennlp.tools.formats.ontonotes.OntoNotesFormatParameters
- getOperation(String) - Method in class opennlp.tools.tokenize.DetokenizationDictionary
- getOrderedTags(List<String>, List<String>, int) - Method in class opennlp.tools.postag.POSTaggerME
- getOrderedTags(List<String>, List<String>, int, double[]) - Method in class opennlp.tools.postag.POSTaggerME
- getOriginal() - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankSentence
- getOutcome() - Method in class opennlp.tools.ml.model.Event
- getOutcome(int) - Method in class opennlp.tools.ml.model.AbstractModel
- getOutcome(int) - Method in interface opennlp.tools.ml.model.MaxentModel
-
Retrieves the String name of the outcome associated with the index
i. - getOutcome(int) - Method in class opennlp.tools.util.Sequence
- getOutcomeLabels() - Method in class opennlp.tools.ml.model.AbstractDataIndexer
- getOutcomeLabels() - Method in interface opennlp.tools.ml.model.DataIndexer
- getOutcomeList() - Method in class opennlp.tools.ml.model.AbstractDataIndexer
- getOutcomeList() - Method in interface opennlp.tools.ml.model.DataIndexer
- getOutcomePatterns() - Method in class opennlp.tools.ml.model.AbstractModelReader
- getOutcomes() - Method in class opennlp.tools.ml.BeamSearch
- getOutcomes() - Method in class opennlp.tools.ml.model.AbstractModelReader
- getOutcomes() - Method in class opennlp.tools.ml.model.Context
- getOutcomes() - Method in interface opennlp.tools.ml.model.SequenceClassificationModel
- getOutcomes() - Method in class opennlp.tools.util.Sequence
- getOutcomeTotals() - Method in class opennlp.tools.ml.naivebayes.NaiveBayesEvalParameters
- getParagraphId() - Method in class opennlp.tools.formats.conllu.ConlluSentence
- getParagraphs() - Method in class opennlp.tools.formats.nkjp.NKJPTextDocument
-
Segmentation etc.
- getParameter(String, String[]) - Static method in class opennlp.tools.cmdline.ArgumentParser
-
Retrieves the specified parameter from the given arguments.
- getParameter(String, String[]) - Static method in class opennlp.tools.util.TrainingParameters
-
Retrieves the specified parameter from the given arguments.
- getParameterIndex(String, String[]) - Static method in class opennlp.tools.cmdline.ArgumentParser
-
Returns the index of the parameter in the arguments, or
-1if the parameter is not found. - getParameterIndex(String, String[]) - Static method in class opennlp.tools.util.TrainingParameters
-
Returns the index of the parameter in the arguments, or
-1if the parameter is not found. - getParameters() - Method in interface opennlp.tools.cmdline.ObjectStreamFactory
- getParameters() - Method in class opennlp.tools.formats.AbstractSampleStreamFactory
- getParameters() - Method in class opennlp.tools.ml.model.Context
- getParameters(int[][]) - Method in class opennlp.tools.ml.model.AbstractModelReader
-
Reads the parameters from a file and populates an array of
Contextobjects. - getParameters(String) - Method in class opennlp.tools.util.TrainingParameters
- getParams() - Method in interface opennlp.tools.cmdline.params.BasicTrainingParams
- getParams() - Method in class opennlp.tools.ml.model.DynamicEvalParameters
- getParams() - Method in class opennlp.tools.ml.model.EvalParameters
- getParent() - Method in class opennlp.tools.parser.Parse
- getParserChunkerModel() - Method in class opennlp.tools.parser.ParserModel
- getParserModel() - Method in class opennlp.tools.depparse.DependencyModel
- getParserTaggerModel() - Method in class opennlp.tools.parser.ParserModel
- getParserType() - Method in class opennlp.tools.parser.ParserModel
- getPathList() - Method in class opennlp.tools.formats.masc.MascDocumentStream.HeaderHandler
- getPhrasesAsSpanList() - Method in class opennlp.tools.chunker.ChunkSample
- getPhraseTagFromPosTag(String) - Method in class opennlp.tools.formats.ad.ADChunkSampleStream
- getPos() - Method in class opennlp.tools.formats.masc.MascToken
- getPOSContextGenerator() - Method in class opennlp.tools.postag.POSTaggerFactory
- getPOSContextGenerator(int) - Method in class opennlp.tools.postag.POSTaggerFactory
- getPositions(char[]) - Method in class opennlp.tools.sentdetect.DefaultEndOfSentenceScanner
- getPositions(char[]) - Method in interface opennlp.tools.sentdetect.EndOfSentenceScanner
-
The receiver scans
cbuffor sentence ending characters and returns their offsets. - getPositions(CharSequence) - Method in class opennlp.tools.sentdetect.DefaultEndOfSentenceScanner
- getPositions(CharSequence) - Method in interface opennlp.tools.sentdetect.EndOfSentenceScanner
-
The receiver scans the specified string for sentence ending characters and returns their offsets.
- getPositions(StringBuffer) - Method in class opennlp.tools.sentdetect.DefaultEndOfSentenceScanner
- getPositions(StringBuffer) - Method in interface opennlp.tools.sentdetect.EndOfSentenceScanner
-
The receiver scans
buffor sentence ending characters and returns their offsets. - getPosSequenceModel() - Method in class opennlp.tools.postag.POSModel
- getPosTag(ConlluTagset) - Method in class opennlp.tools.formats.conllu.ConlluWordLine
- getPrecisionScore() - Method in class opennlp.tools.util.eval.FMeasure
- getPredCounts() - Method in class opennlp.tools.ml.model.AbstractDataIndexer
- getPredCounts() - Method in interface opennlp.tools.ml.model.DataIndexer
- getPredicates() - Method in class opennlp.tools.ml.model.AbstractModelReader
- getPredIndex(String) - Method in class opennlp.tools.ml.maxent.quasinewton.QNModel
- getPredLabels() - Method in class opennlp.tools.ml.model.AbstractDataIndexer
- getPredLabels() - Method in interface opennlp.tools.ml.model.DataIndexer
- getPreds() - Method in class opennlp.tools.chunker.ChunkSample
- getPrefixes(String) - Static method in class opennlp.tools.lemmatizer.DefaultLemmatizerContextGenerator
- getPrefixes(String) - Static method in class opennlp.tools.postag.DefaultPOSContextGenerator
- getPrefixes(String) - Method in class opennlp.tools.util.featuregen.PrefixFeatureGenerator
- getPreviousPunctuationSet() - Method in class opennlp.tools.parser.Parse
- getProb() - Method in class opennlp.tools.parser.Parse
- getProb() - Method in class opennlp.tools.util.Span
- getProb(int) - Method in class opennlp.tools.util.Sequence
- getProbabilities() - Method in class opennlp.tools.tokenize.ThreadSafeTokenizerME
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
ThreadSafeTokenizerME.probs()instead. - getProbability(double, double, double, boolean) - Static method in class opennlp.tools.ml.naivebayes.NaiveBayesModel
- getProbs() - Method in class opennlp.tools.util.Sequence
- getProbs(double[]) - Method in class opennlp.tools.util.Sequence
-
Populates an array with the probabilities associated with the
Sequenceoutcomes. - getProperty(String, String) - Method in class opennlp.tools.entitylinker.EntityLinkerProperties
-
Retrieves a property value for a given
key. - getPseudoGradAtNext() - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- getPunctuationTags() - Method in interface opennlp.tools.parser.HeadRules
- getPunctuationTags() - Method in class opennlp.tools.parser.lang.en.HeadRules
- getPunctuationTags() - Method in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules
- getQuarks() - Method in class opennlp.tools.formats.masc.MascToken
- getReaderClazz() - Method in enum class opennlp.tools.ml.AlgorithmType
- getRecallScore() - Method in class opennlp.tools.util.eval.FMeasure
- getRecurrentSearch() - Method in interface opennlp.tools.formats.masc.MascNamedEntitySampleStreamFactory.Parameters
- getRecurrentSearch() - Method in interface opennlp.tools.formats.masc.MascPOSSampleStreamFactory.Parameters
- getRecurrentSearch() - Method in interface opennlp.tools.formats.masc.MascSentenceSampleStreamFactory.Parameters
- getRecurrentSearch() - Method in interface opennlp.tools.formats.masc.MascTokenSampleStreamFactory.Parameters
- getRecursive() - Method in interface opennlp.tools.formats.brat.BratNameSampleStreamFactory.Parameters
- getRegexMap() - Method in interface opennlp.tools.namefind.RegexNameFinderFactory.RegexAble
- getReportOutputFile() - Method in interface opennlp.tools.cmdline.params.FineGrainedEvaluatorParams
- getResource(String) - Method in interface opennlp.tools.util.featuregen.FeatureGeneratorResourceProvider
- getResources() - Method in class opennlp.tools.namefind.TokenNameFinderFactory
- getResources() - Method in class opennlp.tools.postag.POSTaggerFactory
- getResultBuffer() - Method in class opennlp.tools.stemmer.PorterStemmer
-
Returns a reference to a character buffer containing the results of the stemming process.
- getResultLength() - Method in class opennlp.tools.stemmer.PorterStemmer
-
Returns the length of the word resulting from the stemming process.
- getRevision() - Method in class opennlp.tools.util.Version
- getRightFrontier(Parse, Set<String>) - Static method in class opennlp.tools.parser.treeinsert.Parser
-
Returns the right frontier of the specified
treewith nodes ordered from deepest to shallowest. - getRuleBasedTokenizer() - Method in interface opennlp.tools.formats.brat.BratNameSampleStreamFactory.Parameters
- getRuleBasedTokenizer() - Method in interface opennlp.tools.formats.TwentyNewsgroupSampleStreamFactory.Parameters
- getSamples() - Method in class opennlp.tools.sentiment.SentimentCrossValidator.DocumentSample
-
Returns the short description of the tool
- getSamplesPerLanguage() - Method in interface opennlp.tools.formats.leipzig.LeipzigLanguageSampleStreamFactory.Parameters
- getSamplesToSkip() - Method in interface opennlp.tools.formats.leipzig.LeipzigLanguageSampleStreamFactory.Parameters
- getScore() - Method in class opennlp.tools.util.Sequence
- getScoreMap() - Method in class opennlp.tools.entitylinker.BaseLink
- getSD() - Method in class opennlp.tools.sentdetect.ThreadSafeSentenceDetectorME
-
Deprecated.
- getSDContextGenerator() - Method in class opennlp.tools.sentdetect.SentenceDetectorFactory
- getSearchTerm() - Method in class opennlp.tools.entitylinker.LinkedSpan
- getSecondaryTag() - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
- getSegments() - Method in class opennlp.tools.formats.nkjp.NKJPSegmentationDocument
- getSentDetectText() - Method in class opennlp.tools.formats.masc.MascSentence
- getSentence() - Method in class opennlp.tools.chunker.ChunkSample
- getSentence() - Method in class opennlp.tools.namefind.NameSample
- getSentence() - Method in class opennlp.tools.postag.POSSample
- getSentence() - Method in class opennlp.tools.sentiment.SentimentSample
- getSentenceDetectorModel() - Method in interface opennlp.tools.formats.brat.BratNameSampleStreamFactory.Parameters
- getSentenceid() - Method in class opennlp.tools.entitylinker.LinkedSpan
- getSentenceIdComment() - Method in class opennlp.tools.formats.conllu.ConlluSentence
- getSentenceProbabilities() - Method in class opennlp.tools.sentdetect.SentenceDetectorME
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
SentenceDetectorME.probs()instead. - getSentenceProbabilities() - Method in class opennlp.tools.sentdetect.ThreadSafeSentenceDetectorME
-
Deprecated.Use
ThreadSafeSentenceDetectorME.probs()instead. - getSentences() - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument
- getSentences() - Method in class opennlp.tools.formats.letsmt.LetsmtDocument
- getSentences() - Method in class opennlp.tools.sentdetect.SentenceSample
- getSentencesDir() - Method in interface opennlp.tools.formats.leipzig.LeipzigLanguageSampleStreamFactory.Parameters
- getSentencesPerSample() - Method in interface opennlp.tools.formats.conllu.ConlluSentenceSampleStreamFactory.Parameters
- getSentencesPerSample() - Method in interface opennlp.tools.formats.leipzig.LeipzigLanguageSampleStreamFactory.Parameters
- getSentencesPerSample() - Method in interface opennlp.tools.formats.masc.MascSentenceSampleStreamFactory.Parameters
- getSentencesPerSample() - Method in interface opennlp.tools.formats.masc.MascTokenSampleStreamFactory.Parameters
- getSentiment() - Method in class opennlp.tools.sentiment.SentimentSample
- getSequenceCodec() - Method in class opennlp.tools.namefind.TokenNameFinderFactory
- getSequenceCodec() - Method in class opennlp.tools.namefind.TokenNameFinderModel
- getSequenceModelTrainer(TrainingParameters, Map<String, String>) - Static method in class opennlp.tools.ml.TrainerFactory
-
Retrieves a
SequenceTrainerthat fits the given parameters. - getSequenceValidator() - Method in class opennlp.tools.chunker.ChunkerFactory
- getSequenceValidator() - Method in class opennlp.tools.lemmatizer.LemmatizerFactory
- getSequenceValidator() - Method in class opennlp.tools.parser.ParserChunkerFactory
- getSequenceValidator() - Method in class opennlp.tools.postag.POSTaggerFactory
- getShortestEditScript(String, String) - Static method in class opennlp.tools.util.StringUtil
- getSignVector() - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- getSize() - Method in class opennlp.tools.util.Sequence
- getSmoothedProbability(double, double, double) - Static method in class opennlp.tools.ml.naivebayes.NaiveBayesModel
- getSource() - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankSentence
- getSource() - Method in class opennlp.tools.ml.model.Sequence
-
This object is used when the events for this sequence need to be re-derived such as in a call to.
invalid reference
SequenceStream#updateContext(Sequence, AbstractModel) - getSpan() - Method in class opennlp.tools.parser.Constituent
-
Returns the span of the constituent.
- getSpan() - Method in class opennlp.tools.parser.Parse
- getSpans() - Method in class opennlp.tools.formats.brat.SpanAnnotation
- getSpanType() - Method in class opennlp.tools.namefind.RegexNameFinder
- getSplitHyphenatedTokens() - Method in interface opennlp.tools.formats.ad.ADNameSampleStreamFactory.Parameters
- getStart() - Method in interface opennlp.tools.formats.ad.ADChunkSampleStreamFactory.Parameters
- getStart() - Method in class opennlp.tools.util.Span
- getStepSize() - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- getStopCriteria(TrainingConfiguration) - Method in class opennlp.tools.ml.maxent.GISTrainer
-
Get the
StopCriteriaassociated with thisTrainer. - getStopCriteria(TrainingConfiguration) - Method in class opennlp.tools.ml.perceptron.PerceptronTrainer
-
Get the
StopCriteriaassociated with thisTrainer. - getStr(String) - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- getStr(String, String) - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- getString() - Method in record class opennlp.tools.langdetect.LanguageDetectorME.StringCPLengthPair
- getStringParameter(String, String) - Method in interface opennlp.tools.util.Parameters
-
Obtains a training parameter value.
- getStringParameter(String, String) - Method in class opennlp.tools.util.TrainingParameters
- getStringParameter(String, String, String) - Method in interface opennlp.tools.util.Parameters
-
Obtains a training parameter value in the specified namespace.
- getStringParameter(String, String, String) - Method in class opennlp.tools.util.TrainingParameters
- getSuffixes(String) - Static method in class opennlp.tools.lemmatizer.DefaultLemmatizerContextGenerator
- getSuffixes(String) - Static method in class opennlp.tools.postag.DefaultPOSContextGenerator
- getSuffixes(String) - Method in class opennlp.tools.util.featuregen.SuffixFeatureGenerator
- getSupportedLanguages() - Method in interface opennlp.tools.langdetect.LanguageDetector
- getSupportedLanguages() - Method in class opennlp.tools.langdetect.LanguageDetectorME
- getSupportedLanguages() - Method in class opennlp.tools.langdetect.ThreadSafeLanguageDetectorME
-
Deprecated.
- getSurface() - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankFlex
- getSyntacticTag() - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.TreeElement
- getTagDictionary() - Method in class opennlp.tools.postag.POSTaggerFactory
- getTagNodes() - Method in class opennlp.tools.parser.Parse
- getTags() - Method in class opennlp.tools.chunker.ChunkSample
- getTags() - Method in class opennlp.tools.depparse.DependencySample
- getTags() - Method in class opennlp.tools.formats.masc.MascPennTagParser
- getTags() - Method in class opennlp.tools.formats.masc.MascSentence
- getTags() - Method in class opennlp.tools.lemmatizer.LemmaSample
- getTags() - Method in class opennlp.tools.postag.POSSample
- getTags(String) - Method in class opennlp.tools.postag.POSDictionary
-
Returns a list of valid tags for the specified
word. - getTags(String) - Method in interface opennlp.tools.postag.TagDictionary
-
Retrieves a list of valid tags for the specified
word. - getTagSequenceProb() - Method in class opennlp.tools.parser.Parse
- getTagset() - Method in interface opennlp.tools.formats.conllu.ConlluDependencySampleStreamFactory.Parameters
- getTagset() - Method in interface opennlp.tools.formats.conllu.ConlluLemmaSampleStreamFactory.Parameters
- getTagset() - Method in interface opennlp.tools.formats.conllu.ConlluPOSSampleStreamFactory.Parameters
- getTestSampleStream() - Method in class opennlp.tools.util.eval.CrossValidationPartitioner.TrainingSampleStream
-
Retrieves the
ObjectStreamover the test/evaluations elements and poisons thisCrossValidationPartitioner.TrainingSampleStream. - getText() - Method in class opennlp.tools.doccat.DocumentSample
- getText() - Method in class opennlp.tools.formats.brat.BratDocument
- getText() - Method in class opennlp.tools.parser.Parse
- getText() - Method in class opennlp.tools.tokenize.TokenSample
- getTextComment() - Method in class opennlp.tools.formats.conllu.ConlluSentence
- getTextFile() - Method in interface opennlp.tools.formats.nkjp.NKJPSentenceSampleStreamFactory.Parameters
- getTextID(ADSentenceStream.Sentence) - Method in class opennlp.tools.formats.ad.ADNameSampleStream
-
Reads the id of the text a sentence belongs to; adaptive data is cleared when it changes.
- getTextLang() - Method in class opennlp.tools.formats.conllu.ConlluSentence
- getTexts() - Method in class opennlp.tools.formats.nkjp.NKJPTextDocument
- getThreshold() - Method in class opennlp.tools.monitoring.LogLikelihoodThresholdBreached
- getToken(int) - Method in class opennlp.tools.util.StringList
- getToken(String) - Static method in class opennlp.tools.parser.Parse
- getTokenId() - Method in class opennlp.tools.formats.masc.MascToken
- getTokenizer() - Method in class opennlp.tools.sentiment.SentimentFactory
- getTokenizerModel() - Method in interface opennlp.tools.formats.brat.BratNameSampleStreamFactory.Parameters
- getTokenizerModel() - Method in interface opennlp.tools.formats.muc.Muc6NameSampleStreamFactory.Parameters
- getTokenizerModel() - Method in interface opennlp.tools.formats.TwentyNewsgroupSampleStreamFactory.Parameters
- getTokenNodes() - Method in class opennlp.tools.parser.Parse
- getTokenProbabilities() - Method in class opennlp.tools.tokenize.TokenizerME
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
TokenizerME.probs()instead. - getTokens() - Method in class opennlp.tools.depparse.DependencySample
- getTokens() - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankSentence
- getTokens() - Method in class opennlp.tools.formats.letsmt.LetsmtDocument.LetsmtSentence
- getTokens() - Method in class opennlp.tools.lemmatizer.LemmaSample
- getTokenSample() - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankSentence
- getTokenSpans() - Method in class opennlp.tools.tokenize.TokenSample
- getTokensSpans() - Method in class opennlp.tools.formats.masc.MascSentence
-
Retrieves the boundaries of individual tokens.
- getTokenStrings() - Method in class opennlp.tools.formats.masc.MascSentence
- getTokenText() - Method in class opennlp.tools.formats.masc.MascSentence
- getTokenToQuarks() - Method in class opennlp.tools.formats.masc.MascPennTagParser
- getTolerance() - Method in class opennlp.tools.monitoring.IterDeltaAccuracyUnderTolerance
- getTrainerClazz() - Method in enum class opennlp.tools.ml.AlgorithmType
- getTrainerType(Parameters) - Static method in class opennlp.tools.ml.TrainerFactory
-
Determines the
TrainerFactory.TrainerTypebased on theParameters.ALGORITHM_PARAMvalue. - getTrainingConfiguration() - Method in class opennlp.tools.ml.AbstractTrainer
-
Retrieves the
TrainingConfigurationassociated with anAbstractTrainer. - getTrainingProgressMonitor(TrainingConfiguration) - Method in class opennlp.tools.ml.maxent.GISTrainer
-
Get the
TrainingProgressMonitorassociated with thisTrainer. - getTrainingProgressMonitor(TrainingConfiguration) - Method in class opennlp.tools.ml.perceptron.PerceptronTrainer
-
Get the
TrainingProgressMonitorassociated with thisTrainer. - getTranslation() - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankSentence
- getTranslit() - Method in class opennlp.tools.formats.conllu.ConlluSentence
- getTree() - Method in class opennlp.tools.depparse.DependencySample
- getType() - Method in class opennlp.tools.formats.brat.BratAnnotation
- getType() - Method in interface opennlp.tools.namefind.RegexNameFinderFactory.RegexAble
- getType() - Method in class opennlp.tools.parser.Parse
- getType() - Method in class opennlp.tools.util.Span
- getType(String) - Static method in class opennlp.tools.parser.Parse
- getTypeClass(String) - Method in class opennlp.tools.formats.brat.AnnotationConfiguration
- getTypes() - Method in interface opennlp.tools.formats.BioNLP2004NameSampleStreamFactory.Parameters
- getTypes() - Method in interface opennlp.tools.formats.Conll02NameSampleStreamFactory.Parameters
- getTypes() - Method in interface opennlp.tools.formats.Conll03NameSampleStreamFactory.Parameters
- getTypes() - Method in interface opennlp.tools.formats.EvalitaNameSampleStreamFactory.Parameters
- getTypes() - Method in interface opennlp.tools.formats.GermEval2014NameSampleStreamFactory.Parameters
- getUas() - Method in class opennlp.tools.depparse.AttachmentScores
- getUas() - Method in class opennlp.tools.depparse.DependencyCrossValidator
- getUas() - Method in class opennlp.tools.depparse.DependencyEvaluator
- getUasExcludingPunctuation() - Method in class opennlp.tools.depparse.AttachmentScores
- getUasExcludingPunctuation() - Method in class opennlp.tools.depparse.DependencyCrossValidator
- getUasExcludingPunctuation() - Method in class opennlp.tools.depparse.DependencyEvaluator
- getUnsupportedDirectives() - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Returns skipped unsupported directives, one entry per name in encounter order.
- getURIsFromJar(URL, boolean) - Method in class opennlp.tools.models.AbstractClassPathModelFinder
- getURLs(ClassLoader) - Method in class opennlp.tools.models.simple.SimpleClassPathModelFinder
- getValue() - Method in class opennlp.tools.formats.brat.AttributeAnnotation
- getValue() - Method in class opennlp.tools.util.MutableInt
- getValue(String) - Method in class opennlp.tools.dictionary.serializer.Attributes
-
Retrieves the value for the given key or
nullif attribute it not set. - getValueAtCurr() - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- getValueAtNext() - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- getValues() - Method in class opennlp.tools.ml.model.AbstractDataIndexer
- getValues() - Method in interface opennlp.tools.ml.model.DataIndexer
- getValues() - Method in class opennlp.tools.ml.model.Event
- getValues() - Method in class opennlp.tools.ml.model.OnePassRealValueDataIndexer
- getVersion() - Method in class opennlp.tools.util.model.BaseModel
- getVocabulary() - Method in class opennlp.tools.ml.naivebayes.NaiveBayesEvalParameters
- getWordAccuracy() - Method in class opennlp.tools.lemmatizer.LemmatizerEvaluator
-
Accuracy is defined as:
word accuracy = correctly detected tags / total words - getWordAccuracy() - Method in class opennlp.tools.postag.POSEvaluator
-
Accuracy defined as:
word accuracy = correctly detected tags / total words - getWordAccuracy() - Method in class opennlp.tools.postag.POSTaggerCrossValidator
- getWordClasses(String, BrownCluster) - Static method in class opennlp.tools.util.featuregen.BrownTokenClasses
-
It provides a list containing the pathLengths for a token if found in the Map:token,BrownClass.
- getWordCount() - Method in class opennlp.tools.depparse.AttachmentScores
- getWordCount() - Method in class opennlp.tools.depparse.DependencyCrossValidator
- getWordCount() - Method in class opennlp.tools.depparse.DependencyEvaluator
- getWordCount() - Method in class opennlp.tools.lemmatizer.LemmatizerEvaluator
- getWordCount() - Method in class opennlp.tools.postag.POSEvaluator
- getWordCount() - Method in class opennlp.tools.postag.POSTaggerCrossValidator
- getWordCountExcludingPunctuation() - Method in class opennlp.tools.depparse.AttachmentScores
- getWordCountExcludingPunctuation() - Method in class opennlp.tools.depparse.DependencyCrossValidator
- getWordCountExcludingPunctuation() - Method in class opennlp.tools.depparse.DependencyEvaluator
- getWordLines() - Method in class opennlp.tools.formats.conllu.ConlluSentence
- getWriterClazz() - Method in enum class opennlp.tools.ml.AlgorithmType
- GISModel - Class in opennlp.tools.ml.maxent
-
A maximum entropy model which has been trained using the Generalized Iterative Scaling (GIS) procedure.
- GISModel(Context[], String[], String[]) - Constructor for class opennlp.tools.ml.maxent.GISModel
-
Initializes a
GISModelwith the specified parameters, outcome names, and predicate/feature labels. - GISModel(Context[], String[], String[], Prior) - Constructor for class opennlp.tools.ml.maxent.GISModel
-
Initializes a
GISModelwith the specified parameters, outcome names, and predicate/feature labels. - GISModelReader - Class in opennlp.tools.ml.maxent.io
-
The base class for readers of
GIS models. - GISModelReader(File) - Constructor for class opennlp.tools.ml.maxent.io.GISModelReader
-
Initializes a
GISModelReadervia aFile. - GISModelReader(DataReader) - Constructor for class opennlp.tools.ml.maxent.io.GISModelReader
-
Initializes a
GISModelReadervia aDataReader. - GISModelWriter - Class in opennlp.tools.ml.maxent.io
-
The base class for writers of
GIS models. - GISModelWriter(AbstractModel) - Constructor for class opennlp.tools.ml.maxent.io.GISModelWriter
-
Initializes a
GISModelWriterfor aGIS model. - GISTrainer - Class in opennlp.tools.ml.maxent
-
An implementation of Generalized Iterative Scaling (GIS).
- GISTrainer() - Constructor for class opennlp.tools.ml.maxent.GISTrainer
-
Initializes a
GISTrainer. - GISTrainer.ModelExpectationComputeTask - Class in opennlp.tools.ml.maxent
- GLOROT_NUMERATOR - Static variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer
-
The numerator of the Glorot uniform bound,
sqrt(6 / (fanIn + fanOut)). - Glove - Class in opennlp.tools.util.wordvector
-
GloVe is an unsupervised learning algorithm for obtaining vector representations for words.
- Glove() - Constructor for class opennlp.tools.util.wordvector.Glove
- GO_SLOW - Static variable in class opennlp.tools.tokenize.uax29.WordSegmenter
- gold - Variable in class opennlp.tools.depparse.ArcStandardBeam.Node
- gradAtCurr - Variable in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- gradAtNext - Variable in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- gradient - Variable in class opennlp.tools.ml.maxent.quasinewton.NegLogLikelihood
- gradientAt(double[]) - Method in interface opennlp.tools.ml.maxent.quasinewton.Function
-
Computes the gradient for
x. - gradientAt(double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.NegLogLikelihood
-
Computes the gradient.
- gradientAt(double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.ParallelNegLogLikelihood
-
Computes the gradient for
x. - gradientAt(double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer.L2RegFunction
- GradientComputeTask(int, int, int, double[]) - Constructor for class opennlp.tools.ml.maxent.quasinewton.ParallelNegLogLikelihood.GradientComputeTask
- gradientThread - Variable in class opennlp.tools.ml.maxent.quasinewton.ParallelNegLogLikelihood
- GREEDY_BEAM_SIZE - Static variable in class opennlp.tools.depparse.FeedforwardDependencyModel
-
The beam size of a model that was not refined with beam search.
- GREEDY_BEAM_SIZE - Static variable in class opennlp.tools.depparse.FeedforwardDependencyParser
-
The beam size at which decoding is greedy.
- greedyParse(FeedforwardContext, int) - Method in class opennlp.tools.depparse.FeedforwardDependencyParser
-
Decodes greedily: the highest scoring applicable transition wins each step.
- GREEK - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- GREEK_CAPITAL_SIGMA - Static variable in class opennlp.tools.depparse.FeedforwardNetwork
-
U+03A3, GREEK CAPITAL LETTER SIGMA, the one code point whose lowering depends on context.
- GREEK_CAPITAL_SIGMA - Static variable in class opennlp.tools.tokenize.WordpieceEncoder
- GREEK_SMALL_FINAL_SIGMA - Static variable in class opennlp.tools.depparse.FeedforwardNetwork
-
U+03C2, GREEK SMALL LETTER FINAL SIGMA, the lowering of the capital at the end of a word.
- GREEK_SMALL_FINAL_SIGMA - Static variable in class opennlp.tools.tokenize.WordpieceEncoder
- greekStemmer - Class in opennlp.tools.stemmer.snowball
-
This class implements the stemming algorithm defined by a snowball script.
- greekStemmer() - Constructor for class opennlp.tools.stemmer.snowball.greekStemmer
- group - Variable in record class opennlp.tools.tokenize.lattice.MecabDictionary.Category
-
The field for the
grouprecord component. - group() - Method in record class opennlp.tools.tokenize.lattice.MecabDictionary.Category
-
Returns the value of the
grouprecord component. - GROUP_CLOSE - Static variable in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
- GROUP_OPEN - Static variable in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
- grow() - Method in class opennlp.tools.tokenize.MappedText
-
Doubles the buffers, starting at 16 and capped at
MappedText.MAX_CAPACITY. - grow() - Method in class opennlp.tools.util.normalizer.Alignment.Builder
-
Grows the backing arrays by 1.5x, capped at the maximum array size.
- guessFormat(POSModel) - Static method in class opennlp.tools.postag.POSTagFormatMapper
-
Guesses the
POSTagFormatof a givenPOSModel - guessModelTagFormat(String[]) - Method in class opennlp.tools.postag.POSTagFormatMapper
-
Guesses the
POSTagFormatby using majority quorum. - GZIP_MAGIC_FIRST - Static variable in class opennlp.tools.util.ResourceInstaller
- GZIP_MAGIC_SECOND - Static variable in class opennlp.tools.util.ResourceInstaller
- GZIP_SUFFIX - Static variable in class opennlp.tools.util.ResourceInstaller
H
- HAND - Enum constant in enum class opennlp.tools.util.normalizer.EmojiEntityType
-
A hand gesture, from the
hand-*subgroups. - HANGUL - Enum constant in enum class opennlp.tools.tokenize.uax29.WordType
-
A Hangul token.
- HAREM - Static variable in class opennlp.tools.formats.ad.ADNameSampleStream
- hasAffixDirective(byte[], String) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Finds a directive before metadata is removed or decoded.
- hasBoundaryFlag(int[], List<HunspellDictionary.Affix>, int) - Method in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.CompoundPattern
-
Tests entry and continuation flags for a boundary condition.
- hasCodePointPrefix(String) - Static method in class opennlp.tools.util.normalizer.CodePointSet
-
Checks for the optional
U+or0xprefix of a code point entry. - hasControlCharacter(String) - Method in class opennlp.tools.util.ext.ProviderSpec
- hasField(List<String>, String) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Checks for a morphological field.
- hasFlag(List<int[]>, int) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Checks whether any of a word's flag sets carries a flag.
- hash - Variable in class opennlp.tools.depparse.DependencyTree
- HASH - Static variable in class opennlp.tools.tokenize.lang.en.TokenSampleStream
- hashCode - Variable in class opennlp.tools.util.StringList
- hashCode() - Method in class opennlp.tools.chunker.ChunkSample
- hashCode() - Method in record class opennlp.tools.cmdline.ArgumentParser.Argument
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.cmdline.ArgumentParser.ArgumentProxy
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.depparse.DependencyArc
-
Returns a hash code value for this object.
- hashCode() - Method in class opennlp.tools.depparse.DependencySample
- hashCode() - Method in class opennlp.tools.depparse.DependencyTree
- hashCode() - Method in record class opennlp.tools.depparse.FeedforwardDependencyTrainer.Derivation
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.depparse.FeedforwardDependencyTrainer.Settings
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.depparse.Transition
-
Returns a hash code value for this object.
- hashCode() - Method in class opennlp.tools.dictionary.Dictionary
- hashCode() - Method in record class opennlp.tools.dictionary.serializer.Entry
-
Returns a hash code value for this object.
- hashCode() - Method in class opennlp.tools.doccat.DocumentSample
- hashCode() - Method in record class opennlp.tools.document.Annotation
-
Returns a hash code value for this object.
- hashCode() - Method in class opennlp.tools.document.LayerKey
- hashCode() - Method in class opennlp.tools.entitylinker.BaseLink
- hashCode() - Method in class opennlp.tools.entitylinker.LinkedSpan
- hashCode() - Method in record class opennlp.tools.formats.ad.ADMetadata.IdSpans
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.formats.ad.ADMetadata.TextAndParagraph
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.formats.ad.ADSentenceStream.Sentence
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.LeafEnd
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.LeafRest
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.PunctuationLine
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Tag
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.formats.conllu.ConlluStream.MultiwordRange
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.formats.masc.MascSentence.QuarkExtractor
-
Returns a hash code value for this object.
- hashCode() - Method in class opennlp.tools.langdetect.Language
- hashCode() - Method in record class opennlp.tools.langdetect.LanguageDetectorME.StringCPLengthPair
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.langdetect.LanguageSample
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.langdetect.ProbingLanguageDetectionResult
-
Returns a hash code value for this object.
- hashCode() - Method in class opennlp.tools.lemmatizer.LemmaSample
- hashCode() - Method in class opennlp.tools.ml.maxent.GISModel
- hashCode() - Method in record class opennlp.tools.ml.maxent.quasinewton.QNTrainer.ModelEvaluator
-
Returns a hash code value for this object.
- hashCode() - Method in class opennlp.tools.ml.model.AbstractModel
- hashCode() - Method in class opennlp.tools.ml.model.ComparableEvent
- hashCode() - Method in class opennlp.tools.ml.model.ComparablePredicate
- hashCode() - Method in class opennlp.tools.ml.model.Context
- hashCode() - Method in class opennlp.tools.ml.model.EvalParameters
- hashCode() - Method in record class opennlp.tools.ml.model.EventFields.EventLine
-
Returns a hash code value for this object.
- hashCode() - Method in class opennlp.tools.ml.model.UniformPrior
- hashCode() - Method in class opennlp.tools.ml.perceptron.PerceptronModel
- hashCode() - Method in record class opennlp.tools.models.ClassPathModel
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.models.ClassPathModelEntry
-
Returns a hash code value for this object.
- hashCode() - Method in class opennlp.tools.namefind.NameSample
- hashCode() - Method in record class opennlp.tools.namefind.TokenNameFinderCrossValidator.DocumentSample
-
Returns a hash code value for this object.
- hashCode() - Method in class opennlp.tools.ngram.NGramCharModel
- hashCode() - Method in class opennlp.tools.ngram.NGramModel
- hashCode() - Method in class opennlp.tools.parser.lang.en.HeadRules
- hashCode() - Method in class opennlp.tools.parser.lang.en.HeadRules.HeadRule
- hashCode() - Method in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules
- hashCode() - Method in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules.HeadRule
- hashCode() - Method in class opennlp.tools.parser.Parse
- hashCode() - Method in record class opennlp.tools.parser.ParserAnnotator.Phrase
-
Returns a hash code value for this object.
- hashCode() - Method in class opennlp.tools.parser.ParserModel
- hashCode() - Method in class opennlp.tools.postag.POSDictionary
- hashCode() - Method in class opennlp.tools.postag.POSModel
- hashCode() - Method in class opennlp.tools.postag.POSSample
- hashCode() - Method in class opennlp.tools.sentdetect.SentenceSample
- hashCode() - Method in class opennlp.tools.sentiment.SentimentSample
- hashCode() - Method in record class opennlp.tools.stemmer.hunspell.HunspellAffixTable.Entry
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.stemmer.hunspell.HunspellConversion.Rule
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.Affix
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.CompoundPattern
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.UnsupportedDirective
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.WordBreak
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.stemmer.hunspell.HunspellStemmer.CompoundPart
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.stemmer.hunspell.HunspellStemmer.Junction
-
Returns a hash code value for this object.
- hashCode() - Method in class opennlp.tools.stemmer.snowball.arabicStemmer
- hashCode() - Method in class opennlp.tools.stemmer.snowball.catalanStemmer
- hashCode() - Method in class opennlp.tools.stemmer.snowball.danishStemmer
- hashCode() - Method in class opennlp.tools.stemmer.snowball.dutchStemmer
- hashCode() - Method in class opennlp.tools.stemmer.snowball.englishStemmer
- hashCode() - Method in class opennlp.tools.stemmer.snowball.finnishStemmer
- hashCode() - Method in class opennlp.tools.stemmer.snowball.frenchStemmer
- hashCode() - Method in class opennlp.tools.stemmer.snowball.germanStemmer
- hashCode() - Method in class opennlp.tools.stemmer.snowball.greekStemmer
- hashCode() - Method in class opennlp.tools.stemmer.snowball.hungarianStemmer
- hashCode() - Method in class opennlp.tools.stemmer.snowball.indonesianStemmer
- hashCode() - Method in class opennlp.tools.stemmer.snowball.irishStemmer
- hashCode() - Method in class opennlp.tools.stemmer.snowball.italianStemmer
- hashCode() - Method in class opennlp.tools.stemmer.snowball.norwegianStemmer
- hashCode() - Method in class opennlp.tools.stemmer.snowball.porterStemmer
- hashCode() - Method in class opennlp.tools.stemmer.snowball.portugueseStemmer
- hashCode() - Method in class opennlp.tools.stemmer.snowball.romanianStemmer
- hashCode() - Method in class opennlp.tools.stemmer.snowball.russianStemmer
- hashCode() - Method in class opennlp.tools.stemmer.snowball.spanishStemmer
- hashCode() - Method in class opennlp.tools.stemmer.snowball.swedishStemmer
- hashCode() - Method in class opennlp.tools.stemmer.snowball.turkishStemmer
- hashCode() - Method in record class opennlp.tools.termvector.TermVector
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.tokenize.BPETokenizer.SymbolPair
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.tokenize.lattice.CategoryTable.Builder.Mapping
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.tokenize.lattice.DoubleArrayLexicon.Builder.PendingNode
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.tokenize.lattice.MecabDictionary.Category
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.tokenize.lattice.MecabDictionary.WordEntry
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.tokenize.lattice.Morpheme
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.tokenize.lattice.UnigramSegmenter.WordTrieBuilder.BuildStep
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.tokenize.SubwordPiece
-
Returns a hash code value for this object.
- hashCode() - Method in class opennlp.tools.tokenize.TokenizerCharacterPolicy
- hashCode() - Method in class opennlp.tools.tokenize.TokenizerModel
- hashCode() - Method in class opennlp.tools.tokenize.TokenSample
- hashCode() - Method in record class opennlp.tools.tokenize.uax29.WordToken
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.tokenize.WordpieceEncoder.VocabularyMatch
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.util.DictionaryCatalog.Entry
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.util.ext.Providers.ConfigurationFile
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.util.ext.Providers.Lookup
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.util.ext.Providers.Parsed
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.util.ext.Providers.Registration
-
Returns a hash code value for this object.
- hashCode() - Method in class opennlp.tools.util.ext.ProviderSpec
- hashCode() - Method in record class opennlp.tools.util.normalizer.AlignedText
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.util.normalizer.CodePoints.At
-
Returns a hash code value for this object.
- hashCode() - Method in class opennlp.tools.util.normalizer.CodePointSet
- hashCode() - Method in record class opennlp.tools.util.normalizer.Confusables.Data
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.util.normalizer.EmojiAnnotation
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.util.normalizer.EmojiAnnotation.Value
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.util.normalizer.EmojiEmoticons.Direction
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.util.normalizer.EmojiEmoticons.Mapping
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.util.normalizer.EmojiEmoticons.Tables
-
Returns a hash code value for this object.
- hashCode() - Method in class opennlp.tools.util.normalizer.NormalizationProfile
- hashCode() - Method in record class opennlp.tools.util.normalizer.UnicodeDash.DashCharacter
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.util.normalizer.UnicodeEmojiSequences.Candidate
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.util.normalizer.UnicodeEmojiSequences.Walk
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.util.normalizer.UnicodeWhitespace.RelatedCharacter
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.util.normalizer.UnicodeWhitespace.WhitespaceCharacter
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.util.ResourceInstaller.Limits
-
Returns a hash code value for this object.
- hashCode() - Method in class opennlp.tools.util.Sequence
- hashCode() - Method in class opennlp.tools.util.Span
- hashCode() - Method in class opennlp.tools.util.StringList
- hashCode() - Method in record class opennlp.tools.util.TokenTag
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.util.TrainingConfiguration
-
Returns a hash code value for this object.
- hashCode() - Method in class opennlp.tools.util.Version
- hasLanguageCodePrefix(String) - Method in class opennlp.tools.formats.leipzig.LeipzigLanguageSampleStream
-
Tests whether the first 3 characters of a file name are ASCII lower case letters,
atoz, as the language code of a Leipzig file is. - hasMagic(byte[], int...) - Static method in class opennlp.tools.util.ResourceInstaller
-
Checks whether the bytes at the start of a resource match the given signature.
- hasNamedEntities - Variable in class opennlp.tools.formats.masc.MascDocument
- hasNamedEntities() - Method in class opennlp.tools.formats.masc.MascDocument
-
Checks whether there is NER by GATE-5.0 ANNIE.
- hasNext() - Method in interface opennlp.tools.ml.maxent.DataStream
-
Test whether there are any events remaining in this
DataStream. - hasNext() - Method in class opennlp.tools.tokenize.lang.en.TokenSampleStream
- hasNext() - Method in class opennlp.tools.util.eval.CrossValidationPartitioner
-
Checks if there are more partitions available.
- hasNext() - Method in class opennlp.tools.util.ReverseListIterator
- hasOnlyOptions(String...) - Method in class opennlp.tools.util.ext.ProviderSpec
-
Checks whether every option of this spec has one of the given names.
- hasPennTags - Variable in class opennlp.tools.formats.masc.MascDocument
- hasPennTags() - Method in class opennlp.tools.formats.masc.MascDocument
-
Checks whether there is Penn tagging produced by GATE-5.0 ANNIE.
- hasPosixUstarMagic(byte[]) - Static method in class opennlp.tools.util.archive.TarStream
-
Checks for the POSIX ustar magic specifically, which is
"ustar"followed by a NUL. - hasPunctuation(String) - Method in class opennlp.tools.formats.ad.ADSentenceSampleStream
- hasValidChecksum(byte[]) - Static method in class opennlp.tools.util.archive.TarStream
-
Verifies a header block against the checksum stored in it.
- head - Variable in record class opennlp.tools.depparse.DependencyArc
-
The field for the
headrecord component. - head - Variable in class opennlp.tools.formats.conllu.ConlluWordLine
- head - Variable in class opennlp.tools.parser.Parse
-
The head parse of this parse.
- head - Variable in record class opennlp.tools.parser.ParserAnnotator.Phrase
-
The field for the
headrecord component. - head() - Method in record class opennlp.tools.depparse.DependencyArc
-
Returns the value of the
headrecord component. - head() - Method in record class opennlp.tools.parser.ParserAnnotator.Phrase
-
Returns the value of the
headrecord component. - HEAD - Static variable in class opennlp.tools.formats.conllu.ConlluDependencySampleStream
-
The column holding the one-based index of the head,
0for the root. - HEAD_RULES_MODEL_ENTRY_NAME - Static variable in class opennlp.tools.parser.ParserModel
- header - Variable in class opennlp.tools.util.archive.TarStream
- HeaderHandler() - Constructor for class opennlp.tools.formats.masc.MascDocumentStream.HeaderHandler
- headIndex - Variable in class opennlp.tools.parser.Parse
-
Index in the sentence of the head of this constituent.
- HEADLINE_ELEMENT - Static variable in class opennlp.tools.formats.muc.MucElementNames
- headOf(int) - Method in class opennlp.tools.depparse.DependencyTree
-
Retrieves the head of a token.
- HeadRule(boolean, String[]) - Constructor for class opennlp.tools.parser.lang.en.HeadRules.HeadRule
- HeadRule(boolean, String[]) - Constructor for class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules.HeadRule
- headRules - Variable in class opennlp.tools.parser.AbstractBottomUpParser
-
The head rules for the parser.
- headRules - Variable in class opennlp.tools.parser.lang.en.HeadRules
- headRules - Variable in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules
- HeadRules - Class in opennlp.tools.parser.lang.en
-
Class for storing the English
HeadRulesassociated with parsing. - HeadRules - Interface in opennlp.tools.parser
-
Encoder for head rules associated with parsing.
- HeadRules(Reader) - Constructor for class opennlp.tools.parser.lang.en.HeadRules
-
Creates a new set of head rules based on the specified reader.
- HeadRules.HeadRule - Class in opennlp.tools.parser.lang.en
- HeadRules.HeadRulesSerializer - Class in opennlp.tools.parser.lang.en
- HeadRulesSerializer() - Constructor for class opennlp.tools.parser.lang.en.HeadRules.HeadRulesSerializer
- HeadRulesSerializer() - Constructor for class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules.HeadRulesSerializer
- HeadRulesSerializer() - Constructor for class opennlp.tools.parser.ParserModel.HeadRulesSerializer
- heads - Variable in class opennlp.tools.depparse.ArcStandardState
- heads - Variable in class opennlp.tools.depparse.DependencyTree
- HEART - Enum constant in enum class opennlp.tools.util.normalizer.EmojiEntityType
-
A heart pictograph, from the
heartsubgroup. - HEBREW_LETTER - Enum constant in enum class opennlp.tools.tokenize.uax29.WordBreak
-
Hebrew letters (distinguished so a single quote may join them).
- HEX_PREFIX - Static variable in class opennlp.tools.tokenize.lattice.MecabDictionary
-
The code point prefix used by
char.def, in either letter case. - HexCodePoints - Class in opennlp.tools.util.normalizer
-
Reads the hex code point notation of Unicode data files and similar code point tables: one code point as hex digits (
1F600), a sequence as hex digits separated by whitespace (1F468 200D 1F469), and an inclusive range as two code points joined by two dots (1F3FB..1F3FF). - HexCodePoints() - Constructor for class opennlp.tools.util.normalizer.HexCodePoints
- hexDigest(Path, String) - Static method in class opennlp.tools.util.Checksums
-
Computes the digest of a file's bytes.
- hidden - Variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer.Optimizer
- HIDDEN_SIZE_PARAM - Static variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer
-
The training parameter key of the hidden layer width; default 200.
- hiddenAccumulator - Variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer.Optimizer
- hiddenBias - Variable in class opennlp.tools.depparse.FeedforwardNetwork
- hiddenBias() - Method in class opennlp.tools.depparse.FeedforwardNetwork
- hiddenBiasAccumulator - Variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer.Optimizer
- hiddenBiasGradient - Variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer.Optimizer
- hiddenCapitalizedEntries(Map<String, List<int[]>>) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Derives the hidden capitalized forms of mixed-case entries and of all-uppercase entries carrying flags, so that all-uppercase input such as
EBOOKSforeBookorACME'SforACMEmatches them. - hiddenDelta - Variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer.Optimizer
- hiddenEntries - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
The capitalized forms of mixed-case and flagged all-uppercase entries, kept as hidden homonyms so that all-uppercase input matches them.
- hiddenGradient - Variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer.Optimizer
- hiddenSize - Variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer.Optimizer
- hiddenSize - Variable in record class opennlp.tools.depparse.FeedforwardDependencyTrainer.Settings
-
The field for the
hiddenSizerecord component. - hiddenSize() - Method in record class opennlp.tools.depparse.FeedforwardDependencyTrainer.Settings
-
Returns the value of the
hiddenSizerecord component. - hiddenSize() - Method in class opennlp.tools.depparse.FeedforwardNetwork
- hiddenWeights - Variable in class opennlp.tools.depparse.FeedforwardNetwork
- hiddenWeights() - Method in class opennlp.tools.depparse.FeedforwardNetwork
- high - Variable in class opennlp.tools.tokenize.lattice.DoubleArrayLexicon.Builder
- hint(String) - Method in class opennlp.tools.util.ext.Providers
- HIRAGANA - Enum constant in enum class opennlp.tools.tokenize.uax29.WordType
-
A Hiragana token.
- HMStringInterner - Class in opennlp.tools.util.jvm
-
A
StringInternerimplementation based onHashMapby Aleksey Shipilëv. - HMStringInterner() - Constructor for class opennlp.tools.util.jvm.HMStringInterner
- homonyms(String) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
The flag sets of a root's entries, listed or hidden capitalized.
- HTTP - Static variable in class opennlp.tools.util.normalizer.UrlCharSequenceNormalizer
- HTTP_PERMANENT_REDIRECT - Static variable in class opennlp.tools.util.ResourceInstaller
- HTTP_TEMPORARY_REDIRECT - Static variable in class opennlp.tools.util.ResourceInstaller
- HTTPS - Static variable in class opennlp.tools.util.normalizer.UrlCharSequenceNormalizer
- HUHCAP - Enum constant in enum class opennlp.tools.stemmer.hunspell.HunspellDictionary.CaseType
-
Uppercase letters after a lowercase start or among lowercase ones.
- HUHINITCAP - Enum constant in enum class opennlp.tools.stemmer.hunspell.HunspellDictionary.CaseType
-
An uppercase start and a further uppercase letter among lowercase ones.
- hungarian - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- HUNGARIAN - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- HUNGARIAN_HYPHEN_FLAGS - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
The flags Hungarian dictionaries reserve for the hyphen rule: an entry carrying one of them may open a compound written before a hyphen.
- hungarianStemmer - Class in opennlp.tools.stemmer.snowball
-
This class implements the stemming algorithm defined by a snowball script.
- hungarianStemmer() - Constructor for class opennlp.tools.stemmer.snowball.hungarianStemmer
- HunspellAffixTable - Class in opennlp.tools.stemmer.hunspell
-
Affix tables with entry counts and source locations for validation errors.
- HunspellAffixTable() - Constructor for class opennlp.tools.stemmer.hunspell.HunspellAffixTable
-
Prevents construction.
- HunspellAffixTable.Entry - Record Class in opennlp.tools.stemmer.hunspell
-
An entry including the directive name.
- HunspellCompoundRule - Class in opennlp.tools.stemmer.hunspell
-
A compound flag sequence with optional and repeated elements.
- HunspellCompoundRule(int[], char[]) - Constructor for class opennlp.tools.stemmer.hunspell.HunspellCompoundRule
-
Initializes a parsed compound pattern.
- HunspellCompoundRule.FlagReader - Interface in opennlp.tools.stemmer.hunspell
-
Interprets a flag according to the affix file's FLAG setting.
- HunspellConversion - Class in opennlp.tools.stemmer.hunspell
-
Non-recursive longest-match input and output conversions.
- HunspellConversion(List<HunspellConversion.Rule>) - Constructor for class opennlp.tools.stemmer.hunspell.HunspellConversion
-
Constructs an immutable table.
- HunspellConversion.Rule - Record Class in opennlp.tools.stemmer.hunspell
-
A conversion with optional word-boundary requirements.
- HunspellDictionary - Class in opennlp.tools.stemmer.hunspell
-
An immutable, in-memory Hunspell-format dictionary loaded from user-supplied
.affand.dicfiles. - HunspellDictionary(Map<String, List<int[]>>, HunspellDictionary.AffixFile, List<HunspellDictionary.UnsupportedDirective>) - Constructor for class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Initializes the dictionary from the two parsed files.
- HunspellDictionary.Affix - Record Class in opennlp.tools.stemmer.hunspell
-
One parsed affix rule of a
PFXorSFXblock. - HunspellDictionary.AffixFile - Class in opennlp.tools.stemmer.hunspell
-
The parsed affix file content.
- HunspellDictionary.BoundaryIndex - Class in opennlp.tools.stemmer.hunspell
-
An immutable index of affix rules keyed by the boundary code point of their affix material, answering each lookup by binary search so the per-word scans in
HunspellStemmerallocate nothing. - HunspellDictionary.CaseType - Enum Class in opennlp.tools.stemmer.hunspell
-
The capitalization classes of a word.
- HunspellDictionary.CompoundPattern - Record Class in opennlp.tools.stemmer.hunspell
-
A compound-boundary restriction and optional spelling replacement.
- HunspellDictionary.CompoundPosition - Enum Class in opennlp.tools.stemmer.hunspell
-
The place a part takes in a compound, deciding which positional flag admits it.
- HunspellDictionary.FlagMode - Enum Class in opennlp.tools.stemmer.hunspell
-
The flag encodings a dictionary may declare with the
FLAGdirective. - HunspellDictionary.LoadMode - Enum Class in opennlp.tools.stemmer.hunspell
-
Controls whether unsupported affix directives prevent dictionary loading.
- HunspellDictionary.UnsupportedDirective - Record Class in opennlp.tools.stemmer.hunspell
-
The first occurrence of an unsupported affix directive.
- HunspellDictionary.WordBreak - Record Class in opennlp.tools.stemmer.hunspell
-
One
BREAKdeclaration: a separator and the anchors that bind it to the start or end of the word. - HunspellDictionaryInstaller - Class in opennlp.tools.stemmer.hunspell
-
Opt-in installation of Hunspell
.aff/.dicpairs and their license readme from an application-suppliedDictionaryCatalog. - HunspellDictionaryInstaller() - Constructor for class opennlp.tools.stemmer.hunspell.HunspellDictionaryInstaller
-
Prevents construction of this utility class.
- HunspellStemmer - Class in opennlp.tools.stemmer.hunspell
-
A dictionary-backed
Stemmerover aHunspellDictionary: a surface form is reduced to the dictionary words it can be derived from by removing one suffix, one prefix, a cross-product combination of both, or an additional affix licensed by a continuation class. - HunspellStemmer(HunspellDictionary) - Constructor for class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Initializes the stemmer.
- HunspellStemmer.Analysis - Class in opennlp.tools.stemmer.hunspell
-
One case-variant analysis with request-local result storage.
- HunspellStemmer.CompoundPart - Record Class in opennlp.tools.stemmer.hunspell
-
One selected compound-part reading.
- HunspellStemmer.Junction - Record Class in opennlp.tools.stemmer.hunspell
-
A required boundary after a compound spelling substitution.
- HunspellStemmer.Results - Class in opennlp.tools.stemmer.hunspell
-
Accumulates stems or complete morphology readings for one request.
- HunspellStemmerFactory - Class in opennlp.tools.stemmer.hunspell
-
The shareable handle for Hunspell stemming: holds one immutable
HunspellDictionaryand hands outHunspellStemmerinstances over it. - HunspellStemmerFactory(HunspellDictionary) - Constructor for class opennlp.tools.stemmer.hunspell.HunspellStemmerFactory
-
Initializes the factory.
- HYPHEN - Static variable in class opennlp.tools.formats.ad.ADMetadata
- HYPHEN - Static variable in class opennlp.tools.formats.ad.ADNameSampleStream
- HYPHEN - Static variable in class opennlp.tools.util.normalizer.EmojiCharSequenceNormalizer
-
The hyphen removed under
CompatibilityMode.LEGACY. - HYPHEN_MINUS - Static variable in class opennlp.tools.util.normalizer.UnicodeDash
-
The canonical ASCII dash that dashes are normalized to:
U+002DHYPHEN-MINUS. - hyphenatedFirstPart - Variable in class opennlp.tools.stemmer.hunspell.HunspellStemmer.Results
-
Whether compound decomposition follows the Hungarian moving rule for the part of a word before a hyphen.
- hyphenatedFirstPart(String, boolean) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Finds the readings of the part of a Hungarian word before a hyphen, which is accepted as a listed word ending in the hyphen or as a compound under the moving rule.
- hyphenMovingRule() - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Returns whether the Hungarian moving rule applies.
I
- i - Variable in class opennlp.tools.stemmer.PorterStemmer
- i - Variable in class opennlp.tools.util.MutableInt
- I_measure - Variable in class opennlp.tools.stemmer.snowball.indonesianStemmer
- I_p1 - Variable in class opennlp.tools.stemmer.snowball.catalanStemmer
- I_p1 - Variable in class opennlp.tools.stemmer.snowball.danishStemmer
- I_p1 - Variable in class opennlp.tools.stemmer.snowball.dutchStemmer
- I_p1 - Variable in class opennlp.tools.stemmer.snowball.englishStemmer
- I_p1 - Variable in class opennlp.tools.stemmer.snowball.finnishStemmer
- I_p1 - Variable in class opennlp.tools.stemmer.snowball.frenchStemmer
- I_p1 - Variable in class opennlp.tools.stemmer.snowball.germanStemmer
- I_p1 - Variable in class opennlp.tools.stemmer.snowball.hungarianStemmer
- I_p1 - Variable in class opennlp.tools.stemmer.snowball.irishStemmer
- I_p1 - Variable in class opennlp.tools.stemmer.snowball.italianStemmer
- I_p1 - Variable in class opennlp.tools.stemmer.snowball.norwegianStemmer
- I_p1 - Variable in class opennlp.tools.stemmer.snowball.porterStemmer
- I_p1 - Variable in class opennlp.tools.stemmer.snowball.portugueseStemmer
- I_p1 - Variable in class opennlp.tools.stemmer.snowball.romanianStemmer
- I_p1 - Variable in class opennlp.tools.stemmer.snowball.spanishStemmer
- I_p1 - Variable in class opennlp.tools.stemmer.snowball.swedishStemmer
- I_p2 - Variable in class opennlp.tools.stemmer.snowball.catalanStemmer
- I_p2 - Variable in class opennlp.tools.stemmer.snowball.dutchStemmer
- I_p2 - Variable in class opennlp.tools.stemmer.snowball.englishStemmer
- I_p2 - Variable in class opennlp.tools.stemmer.snowball.finnishStemmer
- I_p2 - Variable in class opennlp.tools.stemmer.snowball.frenchStemmer
- I_p2 - Variable in class opennlp.tools.stemmer.snowball.germanStemmer
- I_p2 - Variable in class opennlp.tools.stemmer.snowball.irishStemmer
- I_p2 - Variable in class opennlp.tools.stemmer.snowball.italianStemmer
- I_p2 - Variable in class opennlp.tools.stemmer.snowball.porterStemmer
- I_p2 - Variable in class opennlp.tools.stemmer.snowball.portugueseStemmer
- I_p2 - Variable in class opennlp.tools.stemmer.snowball.romanianStemmer
- I_p2 - Variable in class opennlp.tools.stemmer.snowball.russianStemmer
- I_p2 - Variable in class opennlp.tools.stemmer.snowball.spanishStemmer
- I_prefix - Variable in class opennlp.tools.stemmer.snowball.indonesianStemmer
- I_pV - Variable in class opennlp.tools.stemmer.snowball.frenchStemmer
- I_pV - Variable in class opennlp.tools.stemmer.snowball.irishStemmer
- I_pV - Variable in class opennlp.tools.stemmer.snowball.italianStemmer
- I_pV - Variable in class opennlp.tools.stemmer.snowball.portugueseStemmer
- I_pV - Variable in class opennlp.tools.stemmer.snowball.romanianStemmer
- I_pV - Variable in class opennlp.tools.stemmer.snowball.russianStemmer
- I_pV - Variable in class opennlp.tools.stemmer.snowball.spanishStemmer
- I_x - Variable in class opennlp.tools.stemmer.snowball.danishStemmer
- I_x - Variable in class opennlp.tools.stemmer.snowball.germanStemmer
- I_x - Variable in class opennlp.tools.stemmer.snowball.norwegianStemmer
- I_x - Variable in class opennlp.tools.stemmer.snowball.swedishStemmer
- id - Variable in class opennlp.tools.document.LayerKey
- id - Variable in class opennlp.tools.formats.brat.BratAnnotation
- id - Variable in class opennlp.tools.formats.brat.BratAnnotationStream
- id - Variable in class opennlp.tools.formats.brat.BratDocument
- id - Variable in class opennlp.tools.formats.conllu.ConlluWordLine
- id - Variable in class opennlp.tools.formats.masc.MascWord
- id - Variable in class opennlp.tools.formats.nkjp.NKJPSegmentationDocument.Pointer
- id - Variable in class opennlp.tools.namefind.NameSample
- id - Variable in record class opennlp.tools.tokenize.lattice.MecabDictionary.Category
-
The field for the
idrecord component. - id - Variable in record class opennlp.tools.tokenize.SubwordPiece
-
The field for the
idrecord component. - id - Variable in class opennlp.tools.tokenize.WordpieceEncoder.TrieNode
- id - Variable in record class opennlp.tools.tokenize.WordpieceEncoder.VocabularyMatch
-
The field for the
idrecord component. - id - Variable in record class opennlp.tools.util.DictionaryCatalog.Entry
-
The field for the
idrecord component. - id() - Method in class opennlp.tools.document.LayerKey
- id() - Method in record class opennlp.tools.tokenize.lattice.MecabDictionary.Category
-
Returns the value of the
idrecord component. - id() - Method in record class opennlp.tools.tokenize.SubwordPiece
-
Returns the value of the
idrecord component. - id() - Method in record class opennlp.tools.tokenize.WordpieceEncoder.VocabularyMatch
-
Returns the value of the
idrecord component. - id() - Method in record class opennlp.tools.util.DictionaryCatalog.Entry
-
Returns the value of the
idrecord component. - ID - Static variable in class opennlp.tools.formats.conllu.ConlluDependencySampleStream
-
The column holding the word index, a multiword token range, or an empty node id.
- ID - Static variable in class opennlp.tools.util.ext.ExtensionServiceKeys
-
Property key for the unique
idwhich identifies an OpenNLP extension service. - ID_OFFSET - Static variable in class opennlp.tools.formats.brat.BratAnnotationStream.BratAnnotationParser
- identity(int) - Static method in class opennlp.tools.depparse.FeedforwardDependencyTrainer
- IDEOGRAPHIC - Enum constant in enum class opennlp.tools.tokenize.uax29.WordType
-
A token containing a Han ideograph (one ideograph per token under UAX #29 segmentation).
- ids - Variable in class opennlp.tools.tokenize.WordpieceEncoder
- ids() - Method in class opennlp.tools.util.DictionaryCatalog
-
Returns an unmodifiable set of catalog entry ids.
- IdSpans(int, int, int, int) - Constructor for record class opennlp.tools.formats.ad.ADMetadata.IdSpans
-
Creates an instance of a
IdSpansrecord class. - ignorableWhitespace(char[], int, int) - Method in class opennlp.tools.dictionary.serializer.DictionaryEntryPersistor.DictionaryContenthandler
-
Not implemented.
- IGNORE_TAG - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- ignoredCharacters - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary.AffixFile
- ignoredCharacters - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- ImmutableDocument - Class in opennlp.tools.document
-
The default
Documentimplementation: an unmodifiable map from layer key to an unmodifiable annotation list. - ImmutableDocument(String, Map<LayerKey<?>, List<Annotation<?>>>) - Constructor for class opennlp.tools.document.ImmutableDocument
- immutableFlagSets(Map<String, List<int[]>>) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Replaces every flag-set list with an immutable copy so that lookups can return the stored lists directly.
- ImmutableLanguageDetectorConfig() - Constructor for class opennlp.tools.langdetect.LanguageDetectorConfig.ImmutableLanguageDetectorConfig
- in - Variable in class opennlp.tools.formats.conllu.ConlluDependencySampleStream
- in - Variable in class opennlp.tools.tokenize.lang.en.TokenSampleStream
- in - Variable in class opennlp.tools.util.archive.TarStream
- in - Variable in class opennlp.tools.util.MarkableFileInputStream
- in - Variable in class opennlp.tools.util.PlainTextByLineStream
- in_grouping(char[], int, int) - Method in class opennlp.tools.stemmer.snowball.SnowballProgram
- in_grouping_b(char[], int, int) - Method in class opennlp.tools.stemmer.snowball.SnowballProgram
- INC - Static variable in class opennlp.tools.stemmer.PorterStemmer
- INC_NODE - Static variable in interface opennlp.tools.parser.Parser
-
The label for the top if an incomplete node.
- INCOMPLETE - Static variable in class opennlp.tools.parser.AbstractBottomUpParser
-
Outcome used when a constituent is incomplete.
- incompleteIndex - Variable in class opennlp.tools.parser.chunking.Parser
- incompleteNames - Variable in class opennlp.tools.formats.muc.MucNameContentHandler
- increment() - Method in class opennlp.tools.util.MutableInt
-
Adds
1to the curren value. - index - Variable in class opennlp.tools.formats.ad.ADChunkSampleStream
- index - Variable in class opennlp.tools.parser.Cons
- index - Variable in class opennlp.tools.util.eval.CrossValidationPartitioner.TestSampleStream
- index - Variable in class opennlp.tools.util.eval.CrossValidationPartitioner.TrainingSampleStream
- index - Variable in class opennlp.tools.util.ReverseListIterator
- index(ObjectStream<Event>) - Method in interface opennlp.tools.ml.model.DataIndexer
-
Performs the data indexing.
- index(ObjectStream<Event>) - Method in class opennlp.tools.ml.model.OnePassDataIndexer
-
Performs the data indexing.
- index(ObjectStream<Event>) - Method in class opennlp.tools.ml.model.TwoPassDataIndexer
-
Performs the data indexing.
- index(ObjectStream<Event>, Map<String, Integer>) - Method in class opennlp.tools.ml.model.AbstractDataIndexer
-
Performs the data indexing.
- Index - Class in opennlp.tools.dictionary
-
This classes indexes
string lists. - Index(Iterator<StringList>) - Constructor for class opennlp.tools.dictionary.Index
- INDEX_EXTENSION - Static variable in class opennlp.tools.util.DownloadUtil
- INDEX_SEPARATOR - Static variable in class opennlp.tools.parser.Parse
-
Separates a constituent label from its co-index, as in
NP=2. - indexer - Variable in record class opennlp.tools.ml.maxent.quasinewton.QNTrainer.ModelEvaluator
-
The field for the
indexerrecord component. - indexer() - Method in record class opennlp.tools.ml.maxent.quasinewton.QNTrainer.ModelEvaluator
-
Returns the value of the
indexerrecord component. - indexFileName(String) - Static method in class opennlp.tools.util.DownloadUtil
-
Names the local copy of the model index after the last segment of the model path, for example
ud-models-1.3.index.htmlformodels/ud-models-1.3/. - indexOf(int, int) - Method in class opennlp.tools.ml.maxent.quasinewton.NegLogLikelihood
- indexOf(Parse) - Method in class opennlp.tools.parser.Parse
- indexOf(Parse, Parse) - Method in class opennlp.tools.parser.treeinsert.ParserEventStream
- indexOf(StringList, String) - Static method in class opennlp.tools.ngram.NGramUtils
- indexOfIgnoreCase(String, String, int) - Method in class opennlp.tools.util.DownloadUtil.DownloadParser
-
Finds a literal in the text, ignoring case.
- indexOfLineTerminator(CharSequence, int) - Static method in class opennlp.tools.util.StringUtil
-
Finds the first line terminator at or after
from, as defined byStringUtil.isLineTerminator(int). - indexOfRangeSeparator(CharSequence) - Static method in class opennlp.tools.util.normalizer.HexCodePoints
-
Finds the first
HexCodePoints.RANGE_SEPARATOR. - indexUrl - Variable in class opennlp.tools.util.DownloadUtil.DownloadParser
- INDONESIAN - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- indonesianStemmer - Class in opennlp.tools.stemmer.snowball
-
This class implements the stemming algorithm defined by a snowball script.
- indonesianStemmer() - Constructor for class opennlp.tools.stemmer.snowball.indonesianStemmer
- inducedAbbreviations - Variable in class opennlp.tools.sentdetect.DefaultSDContextGenerator
- inducedAbbreviations - Variable in class opennlp.tools.tokenize.DefaultTokenContextGenerator
- init() - Method in class opennlp.tools.langdetect.LanguageDetectorFactory
- init() - Method in class opennlp.tools.parser.AbstractParserEventStream
- init() - Method in class opennlp.tools.parser.chunking.ParserEventStream
- init() - Method in class opennlp.tools.parser.treeinsert.ParserEventStream
- init(byte[], Map<String, Object>, TagDictionary) - Method in class opennlp.tools.postag.POSTaggerFactory
- init(byte[], Map<String, Object>, SequenceCodec<String>) - Method in class opennlp.tools.namefind.TokenNameFinderFactory
-
Initializes via given parameters.
- init(InputStream) - Method in class opennlp.tools.entitylinker.EntityLinkerProperties
- init(InputStream) - Method in class opennlp.tools.tokenize.DetokenizationDictionary
- init(InputStream, Charset) - Method in class opennlp.tools.lemmatizer.DictionaryLemmatizer
- init(Object, byte[], Map<String, Object>, Map<String, String>, SequenceCodec<String>) - Method in class opennlp.tools.namefind.TokenNameFinderModel
- init(String[], Context[], String[]) - Method in class opennlp.tools.ml.model.AbstractModel
- init(String, boolean, Dictionary, char[]) - Method in class opennlp.tools.sentdetect.SentenceDetectorFactory
- init(String, Dictionary, boolean, TokenizerCharacterPolicy) - Method in class opennlp.tools.tokenize.TokenizerFactory
- init(Dictionary, TagDictionary) - Method in class opennlp.tools.postag.POSTaggerFactory
-
Deprecated, for removal: This API element is subject to removal in a future version.
- init(FeatureGenerator[]) - Method in class opennlp.tools.doccat.DoccatFactory
- init(EntityLinkerProperties) - Method in interface opennlp.tools.entitylinker.EntityLinker
-
Initializes an
EntityLinkerand allows for passing properties through anEntityLinkerFactoryinto all impls dynamically. - init(AbstractModel, DataOutputStream) - Method in class opennlp.tools.ml.model.GenericModelWriter
- init(ArtifactProvider) - Method in class opennlp.tools.util.BaseToolFactory
-
Initializes the ToolFactory with an artifact provider.
- init(Parameters, Map<String, String>) - Method in class opennlp.tools.tokenize.BPETokenizerTrainer
- init(Parameters, Map<String, String>, TrainingConfiguration) - Method in class opennlp.tools.tokenize.BPETokenizerTrainer
- init(TrainingParameters, Map<String, String>) - Method in class opennlp.tools.ml.maxent.GISTrainer
- init(TrainingParameters, Map<String, String>) - Method in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
- init(Element, FeatureGeneratorResourceProvider) - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- init(P, Map<String, String>) - Method in interface opennlp.tools.commons.Trainer
- init(P, Map<String, String>) - Method in class opennlp.tools.ml.AbstractTrainer
- init(P, Map<String, String>) - Method in class opennlp.tools.ml.model.AbstractDataIndexer
-
Sets parameters used during the data indexing.
- init(P, Map<String, String>) - Method in interface opennlp.tools.ml.model.DataIndexer
-
Sets parameters used during the data indexing.
- init(P, Map<String, String>, TrainingConfiguration) - Method in interface opennlp.tools.commons.Trainer
- init(P, Map<String, String>, TrainingConfiguration) - Method in class opennlp.tools.ml.AbstractTrainer
- INITAL_CAPITAL_LETTER - Static variable in class opennlp.tools.util.featuregen.StringPattern
- initAllowedPrefixes() - Static method in class opennlp.tools.util.ext.ExtensionLoader
- INITCAP - Enum constant in enum class opennlp.tools.stemmer.hunspell.HunspellDictionary.CaseType
-
Exactly one uppercase letter, at the start.
- initFoldings() - Static method in class opennlp.tools.util.normalizer.FullCaseFoldCharSequenceNormalizer
-
Returns the folding table parsed from the bundled
CaseFolding.txtresource. - initial - Variable in record class opennlp.tools.stemmer.hunspell.HunspellConversion.Rule
-
The field for the
initialrecord component. - initial() - Method in record class opennlp.tools.stemmer.hunspell.HunspellConversion.Rule
-
Returns the value of the
initialrecord component. - INITIAL_STEP_SIZE - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
-
The initial step size:
1.0. - initialize(List<FeedforwardDependencyTrainer.Derivation>, FeedforwardDependencyTrainer.Settings) - Static method in class opennlp.tools.depparse.FeedforwardDependencyTrainer
-
Builds the vocabularies and randomly initialized weights.
- initializeFactory() - Method in class opennlp.tools.util.model.BaseModel
- initialPieces - Variable in class opennlp.tools.tokenize.WordpieceEncoder
- initialUpper(String) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Converts the initial code point to uppercase with the dictionary's case mapping.
- initLimit(String, int) - Static method in class opennlp.tools.util.ResourceLimits
-
Reads a positive integer limit from the given system property.
- initLimit(String, long) - Static method in class opennlp.tools.util.ResourceLimits
-
Reads a positive long limit from a system property.
- initOutcomeTotals(String[], Context[]) - Method in class opennlp.tools.ml.naivebayes.NaiveBayesModel
- INNER - Enum constant in enum class opennlp.tools.formats.GermEval2014NameSampleStream.NerLayer
-
The nested/embedded named entity annotations (column 4).
- innerProduct(double[], double[]) - Static method in class opennlp.tools.ml.ArrayMath
- input - Variable in class opennlp.tools.ml.model.BinaryFileDataReader
- input - Variable in class opennlp.tools.ml.model.PlainTextFileDataReader
- input - Variable in class opennlp.tools.tokenize.TokenizerStream
- INPUT_CONVERSION_TAG - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- inputConversion - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary.AffixFile
- inputConversion - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- inputDirectories - Variable in class opennlp.tools.formats.DirectorySampleStream
- inputForm(String) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Applies input conversion followed by ignored-character removal.
- inputStream - Variable in class opennlp.tools.ml.model.TwoPassDataIndexer.EventStream
- inputStreamFactory - Variable in class opennlp.tools.util.PlainTextByLineStream
- InputStreamFactory - Interface in opennlp.tools.util
-
Allows repeated reads through a stream for certain model building types.
- insert(int, int, int, int) - Method in class opennlp.tools.tokenize.lattice.DoubleArrayLexicon.Builder
-
Places one trie node and all its descendants, using an explicit work stack instead of recursion.
- insert(int, int, CharSequence) - Method in class opennlp.tools.stemmer.snowball.SnowballProgram
- insert(Entry) - Method in interface opennlp.tools.dictionary.serializer.EntryInserter
- insert(Parse) - Method in class opennlp.tools.parser.Parse
-
Inserts the specified constituent into this parse based on its text span.
- insideSentenceElement - Variable in class opennlp.tools.formats.frenchtreebank.ConstitDocumentHandler
- InSpanGenerator - Class in opennlp.tools.util.featuregen
-
Generates features if the tokens are recognized by the provided
TokenNameFinder. - InSpanGenerator(String, TokenNameFinder) - Constructor for class opennlp.tools.util.featuregen.InSpanGenerator
-
Initializes a
InSpanGeneratorinstance. - InSpanGenerator.CacheState - Class in opennlp.tools.util.featuregen
- install(String, Path) - Method in class opennlp.tools.util.DictionaryCatalog
-
Installs a catalog entry into
targetDirectoryunderResourceInstaller.Limits.DEFAULTwhenDictionaryCatalog.REMOTE_DOWNLOAD_PROPERTYistrue, as described inDictionaryCatalog.install(String, Path, boolean, ResourceInstaller.Limits). - install(String, Path, boolean, ResourceInstaller.Limits) - Method in class opennlp.tools.util.DictionaryCatalog
-
Installs a catalog entry into
targetDirectorywhen remote downloads are enabled. - install(URI, Path) - Static method in class opennlp.tools.tokenize.lattice.MecabDictionaryInstaller
-
Unpacks a local
file:archive URI. - install(URI, Path) - Static method in class opennlp.tools.util.ResourceInstaller
-
Unpacks a resource without checksum verification, under
ResourceInstaller.Limits.DEFAULT. - install(URI, Path, String) - Static method in class opennlp.tools.tokenize.lattice.MecabDictionaryInstaller
-
Downloads a dictionary archive when needed, verifies its checksum, and unpacks it through
ResourceInstaller.install(URI, Path, String). - install(URI, Path, String) - Static method in class opennlp.tools.util.ResourceInstaller
-
Fetches, verifies, and unpacks a resource under
ResourceInstaller.Limits.DEFAULT. - install(URI, Path, String, String, ResourceInstaller.Limits) - Static method in class opennlp.tools.util.ResourceInstaller
-
Validates the request, downloads and verifies the resource, and installs it from a staging directory.
- install(URI, Path, String, ResourceInstaller.Limits) - Static method in class opennlp.tools.util.ResourceInstaller
-
Fetches, verifies, and unpacks a resource under the given
ResourceInstaller.Limits. - installDictionaryFiles(Path, ResourceInstaller.StagingStep) - Static method in class opennlp.tools.tokenize.lattice.MecabDictionaryInstaller
-
Unpacks an archive through the given step and installs its dictionary payload into the target, flattened to base names.
- installed - Variable in class opennlp.tools.util.ext.Providers
- installed() - Method in class opennlp.tools.util.ext.Providers
- installFromCatalog(DictionaryCatalog, String, Path) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionaryInstaller
-
Installs the cataloged
.aff,.dic, and readme files fordictionaryIdintotargetDirectory. - installFromCatalog(DictionaryCatalog, String, Path) - Static method in class opennlp.tools.tokenize.lattice.MecabDictionaryInstaller
-
Downloads a dictionary named in an application-supplied
DictionaryCatalogand unpacks it. - installSelected(Path, ResourceInstaller.StagingStep, Function<Path, Path>) - Static method in class opennlp.tools.util.ResourceInstaller
-
Installs a selection of the files that a caller-supplied step writes into a staging directory.
- installStaged(Path, ResourceInstaller.StagingStep, Function<Path, Path>) - Static method in class opennlp.tools.util.ResourceInstaller
-
Runs a staging step in a hidden staging directory beneath the target and promotes the selected files into the target only after the step completed.
- INSTANCE - Static variable in class opennlp.tools.tokenize.SimpleTokenizer
-
Use this static reference to retrieve an instance of the
SimpleTokenizer. - INSTANCE - Static variable in class opennlp.tools.tokenize.WhitespaceTokenizer
-
Use this static reference to retrieve an instance of the
WhitespaceTokenizer. - INSTANCE - Static variable in class opennlp.tools.util.normalizer.AccentFoldCharSequenceNormalizer
- INSTANCE - Static variable in class opennlp.tools.util.normalizer.BulletCharSequenceNormalizer
- INSTANCE - Static variable in class opennlp.tools.util.normalizer.CaseFoldCharSequenceNormalizer
- INSTANCE - Static variable in class opennlp.tools.util.normalizer.ConfusableSkeletonCharSequenceNormalizer
- INSTANCE - Static variable in class opennlp.tools.util.normalizer.DashCharSequenceNormalizer
- INSTANCE - Static variable in class opennlp.tools.util.normalizer.DigitCharSequenceNormalizer
- INSTANCE - Static variable in class opennlp.tools.util.normalizer.EllipsisCharSequenceNormalizer
- INSTANCE - Static variable in class opennlp.tools.util.normalizer.EmojiCharSequenceNormalizer
- INSTANCE - Static variable in class opennlp.tools.util.normalizer.EmojiEmoticons
- INSTANCE - Static variable in class opennlp.tools.util.normalizer.EmojiToEmoticonCharSequenceNormalizer
- INSTANCE - Static variable in class opennlp.tools.util.normalizer.EmoticonToEmojiCharSequenceNormalizer
- INSTANCE - Static variable in class opennlp.tools.util.normalizer.FullCaseFoldCharSequenceNormalizer
- INSTANCE - Static variable in class opennlp.tools.util.normalizer.GermanUmlautCharSequenceNormalizer
- INSTANCE - Static variable in class opennlp.tools.util.normalizer.InvisibleCharSequenceNormalizer
- INSTANCE - Static variable in class opennlp.tools.util.normalizer.LineBreakPreservingWhitespaceCharSequenceNormalizer
- INSTANCE - Static variable in class opennlp.tools.util.normalizer.NfcCharSequenceNormalizer
- INSTANCE - Static variable in class opennlp.tools.util.normalizer.NfkcCharSequenceNormalizer
- INSTANCE - Static variable in class opennlp.tools.util.normalizer.NumberCharSequenceNormalizer
- INSTANCE - Static variable in class opennlp.tools.util.normalizer.ParagraphPreservingWhitespaceCharSequenceNormalizer
- INSTANCE - Static variable in class opennlp.tools.util.normalizer.QuoteCharSequenceNormalizer
- INSTANCE - Static variable in class opennlp.tools.util.normalizer.ShrinkCharSequenceNormalizer
- INSTANCE - Static variable in class opennlp.tools.util.normalizer.SocialMediaCharSequenceNormalizer
- INSTANCE - Static variable in class opennlp.tools.util.normalizer.UnicodeEmojiSequences
- INSTANCE - Static variable in class opennlp.tools.util.normalizer.UrlCharSequenceNormalizer
- INSTANCE - Static variable in class opennlp.tools.util.normalizer.WhitespaceCharSequenceNormalizer
- instantiateExtension(Class<T>, String) - Static method in class opennlp.tools.util.ext.ExtensionLoader
-
Instantiates a user provided extension to OpenNLP.
- instantiateSequenceCodec(String) - Static method in class opennlp.tools.namefind.TokenNameFinderFactory
-
Initializes a
SequenceCodecinstance via given parameters. - InsufficientTrainingDataException - Exception Class in opennlp.tools.util
-
This exception indicates that the provided training data is insufficient to train a desired model.
- InsufficientTrainingDataException(String) - Constructor for exception class opennlp.tools.util.InsufficientTrainingDataException
- InsufficientTrainingDataException(String, Throwable) - Constructor for exception class opennlp.tools.util.InsufficientTrainingDataException
- InsufficientTrainingDataException(Throwable) - Constructor for exception class opennlp.tools.util.InsufficientTrainingDataException
- IntegerArgumentFactory() - Constructor for class opennlp.tools.cmdline.ArgumentParser.IntegerArgumentFactory
- intern(String) - Method in class opennlp.tools.util.jvm.CHMStringDeduplicator
-
Interns and returns a reference to the representative instance for any collection of string instances that are equal to each other.
- intern(String) - Method in class opennlp.tools.util.jvm.CHMStringInterner
-
Interns and returns a reference to the representative instance for any collection of string instances that are equal to each other.
- intern(String) - Method in class opennlp.tools.util.jvm.HMStringInterner
-
Interns and returns a reference to the representative instance for any collection of string instances that are equal to each other.
- intern(String) - Method in class opennlp.tools.util.jvm.JvmStringInterner
-
Interns and returns a reference to the representative instance for any collection of string instances that are equal to each other.
- intern(String) - Method in class opennlp.tools.util.jvm.NoOpStringInterner
-
Interns and returns a reference to the representative instance for any collection of string instances that are equal to each other.
- intern(String) - Method in interface opennlp.tools.util.jvm.StringInterner
-
Interns and returns a reference to the representative instance for any collection of string instances that are equal to each other.
- intern(String) - Static method in class opennlp.tools.util.jvm.StringInterners
-
Interns and returns a reference to the representative instance for any collection of string instances that are equal to each other.
- Internal - Annotation Interface in opennlp.tools.commons
-
Classes, fields, or methods annotated
@Internalare for OpenNLP internal use only. - INTERNER - Static variable in class opennlp.tools.util.jvm.StringInterners
- intersects(Span) - Method in class opennlp.tools.util.Span
-
Checks if the specified
Spanintersects with this span. - IntList() - Constructor for class opennlp.tools.tokenize.uax29.WordSegmenter.IntList
- INVALID_ARG - Static variable in interface opennlp.tools.cmdline.ArgumentParser.ArgumentFactory
- INVALID_MULTIWORD_ID - Static variable in class opennlp.tools.formats.conllu.ConlluStream
- INVALID_NAME - Static variable in class opennlp.tools.util.ext.Providers
- INVALID_PATTERN - Static variable in class opennlp.tools.stemmer.hunspell.HunspellCompoundRule
- INVALID_VALUE - Static variable in class opennlp.tools.ml.model.SimpleEventStreamBuilder
- InvalidFormatException - Exception Class in opennlp.tools.util
-
This exception indicates that a resource violates the expected data format.
- InvalidFormatException(String) - Constructor for exception class opennlp.tools.util.InvalidFormatException
- InvalidFormatException(String, Throwable) - Constructor for exception class opennlp.tools.util.InvalidFormatException
- InvalidFormatException(Throwable) - Constructor for exception class opennlp.tools.util.InvalidFormatException
- invalidId(String, String, Throwable) - Static method in class opennlp.tools.formats.masc.MascIdentifiers
-
Describes an identifier that is not
prefixfollowed by ASCII digits. - INVISIBLE - Static variable in class opennlp.tools.util.normalizer.InvisibleCharSequenceNormalizer
- InvisibleCharSequenceNormalizer - Class in opennlp.tools.util.normalizer
-
A
CharSequenceNormalizerthat removes invisible format and bidirectional control characters that add no textual content and are a common source of noise and spoofing (the byte-order mark, zero width space, word joiner, bidi marks/embeddings/overrides/isolates, the invisible math operators, soft hyphen, and the Arabic letter mark). - InvisibleCharSequenceNormalizer() - Constructor for class opennlp.tools.util.normalizer.InvisibleCharSequenceNormalizer
- invL2norm(double[]) - Static method in class opennlp.tools.ml.ArrayMath
-
Computes the Inverse L2-norm for a vector
v. - invoke - Variable in record class opennlp.tools.tokenize.lattice.MecabDictionary.Category
-
The field for the
invokerecord component. - invoke() - Method in record class opennlp.tools.tokenize.lattice.MecabDictionary.Category
-
Returns the value of the
invokerecord component. - invoke(Object, Method, Object[]) - Method in record class opennlp.tools.cmdline.ArgumentParser.ArgumentProxy
- IRISH - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- IrishSentenceBankDocument - Class in opennlp.tools.formats.irishsentencebank
-
A structure to hold an Irish Sentence Bank document, which is a collection of tokenized sentences.
- IrishSentenceBankDocument() - Constructor for class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument
-
Initializes an empty
IrishSentenceBankDocument. - IrishSentenceBankDocument.IrishSentenceBankFlex - Class in opennlp.tools.formats.irishsentencebank
- IrishSentenceBankDocument.IrishSentenceBankSentence - Class in opennlp.tools.formats.irishsentencebank
- IrishSentenceBankFlex(String, String[]) - Constructor for class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankFlex
- IrishSentenceBankSentence(String, String, String, Span[], IrishSentenceBankDocument.IrishSentenceBankFlex[]) - Constructor for class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankSentence
- IrishSentenceBankSentenceStream - Class in opennlp.tools.formats.irishsentencebank
- IrishSentenceBankSentenceStream(IrishSentenceBankDocument) - Constructor for class opennlp.tools.formats.irishsentencebank.IrishSentenceBankSentenceStream
- IrishSentenceBankSentenceStreamFactory - Class in opennlp.tools.formats.irishsentencebank
-
Note: Do not use this class, internal use only!
- IrishSentenceBankSentenceStreamFactory(Class<IrishSentenceBankSentenceStreamFactory.Parameters>) - Constructor for class opennlp.tools.formats.irishsentencebank.IrishSentenceBankSentenceStreamFactory
- IrishSentenceBankSentenceStreamFactory.Parameters - Interface in opennlp.tools.formats.irishsentencebank
- IrishSentenceBankTokenSampleStream - Class in opennlp.tools.formats.irishsentencebank
-
Note: Do not use this class, internal use only!
- IrishSentenceBankTokenSampleStream(IrishSentenceBankDocument) - Constructor for class opennlp.tools.formats.irishsentencebank.IrishSentenceBankTokenSampleStream
- IrishSentenceBankTokenSampleStreamFactory - Class in opennlp.tools.formats.irishsentencebank
-
Note: Do not use this class, internal use only!
- IrishSentenceBankTokenSampleStreamFactory(Class<IrishSentenceBankTokenSampleStreamFactory.Parameters>) - Constructor for class opennlp.tools.formats.irishsentencebank.IrishSentenceBankTokenSampleStreamFactory
- IrishSentenceBankTokenSampleStreamFactory.Parameters - Interface in opennlp.tools.formats.irishsentencebank
- irishStemmer - Class in opennlp.tools.stemmer.snowball
-
This class implements the stemming algorithm defined by a snowball script.
- irishStemmer() - Constructor for class opennlp.tools.stemmer.snowball.irishStemmer
- is(int) - Static method in class opennlp.tools.tokenize.uax29.ExtendedPictographic
-
Returns whether a code point has the
Extended_Pictographicproperty. - is(BitSet, int) - Static method in class opennlp.tools.tokenize.uax29.ExtendedPictographic
-
Like
ExtendedPictographic.is(int)but against an already-resolved set, so a caller that checks many code points in one pass (WordSegmenter,WordType) pays the volatile read behindExtendedPictographic.members()once for the whole pass rather than once per code point. - isAcceptableAbbreviation(CharSequence) - Method in class opennlp.tools.tokenize.TokenizerME
-
Allows checking a token abbreviation candidate for acceptability.
- isAcceptableBreak(CharSequence, int, int) - Method in class opennlp.tools.sentdetect.SentenceDetectorME
-
Allows subclasses to check an overzealous (read: poorly trained) model from flagging obvious non-breaks as breaks based on some boolean determination of a break's acceptability.
- isAddress(CharSequence) - Static method in class opennlp.tools.util.normalizer.MailAddressScan
-
Checks whether a whole text is one email address.
- isAffixHeader(byte[], List<int[]>) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Distinguishes an affix block header, which carries a cross-product marker and a rule count, from a rule line.
- isAhLetter(WordBreak) - Static method in class opennlp.tools.tokenize.uax29.WordSegmenter
- isAllCapitalLetter() - Method in class opennlp.tools.util.featuregen.StringPattern
- isAllDigit() - Method in class opennlp.tools.util.featuregen.StringPattern
- isAllHiragana() - Method in class opennlp.tools.util.featuregen.StringPattern
- isAllKatakana() - Method in class opennlp.tools.util.featuregen.StringPattern
- isAllLetter() - Method in class opennlp.tools.util.featuregen.StringPattern
- isAllLowerCaseLetter() - Method in class opennlp.tools.util.featuregen.StringPattern
- isAllowed(Set<String>, String) - Method in class opennlp.tools.util.ext.Providers
- isAlphaNumeric(String) - Method in class opennlp.tools.formats.ad.ADNameSampleStream
-
Tests whether a token consists of letters and decimal digits only, by code point.
- isAnnotatableToken(CharSequence) - Static method in class opennlp.tools.util.normalizer.EmojiAnnotator
-
Returns whether
tokencould carry an emoji annotation and is worth looking up. - isAnyOf(char, char[]) - Static method in class opennlp.tools.util.StringUtil
- isApostrophe(char) - Static method in class opennlp.tools.sentdetect.SentenceDetectorME
- isAsciiDigit(int) - Static method in class opennlp.tools.util.StringUtil
-
Tests for an ASCII digit,
0to9. - isAsciiFieldSpace(byte) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Tests an affix field separator.
- isAsciiLetter(int) - Static method in class opennlp.tools.util.StringUtil
-
Tests for an ASCII letter,
atozorAtoZ. - isAsciiLowerCase(int) - Static method in class opennlp.tools.util.StringUtil
-
Tests for an ASCII lowercase letter,
atoz. - isAsciiUpperCase(int) - Static method in class opennlp.tools.util.StringUtil
-
Tests for an ASCII capital letter,
AtoZ. - isAsciiWhitespace(int) - Static method in class opennlp.tools.util.StringUtil
-
Tests for an ASCII whitespace character: space, tab, line feed, vertical tab, form feed or carriage return.
- isAsciiWord(int) - Method in class opennlp.tools.util.normalizer.SocialMediaCharSequenceNormalizer
-
Returns whether
codePointis an ASCII letter, digit, or underscore. - isAvailable() - Method in interface opennlp.tools.util.ext.Provider
-
Checks whether this provider can be used in the running process, for example whether an optional dependency is on the class path.
- isAvailable(Providers.Registration<P>) - Method in class opennlp.tools.util.ext.Providers
- isBlank(CharSequence) - Static method in class opennlp.tools.util.StringUtil
-
Determines whether a
CharSequenceis blank: empty, or made up entirely of code points thatStringUtil.isWhitespace(int)accepts. - isBox - Variable in class opennlp.tools.formats.ad.ADSentenceStream
- isBuilt(Parse) - Method in class opennlp.tools.parser.treeinsert.Parser
- isCandidateStart(int) - Method in class opennlp.tools.util.normalizer.UnicodeEmojiSequences
-
Returns whether a code point can start a candidate.
- isCapPeriod(String) - Static method in class opennlp.tools.util.featuregen.FeatureGeneratorUtil
-
Tests for one uppercase code point followed by a period, and nothing else.
- isCased(int) - Static method in class opennlp.tools.depparse.FeedforwardNetwork
- isCased(int) - Method in class opennlp.tools.tokenize.WordpieceEncoder
-
Tests whether a code point participates in Unicode casing.
- isCaseIgnorable(int) - Static method in class opennlp.tools.depparse.FeedforwardNetwork
- isCaseIgnorable(int) - Method in class opennlp.tools.tokenize.WordpieceEncoder
-
Tests the general categories and Unicode 15.0 word-break values used by the
Case_Ignorableproperty. - isCaseSensitive - Variable in class opennlp.tools.dictionary.Dictionary
- isCaseSensitive() - Method in class opennlp.tools.dictionary.Dictionary
- isCaseSensitive() - Method in class opennlp.tools.postag.POSDictionary
- isCaseSensitive() - Method in interface opennlp.tools.postag.TagDictionary
-
Whether the dictionary is case-sensitive or not.
- isCaseSensitive() - Method in class opennlp.tools.stopword.DictionaryStopwordFilter
- isCaseSensitive() - Method in interface opennlp.tools.stopword.StopwordFilter
- isCaseSensitive() - Method in class opennlp.tools.util.StringList
- isChunk - Variable in class opennlp.tools.parser.Parse
-
Specifies whether this constituent was built during the chunking phase.
- isChunk() - Method in class opennlp.tools.parser.Parse
- isChunk(boolean) - Method in class opennlp.tools.parser.Parse
- isCjk(int) - Static method in class opennlp.tools.tokenize.BertNormalization
-
A CJK ideograph as defined by the reference BERT implementation: the CJK Unified Ideographs blocks and their extensions.
- isClearAdaptiveData - Variable in class opennlp.tools.formats.muc.MucNameContentHandler
- isClearAdaptiveData - Variable in class opennlp.tools.namefind.NameSample
- isClearAdaptiveData - Variable in class opennlp.tools.sentiment.SentimentSample
- isClearAdaptiveDataSet() - Method in class opennlp.tools.namefind.NameSample
- isClearAdaptiveDataSet() - Method in class opennlp.tools.sentiment.SentimentSample
- isClosingTag(String, String) - Method in class opennlp.tools.formats.ad.ADSentenceStream
-
Tests whether a line is exactly the closing markup tag with the given name.
- isComplete(Parse) - Method in class opennlp.tools.parser.treeinsert.Parser
- isControl(int) - Static method in class opennlp.tools.tokenize.BertNormalization
-
A control character in the BERT sense: any
C*category (control, format, surrogate, private use, unassigned), except the characters treated as whitespace byBertNormalization.isWhitespace(int). - isConverged(LineSearch.LineSearchResult) - Method in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
- isCount(String) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Checks whether a line consists purely of decimal digits, which identifies the optional entry-count header of a word list.
- isDash(int) - Static method in class opennlp.tools.util.normalizer.UnicodeDash
-
Tests whether a code point carries the Unicode
Dashproperty. - isDictionaryFile(String) - Static method in class opennlp.tools.tokenize.lattice.MecabDictionaryInstaller
-
Recognizes the file names a
MecabDictionaryloads. - isEmoticonEyes(char) - Method in class opennlp.tools.util.normalizer.SocialMediaCharSequenceNormalizer
-
Returns whether
cis an emoticon's eyes::,;, orx. - isEmoticonMouth(char) - Method in class opennlp.tools.util.normalizer.SocialMediaCharSequenceNormalizer
-
Returns whether
cis an emoticon's mouth: one of( ) d o p, either case. - isEmpty() - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer.Results
-
Returns whether a reading has not been found.
- isEmpty() - Method in class opennlp.tools.util.normalizer.CodePointSet
-
Returns whether this set is empty.
- isEmpty(CharSequence) - Static method in class opennlp.tools.util.StringUtil
-
Determines whether a
CharSequenceis empty. - isEmptyArchive(InputStream) - Static method in class opennlp.tools.util.archive.TarStream
-
Checks whether the given stream is positioned at an archive without entries, leaving its position unchanged.
- isEndBlock() - Method in class opennlp.tools.util.archive.TarStream
- isFieldSeparator(char) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Checks one character against the word-list format's field separators, space and tabulator.
- isFile() - Method in class opennlp.tools.util.archive.TarStream
-
Returns
trueif the current entry is a regular file. - isFinalSigma(int[], int) - Static method in class opennlp.tools.depparse.FeedforwardNetwork
-
The Final_Sigma condition of the Unicode SpecialCasing data: the code point is preceded by a cased letter and then zero or more case-ignorable code points, and is not followed by zero or more case-ignorable code points and then a cased letter.
- isFinalSigma(MappedText, int, int, int) - Method in class opennlp.tools.tokenize.WordpieceEncoder
-
Tests whether the capital sigma at
indexis word-final. - isFirstUpper(String) - Static method in class opennlp.tools.sentdetect.DefaultSDContextGenerator
- isFlag(CharSequence) - Static method in class opennlp.tools.util.normalizer.EmojiFlags
-
Returns whether
symbolis exactly one well-formed flag emoji. - isFlag(String) - Static method in class opennlp.tools.tokenize.lattice.MecabDictionary
-
Reports whether a
char.defcategory flag field is exactly0or1. - isFlat() - Method in class opennlp.tools.parser.Parse
-
Indicates whether this parse node contains no sub-constituents.
- isg - Variable in class opennlp.tools.util.featuregen.DictionaryFeatureGenerator
- isGenerateFirstWordFeature - Variable in class opennlp.tools.util.featuregen.SentenceFeatureGenerator
- isGenerateLastWordFeature - Variable in class opennlp.tools.util.featuregen.SentenceFeatureGenerator
- isHeader(byte[]) - Static method in class opennlp.tools.util.archive.TarStream
-
Checks whether a full 512-byte block reads as a tar entry header, which it does when it starts with a name and its stored checksum matches the block.
- isHexDigest(String, int) - Static method in class opennlp.tools.util.Checksums
-
Checks that a string is a hex digest of the given length, in either letter case.
- isHttp(String) - Static method in class opennlp.tools.util.ResourceInstaller
-
Classifies a scheme as one the http fetch path handles.
- isHttpScheme(CharSequence, int, int) - Method in class opennlp.tools.util.normalizer.UrlCharSequenceNormalizer
-
Tests whether the scheme between two indexes is
httporhttpsin any letter case. - isIdentityRule(HunspellDictionary.Affix) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Checks whether an affix rule adds and strips no material.
- isIgnorable(int) - Static method in class opennlp.tools.tokenize.uax29.WordSegmenter
- isIgnorable(WordBreak) - Static method in class opennlp.tools.tokenize.uax29.WordSegmenter
- isIgnoredAffixDirective(String) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Identifies metadata, suggestion and command-line settings unused by stemming.
- isIncludeFeatures - Variable in class opennlp.tools.formats.ad.ADPOSSampleStream
- isIncludePunctuations() - Method in class opennlp.tools.formats.ad.ADChunkSampleStream
- isIncludeTitles - Variable in class opennlp.tools.formats.ad.ADSentenceSampleStream
- isInitialCapitalLetter() - Method in class opennlp.tools.util.featuregen.StringPattern
- isInsideContentElement - Variable in class opennlp.tools.formats.muc.MucNameContentHandler
- isIntermediate(List<String>, List<String>, String) - Method in class opennlp.tools.formats.ad.ADChunkSampleStream
- isKnown(String) - Method in class opennlp.tools.stemmer.StemmerAnnotatorProvider
- isLarger(Probability<T>) - Method in class opennlp.tools.ml.naivebayes.LogProbability
- isLarger(Probability<T>) - Method in class opennlp.tools.ml.naivebayes.Probability
-
Checks if a probability is greater than the old one.
- isLaughConsonant(char) - Method in class opennlp.tools.util.normalizer.SocialMediaCharSequenceNormalizer
-
Returns whether
cis a laughter consonant:horj, either case. - isLaughVowel(char) - Method in class opennlp.tools.util.normalizer.SocialMediaCharSequenceNormalizer
-
Returns whether
cis a laughter vowel:a e i o u, either case. - isLeaf() - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
- isLeaf() - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.TreeElement
- isLegacyCapPeriod(String) - Static method in class opennlp.tools.util.featuregen.FeatureGeneratorUtil
-
The pre-3.0.0 shape, kept for
CompatibilityMode.LEGACY: an ASCII capital or one ofÄ,Ö,Ü, then a period, then the end of the token or one line terminator, which the$of the pattern^[A-ZÄÖÜ]\\.$accepted. - isLegacyMember(int) - Method in class opennlp.tools.util.normalizer.EmojiCharSequenceNormalizer
-
Returns whether
codePointis removed underCompatibilityMode.LEGACY. - isLegacyWhitespace(int) - Static method in class opennlp.tools.util.StringUtil
-
The OpenNLP 1.x/2.x definition:
Character.isWhitespace(int)or the UnicodeZscategory. - isLemmaStart(String, int) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
-
Tests for the start of a quoted lemma: an opening parenthesis and a quote.
- isLineBreak() - Method in record class opennlp.tools.util.normalizer.UnicodeWhitespace.WhitespaceCharacter
-
Returns whether this code point forces a line or paragraph break.
- isLineEmpty(String) - Static method in class opennlp.tools.sentdetect.EmptyLinePreprocessorStream
- isLineOrParagraphSeparator(int) - Static method in class opennlp.tools.tokenize.BertNormalization
-
Tests whether a code point is a Unicode line or paragraph separator.
- isLineSeparator(char) - Method in class opennlp.tools.tokenize.SimpleTokenizer
- isLineSeparator(char) - Method in class opennlp.tools.tokenize.WhitespaceTokenizer
- isLineTerminator(int) - Static method in class opennlp.tools.util.StringUtil
-
Tests for a line terminator: line feed
U+000A, carriage returnU+000D, next lineU+0085, line separatorU+2028, or paragraph separatorU+2029. - isLoadedFromSerialized - Variable in class opennlp.tools.util.model.BaseModel
- isLoadedFromSerialized() - Method in interface opennlp.tools.util.model.ArtifactProvider
-
Indicates if this provider was loaded from a serialized form.
- isLoadedFromSerialized() - Method in class opennlp.tools.util.model.BaseModel
- isLookalike(int) - Static method in class opennlp.tools.util.normalizer.UnicodeWhitespace
-
Tests whether a code point is one of the related, non-whitespace look-alike format characters.
- isMathematical() - Method in record class opennlp.tools.util.normalizer.UnicodeDash.DashCharacter
-
Returns whether this is a mathematical minus sign (category
Sm). - isMergeToLeft(Detokenizer.DetokenizationOperation) - Method in class opennlp.tools.tokenize.TokenSample
- isMergeToRight(Detokenizer.DetokenizationOperation) - Method in class opennlp.tools.tokenize.TokenSample
- isMidLetter(WordBreak) - Static method in class opennlp.tools.tokenize.uax29.WordSegmenter
- isMidNumber(WordBreak) - Static method in class opennlp.tools.tokenize.uax29.WordSegmenter
- isModelCompatible(MaxentModel) - Static method in class opennlp.tools.tokenize.TokenizerModel
-
Checks if the
TokenizerModelhas the right outcomes. - isModelValid(MaxentModel) - Method in class opennlp.tools.namefind.TokenNameFinderModel
- isNewDocument() - Method in class opennlp.tools.formats.conllu.ConlluSentence
- isNewParagraph() - Method in class opennlp.tools.formats.conllu.ConlluSentence
- isNodeTail(String, int) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
-
Tests the rest of a node line after the tag: an optional part in parentheses, then the tag groups.
- isNonBreaking() - Method in record class opennlp.tools.util.normalizer.UnicodeWhitespace.WhitespaceCharacter
-
Returns whether this is a non-breaking space.
- isNoncompoundForm(String) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Checks a direct or affixed form without compound recursion.
- isNormalised - Variable in class opennlp.tools.ml.naivebayes.Probabilities
- ISO_639_1_LENGTH - Static variable in class opennlp.tools.util.LanguageCodeValidator
- ISO_639_3_TO_ISO_639_1 - Static variable in class opennlp.tools.util.LanguageCodeValidator
-
Maps three-letter ISO 639-2/3 codes, terminologic and bibliographic, to their ISO 639-1 two-letter equivalent.
- ISO_REGION - Static variable in record class opennlp.tools.util.normalizer.EmojiAnnotation
-
The attribute key of the ISO 3166 region code of a flag emoji.
- isOctalDigit(byte) - Static method in class opennlp.tools.util.archive.TarStream
- isolatePunctuation(String) - Static method in class opennlp.tools.tokenize.BertNormalization
-
Surrounds every punctuation character with spaces, so each punctuation character becomes its own token.
- isolatePunctuation(MappedText) - Static method in class opennlp.tools.tokenize.BertNormalization
-
Surrounds every punctuation character with spaces that map to an empty range at the character's start and end, so each punctuation character becomes its own token.
- isOpeningTag(String, String) - Method in class opennlp.tools.formats.ad.ADSentenceStream
-
Checks whether a line is an opening markup tag with the given name: the name right after the opening angle bracket, then either the closing angle bracket or whitespace and attributes, which contain no closing angle bracket, then the closing angle bracket as the last character.
- isoRegion() - Method in record class opennlp.tools.util.normalizer.EmojiAnnotation
-
Returns the ISO 3166 code of a flag emoji (
DE,GB-ENG), or empty when this record is not a flag. - isoRegion(CharSequence) - Static method in class opennlp.tools.util.normalizer.EmojiFlags
-
Decodes one flag emoji to its ISO 3166 code: a regional indicator pair to the ISO 3166-1 alpha-2 code (
DE) and a subdivision tag sequence to the ISO 3166-2 code (GB-ENG). - isoRegionOrNull(CharSequence) - Static method in class opennlp.tools.util.normalizer.EmojiFlags
-
Leniently decodes one flag emoji, the total decode for bulk per-token callers: it returns the ISO 3166 code, or
nullwhensymbolis not a well-formed flag (whether not flag-shaped at all or flag-shaped but malformed), never throwing on degenerate real-world text. - isParsedAffixDirective(String) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Tests whether a directive is supported by the parser.
- isPerfectSquare(int) - Static method in class opennlp.tools.ml.perceptron.PerceptronTrainer
- isPoisoned - Variable in class opennlp.tools.util.eval.CrossValidationPartitioner.TestSampleStream
- isPoisoned - Variable in class opennlp.tools.util.eval.CrossValidationPartitioner.TrainingSampleStream
- isPositiveInteger(String) - Static method in class opennlp.tools.depparse.FeedforwardDependencyModel
-
Tells whether a manifest value is a positive decimal integer.
- isPosTag() - Method in class opennlp.tools.parser.Parse
-
Indicates whether this parse node is a pos-tag.
- isProjective(DependencyTree) - Static method in class opennlp.tools.depparse.ArcStandardOracle
-
Tests whether a gold tree is projective: no pair of arcs crosses when the arcs are placed above the token sequence.
- isPunctuation(int) - Static method in class opennlp.tools.tokenize.BertNormalization
-
A punctuation character in the BERT sense: any non-alphanumeric ASCII character that is not whitespace, or any Unicode punctuation category.
- isQuote(char) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
-
Tests for a double or single quote.
- isRedirect(int) - Static method in class opennlp.tools.util.ResourceInstaller
-
Classifies a response status as a redirect the installer follows.
- isRegionalIndicator(int) - Static method in class opennlp.tools.util.normalizer.EmojiFlags
-
Returns whether
codePointis one of the 26 regional indicator symbols. - isReservedSymbol(String) - Static method in class opennlp.tools.depparse.FeedforwardNetwork
- isRetweetUnit(CharSequence, int) - Method in class opennlp.tools.util.normalizer.SocialMediaCharSequenceNormalizer
-
Returns whether the three chars starting at
atform one retweet unit:rorR,torT, then a space or colon. - isSamePara - Variable in class opennlp.tools.formats.ad.ADSentenceSampleStream
- isSameText - Variable in class opennlp.tools.formats.ad.ADSentenceSampleStream
- isSingleFlagDirective(String) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Tests for a directive with one flag argument.
- isSnapshot() - Method in class opennlp.tools.util.Version
- isSortAndMerge() - Method in class opennlp.tools.ml.AbstractEventTrainer
- isSortAndMerge() - Method in class opennlp.tools.ml.maxent.GISTrainer
- isSortAndMerge() - Method in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
- isSortAndMerge() - Method in class opennlp.tools.ml.naivebayes.NaiveBayesTrainer
- isSortAndMerge() - Method in class opennlp.tools.ml.perceptron.PerceptronTrainer
- isSpanAnnotation(BratAnnotation) - Method in class opennlp.tools.formats.brat.BratDocumentParser
- isStartTag(String) - Static method in class opennlp.tools.namefind.NameSample
-
Checks whether a token is a start tag, either
<START>or<START:type>, where the possibly empty type contains neither':','>'nor ASCII whitespace. - isStopword(CharSequence) - Method in class opennlp.tools.stopword.DictionaryStopwordFilter
-
Checks whether the given token is a single-token stopword.
- isStopword(CharSequence) - Method in interface opennlp.tools.stopword.StopwordFilter
-
Checks whether the given token is a single-token stopword.
- isStopword(String...) - Method in class opennlp.tools.stopword.DictionaryStopwordFilter
-
Checks whether the given sequence of tokens is a multi-token stopword (n-gram).
- isStopword(String...) - Method in interface opennlp.tools.stopword.StopwordFilter
-
Checks whether the given sequence of tokens is a multi-token stopword (n-gram).
- isStructuralComponent(int) - Method in class opennlp.tools.util.normalizer.UnicodeEmojiSequences
-
Returns whether a code point is a joiner, modifier, selector, flag letter or tag that occurs inside sequences.
- isSupplementary() - Method in record class opennlp.tools.util.normalizer.UnicodeDash.DashCharacter
-
Returns whether this code point is outside the Basic Multilingual Plane.
- isTagBlock(int) - Static method in class opennlp.tools.util.normalizer.EmojiFlags
- isTagCharacter(int) - Static method in class opennlp.tools.util.normalizer.EmojiFlags
- isTagGroupRun(String, int) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
-
Tests for tag groups up to the end of the line: after optional whitespace either no more text, or an opening parenthesis and angle bracket, one or more characters, a closing angle bracket and parenthesis, and optional whitespace.
- isTagLetter(char) - Static method in class opennlp.tools.util.normalizer.EmojiFlags
- isTerminal() - Method in class opennlp.tools.depparse.ArcStandardState
- isTied(List<Providers.Registration<P>>) - Method in class opennlp.tools.util.ext.Providers
- isTitle - Variable in class opennlp.tools.formats.ad.ADSentenceSampleStream
- isTitle - Variable in class opennlp.tools.formats.ad.ADSentenceStream
- isTrainingFinished - Variable in class opennlp.tools.monitoring.DefaultTrainingProgressMonitor
-
Keeps a track of whether training was already finished.
- isTrainingFinished() - Method in class opennlp.tools.monitoring.DefaultTrainingProgressMonitor
-
Checks whether the training has finished.
- isTrainingFinished() - Method in interface opennlp.tools.monitoring.TrainingProgressMonitor
-
Checks whether the training has finished.
- isTrusted(Class<?>) - Method in class opennlp.tools.util.ext.Providers
- isTypeEnabled(String) - Method in class opennlp.tools.formats.GermEval2014NameSampleStream
- isUnicodeBlank(CharSequence) - Static method in class opennlp.tools.util.StringUtil
-
truewheninputisnull, empty, or consists only of UnicodeWhite_Spacecode points. - isUnicodeWhitespace(char) - Static method in class opennlp.tools.util.StringUtil
-
Determines if the specified
Characteris a whitespace under the UnicodeWhite_Spaceproperty; delegates toUnicodeWhitespace.isWhitespace(int). - isUnicodeWhitespace(int) - Static method in class opennlp.tools.util.StringUtil
-
Determines if the specified code point is a whitespace under the Unicode
White_Spaceproperty; delegates toUnicodeWhitespace.isWhitespace(int). - isUnpairedSurrogate(int) - Static method in class opennlp.tools.util.StringUtil
-
Checks whether a code point taken from a
CharSequenceis a lone surrogate,U+D800toU+DFFF, rather than a character. - isUseAlphaNumericOptimization() - Method in class opennlp.tools.tokenize.TokenizerFactory
- isUseTokenEnd() - Method in class opennlp.tools.sentdetect.SentenceDetectorFactory
- isValid(String) - Static method in class opennlp.tools.util.LanguageCodeValidator
-
Checks whether the given language code is a valid ISO 639 code.
- isValid(Parameters) - Static method in class opennlp.tools.ml.TrainerFactory
- isValidName(String) - Method in class opennlp.tools.util.ext.Providers
-
Accepts ASCII names only.
- isWhitespace(char) - Static method in class opennlp.tools.util.StringUtil
-
Determines if the specified
Characteris a whitespace under the activeWhitespaceMode: the UnicodeWhite_Spaceproperty by default, or, when the "opennlp.whitespace.mode" system property selectsWhitespaceMode.LEGACY, the union ofCharacter.isWhitespace(int)and the UnicodeZscategory (Character.SPACE_SEPARATOR) that OpenNLP 1.x and 2.x used. - isWhitespace(int) - Static method in class opennlp.tools.tokenize.BertNormalization
-
A whitespace character in the BERT sense: space, tab, newline, carriage return, or Unicode space separators (
Zs). - isWhitespace(int) - Static method in class opennlp.tools.util.normalizer.UnicodeWhitespace
-
Tests whether a code point carries the Unicode
White_Spaceproperty. - isWhitespace(int) - Static method in class opennlp.tools.util.StringUtil
-
Determines if the specified code point is a whitespace under the active
WhitespaceMode; seeStringUtil.isWhitespace(char)for details. - isWindows() - Method in class opennlp.tools.models.AbstractClassPathModelFinder
- isWordChars(String, int) - Static method in class opennlp.tools.namefind.BioCodec
-
Tests whether the rest of an outcome is a non-empty run of ASCII letters, digits, or underscores.
- isWordWithMarkup(String) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
-
Tests whether a lexeme starts with a letter, a digit, or an underscore and has a period or an angle bracket after it.
- isWorkFile(Path) - Static method in class opennlp.tools.util.ResourceInstaller
-
Classifies a target directory entry as a work file of this class.
- IT - Enum constant in enum class opennlp.tools.formats.EvalitaNameSampleStream.LANGUAGE
- ITALIAN - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- ITALIAN - Static variable in class opennlp.tools.tokenize.lang.Factory
- italianStemmer - Class in opennlp.tools.stemmer.snowball
-
This class implements the stemming algorithm defined by a snowball script.
- italianStemmer() - Constructor for class opennlp.tools.stemmer.snowball.italianStemmer
- itemID - Variable in class opennlp.tools.entitylinker.BaseLink
- itemName - Variable in class opennlp.tools.entitylinker.BaseLink
- itemParentID - Variable in class opennlp.tools.entitylinker.BaseLink
- itemType - Variable in class opennlp.tools.entitylinker.BaseLink
- ITER - Static variable in class opennlp.tools.ml.perceptron.SimplePerceptronSequenceTrainer
- iterations - Variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
- iterations - Variable in class opennlp.tools.ml.perceptron.SimplePerceptronSequenceTrainer
- ITERATIONS_DEFAULT_VALUE - Static variable in interface opennlp.tools.util.Parameters
-
The default number of iterations is 100.
- ITERATIONS_PARAM - Static variable in interface opennlp.tools.util.Parameters
- iterator - Variable in class opennlp.tools.util.CollectionObjectStream
- iterator() - Method in class opennlp.tools.dictionary.Dictionary
- iterator() - Method in class opennlp.tools.dictionary.serializer.Attributes
-
Iterates over the keys.
- iterator() - Method in class opennlp.tools.ngram.NGramCharModel
- iterator() - Method in class opennlp.tools.ngram.NGramModel
-
Retrieves an
Iteratorover allStringListentries. - iterator() - Method in class opennlp.tools.postag.POSDictionary
-
Retrieves an
Iteratorover all words in the dictionary. - iterator() - Method in class opennlp.tools.util.StringList
- IterDeltaAccuracyUnderTolerance - Class in opennlp.tools.monitoring
-
A
StopCriteriaimplementation to identify whether the absolute difference between the training accuracy of current and previous iteration is under the defined tolerance. - IterDeltaAccuracyUnderTolerance(Parameters) - Constructor for class opennlp.tools.monitoring.IterDeltaAccuracyUnderTolerance
J
- j - Variable in class opennlp.tools.stemmer.PorterStemmer
- JAR - Static variable in class opennlp.tools.models.AbstractClassPathModelFinder
- jarModelPrefix - Variable in class opennlp.tools.models.AbstractClassPathModelFinder
- jarPathsMatch(URI, URI) - Method in class opennlp.tools.models.AbstractClassPathModelFinder
- join - Variable in class opennlp.tools.util.normalizer.EmojiAnnotator
- join(String, String) - Method in interface opennlp.tools.util.normalizer.EmojiAnnotationJoin
-
Resolves joined attribute values for one symbol.
- jpnEosCharacters - Static variable in class opennlp.tools.sentdetect.lang.Factory
- Junction(int, HunspellDictionary.CompoundPattern) - Constructor for record class opennlp.tools.stemmer.hunspell.HunspellStemmer.Junction
-
Creates an instance of a
Junctionrecord class. - JvmStringInterner - Class in opennlp.tools.util.jvm
-
A
StringInternerimplementation based onString.intern(). - JvmStringInterner() - Constructor for class opennlp.tools.util.jvm.JvmStringInterner
K
- k - Variable in class opennlp.tools.stemmer.PorterStemmer
- K - Variable in class opennlp.tools.parser.AbstractBottomUpParser
-
The maximum number of parses to advance from a single preceding parse.
- k0 - Variable in class opennlp.tools.stemmer.PorterStemmer
- KATAKANA - Enum constant in enum class opennlp.tools.tokenize.uax29.WordBreak
-
Katakana letters.
- KATAKANA - Enum constant in enum class opennlp.tools.tokenize.uax29.WordType
-
A Katakana token.
- kcg - Variable in class opennlp.tools.parser.chunking.ParserEventStream
- kCounter - Variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer.UpdateInfo
- KEEP_CASE_TAG - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- KEEP_EQUAL - Enum constant in enum class opennlp.tools.document.Document.DuplicateLayerPolicy
-
Keep one copy of a layer key present on both documents when the two layers are structurally equal, for example when two parallel branches ran the same tokenizer.
- keepCase - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary.AffixFile
- keepCase - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- keepNewLines - Variable in class opennlp.tools.tokenize.AbstractTokenizer
- ket - Variable in class opennlp.tools.stemmer.snowball.SnowballProgram
- key(String, Class<T>) - Static method in class opennlp.tools.document.Layers
-
Creates a
positionalkey in the toolkit'sopennlp:namespace, for a layer the toolkit itself produces. - key(String, Class<T>, LayerKey.Scope) - Static method in class opennlp.tools.document.LayerKey
-
Validates the components and creates the key.
- KEYCAP_BASES - Static variable in class opennlp.tools.util.normalizer.UnicodeEmojiSequences
-
The bases of the keycap sequences:
#,*and the ASCII digits. - keys - Variable in class opennlp.tools.tokenize.lattice.UnigramSegmenter.WordTrie
- keys - Variable in record class opennlp.tools.util.normalizer.Confusables.Data
-
The field for the
keysrecord component. - keys - Variable in class opennlp.tools.util.normalizer.UnicodeEmojiSequences.Node
- keys() - Method in record class opennlp.tools.util.normalizer.Confusables.Data
-
Returns the value of the
keysrecord component. - KEYWORD_PATH - Static variable in class opennlp.tools.util.archive.TarStream
- KEYWORD_SIZE - Static variable in class opennlp.tools.util.archive.TarStream
L
- l1Cost - Variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
- l1Cost - Variable in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
- L1COST_DEFAULT - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
-
The default L1-cost value is
0.0d. - L1COST_DEFAULT - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
-
The default L1-cost value is
0.1d. - L1COST_PARAM - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
- l1norm(double[]) - Static method in class opennlp.tools.ml.ArrayMath
-
Computes the L1-norm for a vector
v. - l2 - Variable in record class opennlp.tools.depparse.FeedforwardDependencyTrainer.Settings
-
The field for the
l2record component. - l2() - Method in record class opennlp.tools.depparse.FeedforwardDependencyTrainer.Settings
-
Returns the value of the
l2record component. - l2Cost - Variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
- l2Cost - Variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer.L2RegFunction
- l2Cost - Variable in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
- L2COST_DEFAULT - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
-
The default L2-cost value is
0.0d. - L2COST_DEFAULT - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
-
The default L2-cost value is
0.1d. - L2COST_PARAM - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
- l2norm(double[]) - Static method in class opennlp.tools.ml.ArrayMath
-
Computes the L2-norm for a vector
v. - L2RegFunction(Function, double) - Constructor for class opennlp.tools.ml.maxent.quasinewton.QNMinimizer.L2RegFunction
- label - Variable in record class opennlp.tools.depparse.Transition
-
The field for the
labelrecord component. - label - Variable in class opennlp.tools.ml.naivebayes.Probability
- label - Variable in class opennlp.tools.parser.Constituent
- label - Variable in class opennlp.tools.parser.Parse
-
A string used during parse construction to specify which stage of parsing has been performed on this node.
- label - Variable in record class opennlp.tools.parser.ParserAnnotator.Phrase
-
The field for the
labelrecord component. - label() - Method in record class opennlp.tools.depparse.Transition
-
Returns the value of the
labelrecord component. - label() - Method in record class opennlp.tools.parser.ParserAnnotator.Phrase
-
Returns the value of the
labelrecord component. - LABEL_POSITIONS - Static variable in class opennlp.tools.depparse.FeedforwardContext
-
The number of dependent positions whose arc label is embedded.
- LABEL_SEPARATOR - Static variable in class opennlp.tools.parser.Parse
-
Separates a constituent label from its token.
- labelGaps(Stack<Constituent>) - Method in interface opennlp.tools.parser.GapLabeler
-
Labels
constituentsfound in thestackwith gap labels if appropriate. - labelGaps(Stack<Constituent>) - Method in class opennlp.tools.parser.lang.en.HeadRules
- labelGaps(Stack<Constituent>) - Method in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules
- labelIds - Variable in class opennlp.tools.depparse.FeedforwardNetwork
- labelIds() - Method in class opennlp.tools.depparse.FeedforwardNetwork
- labelRow(String) - Method in class opennlp.tools.depparse.FeedforwardNetwork
- LANDMARK - Enum constant in enum class opennlp.tools.util.normalizer.EmojiEntityType
-
A landmark or building, derived from the
place-*subgroups, with a documented exception: U+1F6D9 LIGHTHOUSE is taggedLANDMARKby this project (upstream emoji-test.txt subgroup istransport-water). - lang - Variable in class opennlp.tools.formats.Conll02NameSampleStream
- lang - Variable in class opennlp.tools.formats.Conll03NameSampleStream
- lang - Variable in class opennlp.tools.formats.EvalitaNameSampleStream
- lang - Variable in class opennlp.tools.formats.leipzig.LeipzigLanguageSampleStream.LeipzigSentencesStream
- lang - Variable in class opennlp.tools.langdetect.Language
- LANG_CODE_LENGTH - Static variable in class opennlp.tools.formats.leipzig.LeipzigLanguageSampleStream
-
The number of leading file name characters that form the ISO 639-3 language code.
- LANG_CODE_MAX_LENGTH - Static variable in class opennlp.tools.formats.conllu.ConlluStream
- LANG_CODE_MIN_LENGTH - Static variable in class opennlp.tools.formats.conllu.ConlluStream
- LANGDETECT_MODEL_ENTRY_NAME - Static variable in class opennlp.tools.langdetect.LanguageDetectorModel
- langSampleCounts - Variable in class opennlp.tools.formats.leipzig.LeipzigLanguageSampleStream
- language - Variable in class opennlp.tools.formats.LanguageSampleStreamFactory
- language - Variable in record class opennlp.tools.langdetect.LanguageSample
-
The field for the
languagerecord component. - language - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary.AffixFile
- language - Variable in class opennlp.tools.util.normalizer.NormalizationProfile
- language() - Method in record class opennlp.tools.langdetect.LanguageSample
-
Returns the value of the
languagerecord component. - language() - Method in class opennlp.tools.util.normalizer.NormalizationProfile
-
Returns the language, as an ISO 639-3 code.
- Language - Class in opennlp.tools.langdetect
-
Class for holding the document language and its confidence
- Language(String) - Constructor for class opennlp.tools.langdetect.Language
- Language(String, double) - Constructor for class opennlp.tools.langdetect.Language
- LANGUAGE() - Constructor for enum class opennlp.tools.formats.Conll02NameSampleStream.LANGUAGE
- LANGUAGE() - Constructor for enum class opennlp.tools.formats.Conll03NameSampleStream.LANGUAGE
- LANGUAGE() - Constructor for enum class opennlp.tools.formats.EvalitaNameSampleStream.LANGUAGE
- LANGUAGE_PROPERTY - Static variable in class opennlp.tools.util.model.BaseModel
- LANGUAGE_TAG - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- languageCode - Variable in class opennlp.tools.chunker.ChunkerCrossValidator
- languageCode - Variable in class opennlp.tools.depparse.DependencyCrossValidator
- languageCode - Variable in class opennlp.tools.doccat.DoccatCrossValidator
- languageCode - Variable in class opennlp.tools.namefind.TokenNameFinderCrossValidator
- languageCode - Variable in class opennlp.tools.postag.POSTaggerCrossValidator
- languageCode - Variable in class opennlp.tools.sentdetect.SDCrossValidator
- languageCode - Variable in class opennlp.tools.sentdetect.SentenceDetectorFactory
- languageCode - Variable in class opennlp.tools.sentiment.SentimentCrossValidator
- languageCode - Variable in class opennlp.tools.tokenize.BPETokenizerFactory
-
The ISO language code.
- languageCode - Variable in class opennlp.tools.tokenize.TokenizerFactory
- LanguageCodeValidator - Class in opennlp.tools.util
-
Validates language codes against ISO 639 standards.
- LanguageCodeValidator() - Constructor for class opennlp.tools.util.LanguageCodeValidator
- languageDetector - Variable in class opennlp.tools.langdetect.LanguageDetectorEvaluator
- LanguageDetector - Interface in opennlp.tools.langdetect
-
The interface for
LanguageDetectorwhich predicts theLanguagefor a context. - LanguageDetectorConfig - Class in opennlp.tools.langdetect
- LanguageDetectorConfig() - Constructor for class opennlp.tools.langdetect.LanguageDetectorConfig
- LanguageDetectorConfig.ImmutableLanguageDetectorConfig - Class in opennlp.tools.langdetect
- LanguageDetectorContextGenerator - Interface in opennlp.tools.langdetect
-
A context generator interface for
LanguageDetector. - LanguageDetectorCrossValidator - Class in opennlp.tools.langdetect
-
Cross validator for
LanguageDetector. - LanguageDetectorCrossValidator(TrainingParameters, LanguageDetectorFactory, LanguageDetectorEvaluationMonitor...) - Constructor for class opennlp.tools.langdetect.LanguageDetectorCrossValidator
-
Initializes a
LanguageDetectorCrossValidatorwith the givenparameters. - LanguageDetectorEvaluationMonitor - Interface in opennlp.tools.langdetect
-
A marker interface for evaluating
language detectors. - LanguageDetectorEvaluator - Class in opennlp.tools.langdetect
-
The
LanguageDetectorEvaluatormeasures the performance of the givenLanguageDetectorwith the provided referenceLanguageSamples. - LanguageDetectorEvaluator(LanguageDetector, LanguageDetectorEvaluationMonitor...) - Constructor for class opennlp.tools.langdetect.LanguageDetectorEvaluator
-
Initializes an instance to evaluate a
LanguageDetector. - LanguageDetectorEventStream - Class in opennlp.tools.langdetect
-
Iterator-like class for modeling an event stream of
samples. - LanguageDetectorEventStream(ObjectStream<LanguageSample>, LanguageDetectorContextGenerator) - Constructor for class opennlp.tools.langdetect.LanguageDetectorEventStream
-
Initializes an instance via samples and feature generators.
- LanguageDetectorFactory - Class in opennlp.tools.langdetect
-
Default factory used by
LanguageDetector. - LanguageDetectorFactory() - Constructor for class opennlp.tools.langdetect.LanguageDetectorFactory
- LanguageDetectorME - Class in opennlp.tools.langdetect
-
Implements a learnable
LanguageDetector. - LanguageDetectorME(LanguageDetectorModel) - Constructor for class opennlp.tools.langdetect.LanguageDetectorME
-
Initializes an instance with a specific
LanguageDetectorModel. - LanguageDetectorME.StringCPLengthPair - Record Class in opennlp.tools.langdetect
- LanguageDetectorModel - Class in opennlp.tools.langdetect
-
The
LanguageDetectorModelis the model used by a learnableLanguageDetector. - LanguageDetectorModel(File) - Constructor for class opennlp.tools.langdetect.LanguageDetectorModel
-
Initializes a
LanguageDetectorModelinstance via a validFile. - LanguageDetectorModel(InputStream) - Constructor for class opennlp.tools.langdetect.LanguageDetectorModel
-
Initializes a
LanguageDetectorModelinstance via a validInputStream. - LanguageDetectorModel(URL) - Constructor for class opennlp.tools.langdetect.LanguageDetectorModel
-
Initializes a
LanguageDetectorModelinstance via a validURL. - LanguageDetectorModel(MaxentModel, Map<String, String>, LanguageDetectorFactory) - Constructor for class opennlp.tools.langdetect.LanguageDetectorModel
-
Initializes a
LanguageDetectorModelinstance via given parameters. - LanguageDetectorSampleStream - Class in opennlp.tools.langdetect
-
This class reads in string encoded
training samples, parses them and outputsLanguageSampleobjects. - LanguageDetectorSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.langdetect.LanguageDetectorSampleStream
-
Initializes a
instance. - LanguageDetectorSampleStreamFactory - Class in opennlp.tools.formats
-
Factory producing OpenNLP
lang detector sample streams. - LanguageDetectorSampleStreamFactory(Class<LanguageDetectorSampleStreamFactory.Parameters>) - Constructor for class opennlp.tools.formats.LanguageDetectorSampleStreamFactory
- LanguageDetectorSampleStreamFactory.Parameters - Interface in opennlp.tools.formats
- LanguageModel - Interface in opennlp.tools.languagemodel
-
A language model can calculate the probability p (between 0 and 1) of a certain sequence of tokens, given its underlying vocabulary.
- LanguageParams - Interface in opennlp.tools.cmdline.params
- languages - Variable in record class opennlp.tools.langdetect.ProbingLanguageDetectionResult
-
The field for the
languagesrecord component. - languages() - Method in record class opennlp.tools.langdetect.ProbingLanguageDetectionResult
-
Returns the value of the
languagesrecord component. - LanguageSample - Record Class in opennlp.tools.langdetect
-
Holds a classified document and its
Language. - LanguageSample(Language, CharSequence) - Constructor for record class opennlp.tools.langdetect.LanguageSample
-
Instantiates a
LanguageSample. - LanguageSampleStreamFactory<T,
P> - Class in opennlp.tools.formats -
Stream factory for those streams which carry language.
- LanguageSampleStreamFactory(Class<P>) - Constructor for class opennlp.tools.formats.LanguageSampleStreamFactory
- las - Variable in class opennlp.tools.depparse.AttachmentScores
- lasExcludingPunctuation - Variable in class opennlp.tools.depparse.AttachmentScores
- LAST - Static variable in class opennlp.tools.namefind.BilouCodec
- LAST_REGIONAL_INDICATOR - Static variable in class opennlp.tools.util.normalizer.EmojiFlags
- lastBestSequence - Variable in class opennlp.tools.namefind.NameFinderME
- lastChild(Parse, Parse) - Method in class opennlp.tools.parser.AbstractParserEventStream
- lastChild(Parse, Parse) - Method in class opennlp.tools.parser.treeinsert.ParserEventStream
- lastChild(Parse, Parse, Set<String>) - Static method in class opennlp.tools.parser.AbstractBottomUpParser
- lastCovering(int) - Method in class opennlp.tools.tokenize.lattice.CategoryTable.Builder
-
Finds the category of the last recorded range covering a code point.
- lastDecodedSequence - Variable in class opennlp.tools.postag.POSTaggerME
-
Last decoded sequence for
POSTaggerME.probs()/POSTaggerME.probs(double[])(seeLastResultOwnerOrThreadLocal). - lastLineWasEmpty - Variable in class opennlp.tools.sentdetect.EmptyLinePreprocessorStream
- LastResultOwnerOrThreadLocal<T> - Class in opennlp.tools.util
-
Stores a per-thread "last result" value for APIs that expose probabilities or other data from the most recent decode call (e.g.
- LastResultOwnerOrThreadLocal() - Constructor for class opennlp.tools.util.LastResultOwnerOrThreadLocal
- lastTrainingSampleStream - Variable in class opennlp.tools.util.eval.CrossValidationPartitioner
-
The last handed out
CrossValidationPartitioner.TrainingSampleStream. - latinPolicy(String) - Static method in class opennlp.tools.tokenize.lang.Factory
-
Builds a policy of the ASCII letters plus
extraLetters, the ASCII digits, and no marks. - LatticeTokenizer - Class in opennlp.tools.tokenize.lattice
-
Dictionary-driven segmentation for languages written without spaces: a Viterbi search over the word lattice of a
MecabDictionary, minimizing the sum of word costs and connection costs. - LatticeTokenizer(MecabDictionary) - Constructor for class opennlp.tools.tokenize.lattice.LatticeTokenizer
-
Initializes the tokenizer.
- LatticeTokenizer.Node - Class in opennlp.tools.tokenize.lattice
-
One lattice node: a candidate morpheme with its best path cost so far.
- layer - Variable in class opennlp.tools.formats.GermEval2014NameSampleStream
- LayerKey<T> - Class in opennlp.tools.document
-
Identifies one annotation layer of a
Documentand carries the type of that layer's annotation values, so reading a layer back is statically typed. - LayerKey(String, Class<T>, LayerKey.Scope) - Constructor for class opennlp.tools.document.LayerKey
- LayerKey.Scope - Enum Class in opennlp.tools.document
-
How the annotations of a layer relate to the document text.
- layers - Variable in class opennlp.tools.document.ImmutableDocument
- layers - Variable in class opennlp.tools.util.normalizer.Term
- layers() - Method in interface opennlp.tools.document.Document
- layers() - Method in class opennlp.tools.document.ImmutableDocument
- Layers - Class in opennlp.tools.document
-
The standard
layer keysfor the results the toolkit produces itself. - Layers() - Constructor for class opennlp.tools.document.Layers
- Lazy(Supplier<T>) - Constructor for class opennlp.tools.util.normalizer.BundledUnicodeData.Lazy
-
Creates a holder that has not loaded yet.
- Leaf() - Constructor for class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
- LeafEnd(int, int, int) - Constructor for record class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.LeafEnd
-
Creates an instance of a
LeafEndrecord class. - LeafRest(int, ADSentenceStream.SentenceParser.LeafEnd) - Constructor for record class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.LeafRest
-
Creates an instance of a
LeafRestrecord class. - LEARNING_RATE_PARAM - Static variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer
-
The training parameter key of the AdaGrad step size; default 0.02.
- learningRate - Variable in record class opennlp.tools.depparse.FeedforwardDependencyTrainer.Settings
-
The field for the
learningRaterecord component. - learningRate() - Method in record class opennlp.tools.depparse.FeedforwardDependencyTrainer.Settings
-
Returns the value of the
learningRaterecord component. - learnMerges(Iterable<String>, int) - Method in class opennlp.tools.tokenize.BPETokenizerTrainer
-
Learns BPE merge operations from the given corpus.
- left - Variable in record class opennlp.tools.tokenize.BPETokenizer.SymbolPair
-
The field for the
leftrecord component. - left - Variable in record class opennlp.tools.tokenize.lattice.DoubleArrayLexicon.Builder.PendingNode
-
The field for the
leftrecord component. - left() - Method in record class opennlp.tools.tokenize.BPETokenizer.SymbolPair
-
Returns the value of the
leftrecord component. - left() - Method in record class opennlp.tools.tokenize.lattice.DoubleArrayLexicon.Builder.PendingNode
-
Returns the value of the
leftrecord component. - LEFT_ARC - Enum constant in enum class opennlp.tools.depparse.Transition.Type
-
Attaches the second stack token to the top one and removes the second.
- LEFT_CURLY - Static variable in class opennlp.tools.tokenize.lang.en.TokenSampleStream
- LEFT_PAREN - Static variable in class opennlp.tools.tokenize.lang.en.TokenSampleStream
- leftArc(String) - Static method in record class opennlp.tools.depparse.Transition
-
Creates a left-arc transition.
- leftContractionPart - Variable in class opennlp.tools.formats.ad.ADNameSampleStream
- leftId - Variable in record class opennlp.tools.tokenize.lattice.MecabDictionary.WordEntry
-
The field for the
leftIdrecord component. - leftId() - Method in record class opennlp.tools.tokenize.lattice.MecabDictionary.WordEntry
-
Returns the value of the
leftIdrecord component. - leftmost(ArcStandardState, int) - Static method in class opennlp.tools.depparse.FeedforwardContext
- leftmostDependent(int) - Method in class opennlp.tools.depparse.ArcStandardState
-
Retrieves the leftmost dependent attached to a token so far.
- leftmostDependents - Variable in class opennlp.tools.depparse.ArcStandardState
- leftNodes - Variable in class opennlp.tools.parser.treeinsert.BuildContextGenerator
- leftNodes - Variable in class opennlp.tools.parser.treeinsert.CheckContextGenerator
- leftToRight - Variable in class opennlp.tools.parser.lang.en.HeadRules.HeadRule
- leftToRight - Variable in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules.HeadRule
- LEGACY - Enum constant in enum class opennlp.tools.util.CompatibilityMode
-
The output of OpenNLP 1.x/2.x.
- LEGACY - Enum constant in enum class opennlp.tools.util.WhitespaceMode
-
OpenNLP 1.x/2.x whitespace: the union of
Character.isWhitespace(int)and the UnicodeZscategory. - LEGACY_EXPRESSIONS - Static variable in class opennlp.tools.tokenize.lang.Factory
-
The alphanumeric expressions of releases before 3.0, keyed by the policy that accepts the same characters.
- LEGACY_PATTERNS - Static variable in class opennlp.tools.tokenize.lang.Factory
-
The compiled
Factory.LEGACY_EXPRESSIONS, keyed by the same policies. - LEGACY_RANGE_FIRST - Static variable in class opennlp.tools.util.normalizer.EmojiCharSequenceNormalizer
-
The first code point of the range removed under
CompatibilityMode.LEGACY: the high surrogate U+D83C. - LEGACY_RANGE_LAST - Static variable in class opennlp.tools.util.normalizer.EmojiCharSequenceNormalizer
-
The last code point of the range removed under
CompatibilityMode.LEGACY. - LEGACY_URL_BODY - Static variable in class opennlp.tools.util.normalizer.UrlCharSequenceNormalizer
-
The URL body set of the legacy output:
[-_.?&~;+=/#0-9A-Za-z]. - LEGACY_WARNED - Static variable in enum class opennlp.tools.util.CompatibilityMode
- LEGACY_WARNED - Static variable in enum class opennlp.tools.util.WhitespaceMode
- legacyExpressionOf(TokenizerCharacterPolicy) - Static method in class opennlp.tools.tokenize.lang.Factory
-
Deprecated, for removal: This API element is subject to removal in a future version.Serves only the deprecated
PatternAPI and will be removed with it in 4.0. - legacyPatternOf(TokenizerCharacterPolicy) - Static method in class opennlp.tools.tokenize.lang.Factory
-
Deprecated, for removal: This API element is subject to removal in a future version.Serves only the deprecated
PatternAPI and will be removed with it in 4.0. - legacyRunEnd(CharSequence, int) - Method in class opennlp.tools.util.normalizer.EmojiCharSequenceNormalizer
-
Returns the exclusive end of the run of legacy set members that starts at
from. - LeipzigLanguageSampleStream - Class in opennlp.tools.formats.leipzig
- LeipzigLanguageSampleStream(File, int, int) - Constructor for class opennlp.tools.formats.leipzig.LeipzigLanguageSampleStream
-
Initializes a
LeipzigLanguageSampleStream. - LeipzigLanguageSampleStream.LeipzigSentencesStream - Class in opennlp.tools.formats.leipzig
- LeipzigLanguageSampleStreamFactory - Class in opennlp.tools.formats.leipzig
-
Note: Do not use this class, internal use only!
- LeipzigLanguageSampleStreamFactory(Class<LeipzigLanguageSampleStreamFactory.Parameters>) - Constructor for class opennlp.tools.formats.leipzig.LeipzigLanguageSampleStreamFactory
- LeipzigLanguageSampleStreamFactory.Parameters - Interface in opennlp.tools.formats.leipzig
- LeipzigSentencesStream(String, File, int, int) - Constructor for class opennlp.tools.formats.leipzig.LeipzigLanguageSampleStream.LeipzigSentencesStream
-
Initializes a
LeipzigLanguageSampleStream.LeipzigSentencesStream. - lemma - Variable in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
- lemma - Variable in class opennlp.tools.formats.conllu.ConlluWordLine
- LEMMA - Enum constant in enum class opennlp.tools.util.normalizer.Dimension
-
Lemmatization through a configured
Lemmatizer. - LEMMA_NUMBER - Static variable in class opennlp.tools.lemmatizer.LemmatizerME
- LEMMA_PRESENT_TAG - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- lemmaEnd(String, int) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
-
Finds the matching quote that ends a lemma field.
- lemmas - Variable in class opennlp.tools.lemmatizer.LemmaSample
- LEMMAS - Static variable in class opennlp.tools.lemmatizer.LemmatizerAnnotator
-
The lemma layer.
- LemmaSample - Class in opennlp.tools.lemmatizer
-
Represents a lemmatized sentence.
- LemmaSample(String[], String[], String[]) - Constructor for class opennlp.tools.lemmatizer.LemmaSample
-
Initializes a
LemmaSampleinstance with the given parameters. - LemmaSample(List<String>, List<String>, List<String>) - Constructor for class opennlp.tools.lemmatizer.LemmaSample
-
Initializes a
LemmaSampleinstance with the given parameters. - LemmaSampleEventStream - Class in opennlp.tools.lemmatizer
-
Class for creating an event stream out of data files for training a probabilistic
Lemmatizer. - LemmaSampleEventStream(ObjectStream<LemmaSample>, LemmatizerContextGenerator) - Constructor for class opennlp.tools.lemmatizer.LemmaSampleEventStream
-
Creates a new event stream based on the specified data stream using a
LemmatizerContextGenerator. - LemmaSampleSequenceStream - Class in opennlp.tools.lemmatizer
-
A
SequenceStreamimplementation encapsulatingsamples. - LemmaSampleSequenceStream(ObjectStream<LemmaSample>, LemmatizerContextGenerator) - Constructor for class opennlp.tools.lemmatizer.LemmaSampleSequenceStream
- LemmaSampleStream - Class in opennlp.tools.lemmatizer
-
Reads data for training and testing the
Lemmatizer. - LemmaSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.lemmatizer.LemmaSampleStream
-
Initializes a
instance. - lemmatize(String[], String[]) - Method in class opennlp.tools.lemmatizer.DictionaryLemmatizer
- lemmatize(String[], String[]) - Method in interface opennlp.tools.lemmatizer.Lemmatizer
-
Generates lemmas for the word and postag.
- lemmatize(String[], String[]) - Method in class opennlp.tools.lemmatizer.LemmatizerME
- lemmatize(String[], String[]) - Method in class opennlp.tools.lemmatizer.ThreadSafeLemmatizerME
-
Deprecated.
- lemmatize(String, String) - Method in class opennlp.tools.lemmatizer.DictionaryLemmatizer
-
Lookup lemma in a dictionary.
- lemmatize(List<String>, List<String>) - Method in class opennlp.tools.lemmatizer.DictionaryLemmatizer
- lemmatize(List<String>, List<String>) - Method in interface opennlp.tools.lemmatizer.Lemmatizer
-
Generates lemma tags for the word and postag.
- lemmatize(List<String>, List<String>) - Method in class opennlp.tools.lemmatizer.LemmatizerME
- lemmatize(List<String>, List<String>) - Method in class opennlp.tools.lemmatizer.ThreadSafeLemmatizerME
-
Deprecated.
- lemmatize(Lemmatizer) - Method in class opennlp.tools.util.normalizer.TermAnalyzer.Builder
-
Enables
Dimension.LEMMAthrough the given lemmatizer. - lemmatizer - Variable in class opennlp.tools.lemmatizer.LemmatizerAnnotator
- lemmatizer - Variable in class opennlp.tools.lemmatizer.LemmatizerEvaluator
- lemmatizer - Variable in class opennlp.tools.util.normalizer.TermAnalyzer.Builder
- lemmatizer - Variable in class opennlp.tools.util.normalizer.TermAnalyzer
- Lemmatizer - Interface in opennlp.tools.lemmatizer
-
The common interface for lemmatizers.
- LEMMATIZER - Enum constant in enum class opennlp.tools.models.ModelType
- LEMMATIZER_MODEL_ENTRY_NAME - Static variable in class opennlp.tools.lemmatizer.LemmatizerModel
- LemmatizerAnnotator - Class in opennlp.tools.lemmatizer
-
Adapts a
Lemmatizerto the document pipeline: readsLayers.SENTENCES,Layers.TOKENS, andLayers.POS_TAGSand providesLemmatizerAnnotator.LEMMAS, one annotation per token on the token's span. - LemmatizerAnnotator(Lemmatizer) - Constructor for class opennlp.tools.lemmatizer.LemmatizerAnnotator
-
Initializes the adapter.
- LemmatizerContextGenerator - Interface in opennlp.tools.lemmatizer
-
Interface for the context generator used for probabilistic
Lemmatizer. - LemmatizerEvaluationMonitor - Interface in opennlp.tools.lemmatizer
-
A marker interface for evaluating
lemmatizers. - LemmatizerEvaluator - Class in opennlp.tools.lemmatizer
-
The
LemmatizerEvaluatormeasures the performance of the givenLemmatizerwith the provided referencesamples. - LemmatizerEvaluator(Lemmatizer, LemmatizerEvaluationMonitor...) - Constructor for class opennlp.tools.lemmatizer.LemmatizerEvaluator
-
Initializes a
LemmatizerEvaluatorinstance with the givenLemmatizer. - LemmatizerFactory - Class in opennlp.tools.lemmatizer
-
The factory that provides
Lemmatizerdefault implementation and resources. - LemmatizerFactory() - Constructor for class opennlp.tools.lemmatizer.LemmatizerFactory
-
Instantiates a
LemmatizerFactorythat provides the default implementation of the resources. - LemmatizerME - Class in opennlp.tools.lemmatizer
-
A probabilistic
Lemmatizerimplementation. - LemmatizerME(LemmatizerModel) - Constructor for class opennlp.tools.lemmatizer.LemmatizerME
- LemmatizerModel - Class in opennlp.tools.lemmatizer
-
The
LemmatizerModelis the model used by a learnableLemmatizer. - LemmatizerModel(File) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
-
Initializes a
LemmatizerModelinstance via a validFile. - LemmatizerModel(InputStream) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
-
Initializes a
LemmatizerModelinstance via a validInputStream. - LemmatizerModel(String, MaxentModel, int, Map<String, String>, LemmatizerFactory) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
-
Initializes a
LemmatizerModelinstance via given parameters. - LemmatizerModel(String, MaxentModel, Map<String, String>, LemmatizerFactory) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
-
Initializes a
LemmatizerModelinstance via given parameters. - LemmatizerModel(String, MaxentModel, LemmatizerFactory) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
-
Initializes a
LemmatizerModelinstance via given parameters. - LemmatizerModel(String, SequenceClassificationModel, Map<String, String>, LemmatizerFactory) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
-
Initializes a
LemmatizerModelinstance via given parameters. - LemmatizerModel(URL) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
-
Initializes a
LemmatizerModelinstance via a validURL. - LemmatizerModel(Path) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
-
Initializes a
LemmatizerModelinstance via a validPath. - LemmatizerSampleStreamFactory - Class in opennlp.tools.formats
-
Factory producing OpenNLP
LemmaSampleStreams. - LemmatizerSampleStreamFactory(Class<LemmatizerSampleStreamFactory.Parameters>) - Constructor for class opennlp.tools.formats.LemmatizerSampleStreamFactory
- LemmatizerSampleStreamFactory.Parameters - Interface in opennlp.tools.formats
- length - Variable in class opennlp.tools.formats.nkjp.NKJPSegmentationDocument.Pointer
- length - Variable in record class opennlp.tools.langdetect.LanguageDetectorME.StringCPLengthPair
-
The field for the
lengthrecord component. - length - Variable in record class opennlp.tools.langdetect.ProbingLanguageDetectionResult
-
The field for the
lengthrecord component. - length - Variable in class opennlp.tools.ml.maxent.GISTrainer.ModelExpectationComputeTask
- length - Variable in class opennlp.tools.ml.maxent.quasinewton.ParallelNegLogLikelihood.ComputeTask
- length - Variable in class opennlp.tools.stemmer.snowball.SnowballProgram
- length - Variable in record class opennlp.tools.tokenize.lattice.MecabDictionary.Category
-
The field for the
lengthrecord component. - length - Variable in class opennlp.tools.tokenize.MappedText
- length() - Method in record class opennlp.tools.langdetect.LanguageDetectorME.StringCPLengthPair
-
Returns the value of the
lengthrecord component. - length() - Method in record class opennlp.tools.langdetect.ProbingLanguageDetectionResult
-
Returns the value of the
lengthrecord component. - length() - Method in record class opennlp.tools.tokenize.lattice.MecabDictionary.Category
-
Returns the value of the
lengthrecord component. - length() - Method in class opennlp.tools.util.Span
- LetsmtDocument - Class in opennlp.tools.formats.letsmt
-
A structure to hold the letsmt document.
- LetsmtDocument(List<LetsmtDocument.LetsmtSentence>) - Constructor for class opennlp.tools.formats.letsmt.LetsmtDocument
- LetsmtDocument.LetsmtDocumentHandler - Class in opennlp.tools.formats.letsmt
-
A
content handlerto receive and process SAX events. - LetsmtDocument.LetsmtSentence - Class in opennlp.tools.formats.letsmt
- LetsmtDocumentHandler() - Constructor for class opennlp.tools.formats.letsmt.LetsmtDocument.LetsmtDocumentHandler
- LetsmtSentence() - Constructor for class opennlp.tools.formats.letsmt.LetsmtDocument.LetsmtSentence
- LetsmtSentenceStream - Class in opennlp.tools.formats.letsmt
- LetsmtSentenceStream(LetsmtDocument) - Constructor for class opennlp.tools.formats.letsmt.LetsmtSentenceStream
- LetsmtSentenceStreamFactory - Class in opennlp.tools.formats.letsmt
-
Note: Do not use this class, internal use only!
- LetsmtSentenceStreamFactory(Class<LetsmtSentenceStreamFactory.Parameters>) - Constructor for class opennlp.tools.formats.letsmt.LetsmtSentenceStreamFactory
- LetsmtSentenceStreamFactory.Parameters - Interface in opennlp.tools.formats.letsmt
- letters - Variable in class opennlp.tools.tokenize.TokenizerCharacterPolicy
- LETTERS_FIELD - Static variable in class opennlp.tools.tokenize.TokenizerCharacterPolicy
- lettersEnd(String, int) - Method in class opennlp.tools.formats.ad.ADNameSampleStream
-
Finds the end of a run starting with a letter and continuing with letters or combining marks.
- level - Variable in record class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.PunctuationLine
-
The field for the
levelrecord component. - level - Variable in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.TreeElement
- level - Variable in class opennlp.tools.log.LogPrintStream
- level() - Method in record class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.PunctuationLine
-
Returns the value of the
levelrecord component. - LEVEL_HYPHEN - Static variable in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
- LEVEL_MARK - Static variable in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
- levelPrefixEnd(String) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
-
Finds the end of the level prefix: the run of equals signs and hyphens at the start of the line.
- levenshteinDistance(String, String) - Static method in class opennlp.tools.util.StringUtil
-
Computes the Levenshtein distance of two strings in a matrix.
- lexeme - Variable in record class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.PunctuationLine
-
The field for the
lexemerecord component. - lexeme() - Method in record class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.PunctuationLine
-
Returns the value of the
lexemerecord component. - lexemeStart - Variable in record class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.LeafEnd
-
The field for the
lexemeStartrecord component. - lexemeStart() - Method in record class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.LeafEnd
-
Returns the value of the
lexemeStartrecord component. - lexicon - Variable in class opennlp.tools.tokenize.lattice.MecabDictionary
- LEXICON_EXTENSION - Static variable in class opennlp.tools.tokenize.lattice.MecabDictionary
- LEXICON_GLOB - Static variable in class opennlp.tools.tokenize.lattice.MecabDictionary
- LF - Enum constant in enum class opennlp.tools.tokenize.uax29.WordBreak
-
Line feed (
U+000A). - LF_ORDINAL - Static variable in class opennlp.tools.tokenize.uax29.WordSegmenter
- licensesCrossProduct(int[], HunspellDictionary.Affix, HunspellDictionary.Affix) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Checks cross-product flags within a single entry.
- limit - Variable in class opennlp.tools.stemmer.snowball.SnowballProgram
- limit - Variable in class opennlp.tools.util.ResourceInstaller.Budget
- limit() - Method in class opennlp.tools.util.ResourceInstaller.Budget
-
Returns the maximum number of units accepted.
- limit_backward - Variable in class opennlp.tools.stemmer.snowball.SnowballProgram
- Limits(Duration, Duration, int, long, long, long, long) - Constructor for record class opennlp.tools.util.ResourceInstaller.Limits
-
Validates the limit values before constructing an instance.
- line - Variable in record class opennlp.tools.stemmer.hunspell.HunspellAffixTable.Entry
-
The field for the
linerecord component. - line - Variable in class opennlp.tools.tokenize.lang.en.TokenSampleStream
- line() - Method in record class opennlp.tools.stemmer.hunspell.HunspellAffixTable.Entry
-
Returns the value of the
linerecord component. - LINE_BREAK - Enum constant in enum class opennlp.tools.util.normalizer.UnicodeWhitespace.Breaking
-
A forced line or paragraph break (e.g.
- LINE_BREAK_CODE_POINT_SET - Static variable in class opennlp.tools.util.normalizer.UnicodeWhitespace
- LINE_BREAKS - Static variable in class opennlp.tools.util.normalizer.LineBreakPreservingWhitespaceCharSequenceNormalizer
- LINE_BREAKS - Static variable in class opennlp.tools.util.normalizer.ParagraphPreservingWhitespaceCharSequenceNormalizer
- LINE_BREAKS - Static variable in class opennlp.tools.util.normalizer.UnicodeWhitespace
- LINE_FEED - Static variable in class opennlp.tools.util.normalizer.UnicodeWhitespace
-
U+000ALINE FEED, a line break on its own or the second half ofCRLF. - LINE_SEPARATOR - Static variable in class opennlp.tools.ml.model.FileEventStream
- lineBreakCodePointSet() - Static method in class opennlp.tools.util.normalizer.UnicodeWhitespace
-
Returns the
CodePointSetof whitespace characters that force a line or paragraph break. - LineBreakPreservingWhitespaceCharSequenceNormalizer - Class in opennlp.tools.util.normalizer
-
An
OffsetAwareNormalizerthat collapses runs of Unicode whitespace likeWhitespaceCharSequenceNormalizer, but keeps line and paragraph structure: any whitespace run that contains a line break collapses to a single newline (U+000A) instead of a space, and leading and trailing whitespace is trimmed. - LineBreakPreservingWhitespaceCharSequenceNormalizer() - Constructor for class opennlp.tools.util.normalizer.LineBreakPreservingWhitespaceCharSequenceNormalizer
- lineBreaks() - Static method in class opennlp.tools.util.normalizer.UnicodeWhitespace
-
Returns the whitespace characters that force a line or paragraph break.
- lineIterator - Variable in class opennlp.tools.formats.leipzig.LeipzigLanguageSampleStream.LeipzigSentencesStream
- lineNumber - Variable in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.UnsupportedDirective
-
The field for the
lineNumberrecord component. - lineNumber() - Method in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.UnsupportedDirective
-
Returns the value of the
lineNumberrecord component. - LineScan(String) - Constructor for class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.LineScan
- LineSearch - Class in opennlp.tools.ml.maxent.quasinewton
-
Performs line search to find a minimum.
- LineSearch() - Constructor for class opennlp.tools.ml.maxent.quasinewton.LineSearch
- LineSearch.LineSearchResult - Class in opennlp.tools.ml.maxent.quasinewton
-
Represents a
LineSearchresult encapsulating the relevant data at a point in time during computation. - LineSearchResult(double, double, double, double[], double[], double[], double[], double[], double[], int) - Constructor for class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
-
Initializes a
LineSearch.LineSearchResultobject with the specified parameters. - LineSearchResult(double, double, double, double[], double[], double[], double[], int) - Constructor for class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
-
Initializes a
LineSearch.LineSearchResultobject with the specified parameters. - lineStream - Variable in class opennlp.tools.formats.BioNLP2004NameSampleStream
- lineStream - Variable in class opennlp.tools.formats.Conll02NameSampleStream
- lineStream - Variable in class opennlp.tools.formats.Conll03NameSampleStream
- lineStream - Variable in class opennlp.tools.formats.EvalitaNameSampleStream
- lineStream - Variable in class opennlp.tools.formats.GermEval2014NameSampleStream
- lineStream - Variable in class opennlp.tools.formats.NameFinderCensus90NameStream
- linkedEntries - Variable in class opennlp.tools.entitylinker.LinkedSpan
- LinkedSpan<T> - Class in opennlp.tools.entitylinker
- LinkedSpan(ArrayList<T>, int, int) - Constructor for class opennlp.tools.entitylinker.LinkedSpan
-
Initializes a new
LinkedSpan. - LinkedSpan(ArrayList<T>, int, int, String) - Constructor for class opennlp.tools.entitylinker.LinkedSpan
-
Initializes a new
LinkedSpan. - LinkedSpan(ArrayList<T>, int, int, String, double) - Constructor for class opennlp.tools.entitylinker.LinkedSpan
-
Initializes a new
LinkedSpan. - LinkedSpan(ArrayList<T>, Span, int) - Constructor for class opennlp.tools.entitylinker.LinkedSpan
- list - Variable in class opennlp.tools.util.ReverseListIterator
- listeners - Variable in class opennlp.tools.chunker.ChunkerCrossValidator
- listeners - Variable in class opennlp.tools.depparse.DependencyCrossValidator
- listeners - Variable in class opennlp.tools.doccat.DoccatCrossValidator
- listeners - Variable in class opennlp.tools.langdetect.LanguageDetectorCrossValidator
- listeners - Variable in class opennlp.tools.namefind.TokenNameFinderCrossValidator
- listeners - Variable in class opennlp.tools.postag.POSTaggerCrossValidator
- listeners - Variable in class opennlp.tools.sentdetect.SDCrossValidator
- listeners - Variable in class opennlp.tools.sentiment.SentimentCrossValidator
- listeners - Variable in class opennlp.tools.tokenize.TokenizerCrossValidator
- listeners - Variable in class opennlp.tools.util.eval.Evaluator
- listZipOnNonDefaultFileSystem(Path) - Static method in class opennlp.tools.util.ResourceInstaller
- LITERARY_PREFIX - Static variable in class opennlp.tools.formats.ad.ADNameSampleStream
- littleEndianInt(byte[], int) - Static method in class opennlp.tools.util.ResourceInstaller
-
Reads an unsigned 32-bit little-endian value.
- littleEndianShort(byte[], int) - Static method in class opennlp.tools.util.ResourceInstaller
-
Reads an unsigned 16-bit little-endian value.
- llThreshold - Variable in class opennlp.tools.ml.maxent.GISTrainer
- load() - Static method in class opennlp.tools.tokenize.uax29.ExtendedPictographic
-
Returns the member set parsed from the bundled
ExtendedPictographic.txtresource. - load() - Static method in class opennlp.tools.tokenize.uax29.WordBreakProperty
-
Returns the lookup table built from the bundled
WordBreakProperty.txtresource. - load() - Static method in class opennlp.tools.util.normalizer.Confusables
-
Returns the prototype mapping and key set parsed from the bundled
confusables.txtresource. - load() - Static method in class opennlp.tools.util.normalizer.EmojiAnnotations
-
Returns the records parsed from the bundled
emoji-annotations.txtresource. - load() - Static method in class opennlp.tools.util.normalizer.UnicodeEmojiSequences
-
Loads the bundled data resource.
- load(InputStream) - Static method in class opennlp.tools.util.DictionaryCatalog
-
Loads a catalog from a properties stream.
- load(InputStream, InputStream) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Loads affix and dictionary streams using
HunspellDictionary.LoadMode.STRICT. - load(InputStream, InputStream, HunspellDictionary.LoadMode) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Loads affix and dictionary streams with the selected directive policy.
- load(InputStream, Charset) - Method in class opennlp.tools.stopword.DictionaryStopwordFilter.Builder
-
Reads one-per-line stopword entries from
in(whitespace separates tokens of a multi-word entry; blank and#-prefixed lines are skipped) and schedules them for addition. - load(InputStream, Charset) - Static method in class opennlp.tools.tokenize.lattice.UnigramSegmenter
-
Loads a frequency lexicon from a stream.
- load(InputStream, Charset, boolean) - Static method in class opennlp.tools.stopword.StopwordLists
-
Loads a stopword filter from a caller-supplied input stream.
- load(InputStream, Charset, int) - Static method in class opennlp.tools.tokenize.lattice.UnigramSegmenter
-
Loads a frequency lexicon under a caller-supplied entry limit.
- load(Class<?>, String, String, BundledUnicodeData.Parser<T>) - Static method in class opennlp.tools.util.normalizer.BundledUnicodeData
-
Opens a resource next to
ownerand parses it. - load(String, ModelType, Class<T>) - Method in interface opennlp.tools.models.ClassPathModelProvider
-
Restores a
modelamong all classpath models at runtime according to the specified parameterslangandtype. - load(String, ModelType, Class<T>) - Method in class opennlp.tools.models.DefaultClassPathModelProvider
-
Restores a
modelamong all classpath models at runtime according to the specified parameterslangandtype. - load(String, ModelType, Class<T>, boolean) - Method in interface opennlp.tools.models.ClassPathModelProvider
-
Restores a
modelamong all classpath models at runtime according to the specified parameterslangandtype. - load(String, ModelType, Class<T>, boolean) - Method in class opennlp.tools.models.DefaultClassPathModelProvider
-
Restores a
modelamong all classpath models at runtime according to the specified parameterslangandtype. - load(Path) - Static method in class opennlp.tools.tokenize.lattice.MecabDictionary
-
Loads a dictionary directory encoded in UTF-8.
- load(Path) - Static method in class opennlp.tools.tokenize.lattice.UnigramSegmenter
-
Loads a frequency lexicon encoded in UTF-8.
- load(Path, Charset) - Static method in class opennlp.tools.tokenize.lattice.MecabDictionary
-
Loads a dictionary directory.
- load(Path, Charset) - Static method in class opennlp.tools.tokenize.lattice.UnigramSegmenter
-
Loads a frequency lexicon.
- load(Path, Path) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Loads affix and dictionary files using
HunspellDictionary.LoadMode.STRICT. - load(Path, Path, HunspellDictionary.LoadMode) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Loads affix and dictionary files with the selected directive policy.
- load(Set<ClassPathModelEntry>, String, String, Class<T>) - Method in class opennlp.tools.models.ClassPathModelLoader
- load(Set<ClassPathModelEntry>, String, ModelType, Class<T>) - Method in class opennlp.tools.models.ClassPathModelLoader
- load(ClassPathModelEntry) - Method in class opennlp.tools.models.ClassPathModelLoader
-
Loads a
ClassPathModelfrom aClassPathModelEntry - loadArtifactSerializers() - Method in class opennlp.tools.util.model.BaseModel
-
Loads the
artifact serializers. - loadBundled() - Static method in class opennlp.tools.util.normalizer.EmojiEmoticons
-
Returns the tables parsed from the bundled
emoji-emoticons.txtresource. - loadBundled(String) - Static method in class opennlp.tools.stopword.StopwordLists
- loadDefaultFeatureGeneratorBytes() - Static method in class opennlp.tools.namefind.TokenNameFinderFactory
- loadDefaultFeatureGeneratorBytes() - Static method in class opennlp.tools.postag.POSTaggerFactory
- loader - Variable in class opennlp.tools.models.DefaultClassPathModelProvider
- loader - Variable in class opennlp.tools.util.normalizer.BundledUnicodeData.Lazy
- loaderName - Variable in class opennlp.tools.util.ext.Providers
- loadExtensionClass(Class<T>, String) - Static method in class opennlp.tools.util.ext.ExtensionLoader
-
Resolves the class with the given name as a subtype of
clazzwithout instantiating it. - loadFeatureGenerators(String) - Method in class opennlp.tools.doccat.DoccatFactory
- LoadMode() - Constructor for enum class opennlp.tools.stemmer.hunspell.HunspellDictionary.LoadMode
- loadModel(InputStream) - Method in class opennlp.tools.util.model.BaseModel
- loadStreams(InputStream, InputStream, HunspellDictionary.LoadMode, String) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Loads validated streams without closing them.
- loadUnchecked(InputStream, Charset, boolean) - Static method in class opennlp.tools.stopword.DictionaryStopwordFilter
-
Convenience factory equivalent to
DictionaryStopwordFilter(InputStream, Charset, boolean)but wrapping anyIOExceptionthrown during reading in anUncheckedIOException. - locale - Variable in class opennlp.tools.formats.NameFinderCensus90NameStream
- locale - Variable in class opennlp.tools.util.normalizer.CaseFoldCharSequenceNormalizer
-
The locale whose case rules are applied.
- localFile(URI) - Static method in class opennlp.tools.util.ResourceInstaller
-
Resolves a
filelocation to a path on the default filesystem. - localIndex - Variable in class opennlp.tools.util.DownloadUtil.DownloadParser
- location - Variable in class opennlp.tools.util.ext.ProviderSpec
- location() - Method in class opennlp.tools.util.ext.ProviderSpec
- locationEndsWith(String) - Method in class opennlp.tools.util.ext.ProviderSpec
-
Checks whether the last path segment of the location ends with a suffix, ignoring case.
- log(double) - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
- log(String) - Method in class opennlp.tools.log.LogPrintStream
- LOG_LIKELIHOOD - Enum constant in enum class opennlp.tools.monitoring.TrainingMeasure
- LOG_LIKELIHOOD_THRESHOLD_DEFAULT - Static variable in class opennlp.tools.ml.maxent.GISTrainer
- LOG_LIKELIHOOD_THRESHOLD_PARAM - Static variable in class opennlp.tools.ml.maxent.GISTrainer
- logger - Static variable in class opennlp.tools.chunker.ChunkSampleStream
- logger - Static variable in class opennlp.tools.depparse.DependencyEventStream
- logger - Static variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer
- logger - Static variable in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
- logger - Static variable in class opennlp.tools.formats.brat.BratDocumentParser
- logger - Static variable in class opennlp.tools.formats.conllu.ConlluDependencySampleStream
- logger - Static variable in class opennlp.tools.formats.masc.MascDocument
- logger - Static variable in class opennlp.tools.formats.masc.MascDocumentStream
- logger - Static variable in class opennlp.tools.formats.masc.MascNamedEntityParser
- logger - Static variable in class opennlp.tools.formats.masc.MascSentence
- logger - Static variable in class opennlp.tools.formats.masc.MascTokenSampleStream
- logger - Static variable in class opennlp.tools.lemmatizer.LemmaSampleStream
- logger - Variable in class opennlp.tools.log.LogPrintStream
- logger - Static variable in class opennlp.tools.ml.AbstractMLModelWriter
- logger - Static variable in class opennlp.tools.ml.maxent.GISTrainer
- logger - Static variable in class opennlp.tools.ml.maxent.io.GISModelReader
- logger - Static variable in class opennlp.tools.ml.maxent.io.QNModelReader
- logger - Static variable in class opennlp.tools.ml.maxent.quasinewton.ParallelNegLogLikelihood
- logger - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
- logger - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
- logger - Static variable in class opennlp.tools.ml.model.AbstractDataIndexer
- logger - Static variable in class opennlp.tools.ml.model.OnePassDataIndexer
- logger - Static variable in class opennlp.tools.ml.model.RealValueFileEventStream
- logger - Static variable in class opennlp.tools.ml.model.TwoPassDataIndexer
- logger - Static variable in class opennlp.tools.ml.naivebayes.NaiveBayesModelReader
- logger - Static variable in class opennlp.tools.ml.naivebayes.NaiveBayesTrainer
- logger - Static variable in class opennlp.tools.ml.perceptron.PerceptronModelReader
- logger - Static variable in class opennlp.tools.ml.perceptron.PerceptronModelWriter
- logger - Static variable in class opennlp.tools.ml.perceptron.PerceptronTrainer
- logger - Static variable in class opennlp.tools.ml.perceptron.SimplePerceptronSequenceTrainer
- logger - Static variable in class opennlp.tools.models.AbstractClassPathModelFinder
- logger - Static variable in class opennlp.tools.models.dir.DirectoryModelFinder
- logger - Static variable in class opennlp.tools.monitoring.DefaultTrainingProgressMonitor
- logger - Static variable in class opennlp.tools.parser.AbstractBottomUpParser
- logger - Static variable in class opennlp.tools.parser.chunking.Parser
- logger - Static variable in class opennlp.tools.parser.chunking.ParserEventStream
- logger - Static variable in class opennlp.tools.parser.Parse
- logger - Static variable in class opennlp.tools.parser.treeinsert.Parser
- logger - Static variable in class opennlp.tools.parser.treeinsert.ParserEventStream
- logger - Static variable in class opennlp.tools.postag.POSTagFormatMapper
- logger - Static variable in class opennlp.tools.postag.POSTaggerME
- logger - Static variable in class opennlp.tools.postag.WordTagSampleStream
- logger - Static variable in class opennlp.tools.tokenize.lang.en.TokenSampleStream
- logger - Static variable in class opennlp.tools.tokenize.TokSpanEventStream
- logger - Static variable in enum class opennlp.tools.util.CompatibilityMode
- logger - Static variable in class opennlp.tools.util.DownloadUtil
- logger - Static variable in class opennlp.tools.util.ext.Providers
- logger - Static variable in class opennlp.tools.util.StringUtil
- logger - Static variable in enum class opennlp.tools.util.WhitespaceMode
- LOGGER - Static variable in class opennlp.tools.util.jvm.StringInterners
- loglikelihood - Variable in class opennlp.tools.ml.maxent.GISTrainer.ModelExpectationComputeTask
- LogLikelihoodThresholdBreached - Class in opennlp.tools.monitoring
-
A
StopCriteriaimplementation to identify whether the difference between the log likelihood of current and previous iteration is under the defined threshold. - LogLikelihoodThresholdBreached(Parameters) - Constructor for class opennlp.tools.monitoring.LogLikelihoodThresholdBreached
- LogPrintStream - Class in opennlp.tools.log
-
This class serves as an adapter for a
Loggerused within aPrintStream. - LogPrintStream(Logger) - Constructor for class opennlp.tools.log.LogPrintStream
-
Creates a
LogPrintStreamfor the givenLogger. - LogPrintStream(Logger, Level) - Constructor for class opennlp.tools.log.LogPrintStream
- logPrior(double[], int[]) - Method in interface opennlp.tools.ml.model.Prior
-
Populates the specified array with the log of the distribution for the specified context.
- logPrior(double[], int[]) - Method in class opennlp.tools.ml.model.UniformPrior
- logPrior(double[], int[], float[]) - Method in interface opennlp.tools.ml.model.Prior
-
Populates the specified array with the log of the distribution for the specified context.
- logPrior(double[], int[], float[]) - Method in class opennlp.tools.ml.model.UniformPrior
- logPrior(double[], Context[], float[]) - Method in interface opennlp.tools.ml.model.Prior
-
Populates the specified array with the log of the distribution for the specified context.
- logPrior(double[], Context[], float[]) - Method in class opennlp.tools.ml.model.UniformPrior
- LogProbabilities<T> - Class in opennlp.tools.ml.naivebayes
-
Class implementing the probability distribution over labels returned by a classifier as a log of probabilities.
- LogProbabilities() - Constructor for class opennlp.tools.ml.naivebayes.LogProbabilities
- logProbability - Variable in class opennlp.tools.tokenize.lattice.UnigramSegmenter.WordTrie
- logProbability - Variable in class opennlp.tools.tokenize.lattice.UnigramSegmenter.WordTrieBuilder
- LogProbability<T> - Class in opennlp.tools.ml.naivebayes
-
A class implementing the logarithmic
Probabilityfor a label. - LogProbability(T) - Constructor for class opennlp.tools.ml.naivebayes.LogProbability
- logSoftmaxInPlace(double[]) - Static method in class opennlp.tools.depparse.FeedforwardNetwork
-
Turns finite raw scores into log-probabilities in place.
- logSumOfExps(double[]) - Static method in class opennlp.tools.ml.ArrayMath
-
Computes
\log(\sum_{i=1}^n e^{x_i})using a maximum-element trick to avoid arithmetic overflow. - LONG - Enum constant in enum class opennlp.tools.stemmer.hunspell.HunspellDictionary.FlagMode
-
Declared as
FLAG long: each pair of characters is one flag. - LONG_DISTANCE - Static variable in class opennlp.tools.depparse.DependencyContextGenerator
-
The feature value standing for every distance of
DependencyContextGenerator.MAX_DISTANCEor more. - LongArgumentFactory() - Constructor for class opennlp.tools.cmdline.ArgumentParser.LongArgumentFactory
- longestMatch(char[], int, int) - Method in class opennlp.tools.tokenize.WordpieceEncoder.VocabularyTrie
-
Returns the longest entry that starts at
from. - longestSpacedForm - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- longestSpacedForm(Set<String>, List<HunspellDictionary.Affix>, List<HunspellDictionary.Affix>) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Bounds the length of a word containing a space that can have a reading.
- LOOKALIKE_MEMBERSHIP - Static variable in class opennlp.tools.util.normalizer.UnicodeWhitespace
- lookalikes() - Static method in class opennlp.tools.util.normalizer.UnicodeWhitespace
-
Returns the related, non-whitespace look-alike format characters.
- LOOKALIKES - Static variable in class opennlp.tools.util.normalizer.UnicodeWhitespace
- lookup(CharSequence) - Static method in class opennlp.tools.util.normalizer.EmojiAnnotations
-
Returns the bundled annotation record of one emoji.
- lookup(ClassLoader) - Method in class opennlp.tools.util.ext.Providers
-
Looks the providers up, skipping the registrations that cannot be used.
- lookup(String) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Looks up a word's flag sets among the listed entries.
- lookup(String) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer.Analysis
-
Looks up a spelling, including hidden capitalized forms for all-uppercase input.
- lookup(String, boolean) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Looks up a word's flag sets, optionally including the hidden capitalized forms that all-uppercase input outside compounds may match.
- lookup(Map<String, Integer>, String, int) - Static method in class opennlp.tools.depparse.FeedforwardNetwork
-
Resolves a symbol to its embedding row: absences map to the reserved absent symbol, symbols without a row of their own to the reserved unknown symbol.
- Lookup(List<Providers.Registration<P>>, int) - Constructor for record class opennlp.tools.util.ext.Providers.Lookup
-
Creates an instance of a
Lookuprecord class. - LOOKUP_FAILED - Static variable in class opennlp.tools.util.ext.Providers
- lookupFailed(Throwable) - Method in class opennlp.tools.util.ext.Providers
- lookupToken(String) - Method in class opennlp.tools.util.featuregen.BrownCluster
-
Check if a token is in the Brown:paths, token map.
- lookupToken(String) - Method in class opennlp.tools.util.featuregen.WordClusterDictionary
- LOSS_PROBABILITY_FLOOR - Static variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer
-
The smallest probability the reported training loss takes the log of.
- lowercase - Variable in class opennlp.tools.util.featuregen.TokenFeatureGenerator
- lowerCase - Variable in class opennlp.tools.tokenize.WordpieceEncoder
- lowerCase(String) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Applies the dictionary's lowercase mapping.
- lowerCaseAndStripAccents(MappedText) - Method in class opennlp.tools.tokenize.WordpieceEncoder
-
Applies BERT lower casing and accent removal while retaining source ranges.
- lowerCaseDictionary - Variable in class opennlp.tools.util.featuregen.WordClusterFeatureGenerator
- lowerCaseInitial(String) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Converts the initial code point to lowercase with the dictionary's case mapping.
- lowerCaseRun(MappedText, int, int) - Method in class opennlp.tools.tokenize.WordpieceEncoder
-
Lowercases one run and retains a source range for each result code point.
- LOWEST_SCRIPT_CODE_POINT - Static variable in enum class opennlp.tools.tokenize.uax29.WordType
M
- m - Variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
- m - Variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer.UpdateInfo
- m - Variable in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
- m() - Method in class opennlp.tools.stemmer.PorterStemmer
- M - Variable in class opennlp.tools.parser.AbstractBottomUpParser
-
The maximum number of parses advanced from all preceding parses at each derivation step.
- M_DEFAULT - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
-
The default number of Hessian updates to store is
15. - M_DEFAULT - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
-
The default number of Hessian updates to store is
15. - M_PARAM - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
- MAGIC - Static variable in class opennlp.tools.depparse.FeedforwardNetwork.Serializer
-
The bytes every serialized network starts with.
- MAGIC_LENGTH - Static variable in class opennlp.tools.util.ResourceInstaller
- MAGIC_OFFSET - Static variable in class opennlp.tools.util.archive.TarStream
- MAIL_DOMAIN - Static variable in class opennlp.tools.util.normalizer.MailAddressScan
-
The set a domain continues with:
[-.0-9A-Za-z]. - MAIL_DOMAIN_START - Static variable in class opennlp.tools.util.normalizer.MailAddressScan
-
The set a domain may start with:
[-0-9A-Za-z]. - MAIL_LOCAL - Static variable in class opennlp.tools.util.normalizer.MailAddressScan
-
The mail local-part set, also the left-neighbor exclusion set:
[-+_.0-9A-Za-z]. - MailAddressScan - Class in opennlp.tools.util.normalizer
-
Finds email addresses in text for
UrlCharSequenceNormalizerand classifies whole tokens as email addresses. - MailAddressScan() - Constructor for class opennlp.tools.util.normalizer.MailAddressScan
- major - Variable in class opennlp.tools.util.Version
- malformed(boolean, String) - Static method in class opennlp.tools.util.normalizer.EmojiFlags
- malformed(String, int, String) - Static method in class opennlp.tools.util.normalizer.CodePointSet
- malformed(String, String) - Static method in class opennlp.tools.tokenize.TokenizerCharacterPolicy
-
Returns the exception for a text form that cannot be read.
- MALFORMED_RECORD - Static variable in class opennlp.tools.util.archive.TarStream
- MALFORMED_ZIP_ERROR - Static variable in class opennlp.tools.util.ResourceInstaller
- malformedEntry(Path, int, String) - Static method in class opennlp.tools.tokenize.lattice.MecabDictionary
-
Creates the exception for a lexicon line that cannot be read.
- MANIFEST_ENTRY - Static variable in class opennlp.tools.util.model.BaseModel
- MANIFEST_VERSION_PROPERTY - Static variable in class opennlp.tools.util.model.BaseModel
- manifestEntries(FeedforwardDependencyTrainer.Settings) - Static method in class opennlp.tools.depparse.FeedforwardDependencyTrainer
- map - Variable in class opennlp.tools.ml.naivebayes.Probabilities
- map - Variable in class opennlp.tools.util.jvm.CHMStringDeduplicator
- map - Variable in class opennlp.tools.util.jvm.CHMStringInterner
- map - Variable in class opennlp.tools.util.jvm.HMStringInterner
- map(int, int, String[]) - Method in class opennlp.tools.tokenize.lattice.CategoryTable.Builder
-
Records one inclusive code point range's categories.
- mapParseIndex(int, Parse[], Parse[]) - Method in class opennlp.tools.parser.AbstractBottomUpParser
- MappedText - Class in opennlp.tools.tokenize
-
The normalized text with the original-text range for each character.
- MappedText(int) - Constructor for class opennlp.tools.tokenize.MappedText
-
Creates an empty mapping.
- Mapping(int, String[]) - Constructor for record class opennlp.tools.tokenize.lattice.CategoryTable.Builder.Mapping
-
Creates an instance of a
Mappingrecord class. - Mapping(String, String) - Constructor for record class opennlp.tools.util.normalizer.EmojiEmoticons.Mapping
-
Creates an instance of a
Mappingrecord class. - MAPPING_CODE_POINT_SEPARATOR - Static variable in class opennlp.tools.util.normalizer.EmojiEmoticons
-
Separates hex code points inside a source or target field.
- MAPPING_CODE_POINT_SEPARATOR - Static variable in class opennlp.tools.util.normalizer.FullCaseFoldCharSequenceNormalizer
-
Separates hex code points inside a multi-character mapping field.
- mappings - Variable in class opennlp.tools.tokenize.lattice.CategoryTable.Builder
- mapPositionsToSpans(CharSequence, int[], List<Double>) - Method in class opennlp.tools.sentdetect.SentenceDetectorME
-
Maps accepted sentence-start positions to trimmed sentence
Spans, the core of the end-of-sentence position to span mapping (OPENNLP-205). - mapTagToType(String) - Static method in class opennlp.tools.formats.GermEval2014NameSampleStream
- MapWordVectorTable - Class in opennlp.tools.util.wordvector
- MapWordVectorTable(Map<String, WordVector>) - Constructor for class opennlp.tools.util.wordvector.MapWordVectorTable
- mark(int) - Method in class opennlp.tools.util.MarkableFileInputStream
- MarkableFileInputStream - Class in opennlp.tools.util
-
Implements a markable
FileInputStream. - MarkableFileInputStream(File) - Constructor for class opennlp.tools.util.MarkableFileInputStream
-
Initializes a
MarkableFileInputStream. - MarkableFileInputStreamFactory - Class in opennlp.tools.util
-
A factory that creates
MarkableFileInputStreamfrom aFile - MarkableFileInputStreamFactory(File) - Constructor for class opennlp.tools.util.MarkableFileInputStreamFactory
-
Initializes a
MarkableFileInputStreamFactory. - markedPosition - Variable in class opennlp.tools.util.MarkableFileInputStream
- markException - Variable in class opennlp.tools.util.MarkableFileInputStream
- marks - Variable in class opennlp.tools.tokenize.TokenizerCharacterPolicy
- MARKS_FIELD - Static variable in class opennlp.tools.tokenize.TokenizerCharacterPolicy
- markSupported() - Method in class opennlp.tools.util.MarkableFileInputStream
- Masc - Interface in opennlp.tools.formats.masc
-
A simple marker interface for classes that support or refer to the
Masc.MASC_FORMAT. - MASC_FORMAT - Static variable in interface opennlp.tools.formats.masc.Masc
- MascDocument - Class in opennlp.tools.formats.masc
- MascDocument(String, List<MascSentence>) - Constructor for class opennlp.tools.formats.masc.MascDocument
- MascDocumentStream - Class in opennlp.tools.formats.masc
- MascDocumentStream(File) - Constructor for class opennlp.tools.formats.masc.MascDocumentStream
- MascDocumentStream(File, boolean, FileFilter) - Constructor for class opennlp.tools.formats.masc.MascDocumentStream
-
Creates a MascDocumentStream to read the documents from a given directory.
- MascDocumentStream.HeaderHandler - Class in opennlp.tools.formats.masc
-
A helper class to parse the header (.hdr) files.
- MascIdentifiers - Class in opennlp.tools.formats.masc
-
Parses MASC identifier and anchor attributes; lists are separated by XML whitespace.
- MascIdentifiers() - Constructor for class opennlp.tools.formats.masc.MascIdentifiers
- MascNamedEntityParser - Class in opennlp.tools.formats.masc
-
A class to process the MASC Named entity stand-off annotation file
- MascNamedEntityParser() - Constructor for class opennlp.tools.formats.masc.MascNamedEntityParser
- MascNamedEntitySampleStream - Class in opennlp.tools.formats.masc
- MascNamedEntitySampleStream(ObjectStream<MascDocument>) - Constructor for class opennlp.tools.formats.masc.MascNamedEntitySampleStream
-
Initializes
MascNamedEntitySampleStreamfrom a stream ofdocuments. - MascNamedEntitySampleStreamFactory - Class in opennlp.tools.formats.masc
-
Note: Do not use this class, internal use only!
- MascNamedEntitySampleStreamFactory(Class<MascNamedEntitySampleStreamFactory.Parameters>) - Constructor for class opennlp.tools.formats.masc.MascNamedEntitySampleStreamFactory
- MascNamedEntitySampleStreamFactory.Parameters - Interface in opennlp.tools.formats.masc
- MascPennTagParser - Class in opennlp.tools.formats.masc
-
A class for parsing MASC's Penn tagging/tokenization stand-off annotation
- MascPennTagParser() - Constructor for class opennlp.tools.formats.masc.MascPennTagParser
- MascPOSSampleStream - Class in opennlp.tools.formats.masc
- MascPOSSampleStream(ObjectStream<MascDocument>) - Constructor for class opennlp.tools.formats.masc.MascPOSSampleStream
-
Initializes
MascPOSSampleStreamfrom a stream ofdocuments. - MascPOSSampleStreamFactory - Class in opennlp.tools.formats.masc
-
Note: Do not use this class, internal use only!
- MascPOSSampleStreamFactory(Class<MascPOSSampleStreamFactory.Parameters>) - Constructor for class opennlp.tools.formats.masc.MascPOSSampleStreamFactory
- MascPOSSampleStreamFactory.Parameters - Interface in opennlp.tools.formats.masc
- MascSentence - Class in opennlp.tools.formats.masc
- MascSentence(int, int, String, List<MascWord>, List<MascWord>) - Constructor for class opennlp.tools.formats.masc.MascSentence
-
Initializes a
MascSentencecontaining its associated text and quarks - MascSentence.QuarkExtractor - Record Class in opennlp.tools.formats.masc
-
A helper class to extract the extract a quark from the corpus file even if it is beyond the bounds of the sentence.
- MascSentenceParser - Class in opennlp.tools.formats.masc
-
A class to parse the sentence segmentation stand-off annotation.
- MascSentenceParser() - Constructor for class opennlp.tools.formats.masc.MascSentenceParser
- MascSentenceSampleStream - Class in opennlp.tools.formats.masc
- MascSentenceSampleStream(ObjectStream<MascDocument>, int) - Constructor for class opennlp.tools.formats.masc.MascSentenceSampleStream
- MascSentenceSampleStreamFactory - Class in opennlp.tools.formats.masc
-
Note: Do not use this class, internal use only!
- MascSentenceSampleStreamFactory(Class<MascSentenceSampleStreamFactory.Parameters>) - Constructor for class opennlp.tools.formats.masc.MascSentenceSampleStreamFactory
- MascSentenceSampleStreamFactory.Parameters - Interface in opennlp.tools.formats.masc
- MascToken - Class in opennlp.tools.formats.masc
- MascToken(int, int, int, String, String, MascWord[]) - Constructor for class opennlp.tools.formats.masc.MascToken
-
Initializes a
MascTokenwhich may combine multiple quarks. - MascTokenSampleStream - Class in opennlp.tools.formats.masc
- MascTokenSampleStream(ObjectStream<MascDocument>) - Constructor for class opennlp.tools.formats.masc.MascTokenSampleStream
-
Initializes a
MascTokenSampleStream. - MascTokenSampleStreamFactory - Class in opennlp.tools.formats.masc
-
Note: Do not use this class, internal use only!
- MascTokenSampleStreamFactory(Class<MascTokenSampleStreamFactory.Parameters>) - Constructor for class opennlp.tools.formats.masc.MascTokenSampleStreamFactory
- MascTokenSampleStreamFactory.Parameters - Interface in opennlp.tools.formats.masc
- MascWord - Class in opennlp.tools.formats.masc
- MascWord(int, int, int) - Constructor for class opennlp.tools.formats.masc.MascWord
-
Holds one of MASC's quarks, that is: basic-level units (may be sub-word).
- MascWordParser - Class in opennlp.tools.formats.masc
-
Class to parse the word ("quark") segmentation stand-off annotation.
- MascWordParser() - Constructor for class opennlp.tools.formats.masc.MascWordParser
- maskIgnoredAffixLines(byte[], HunspellDictionary.LoadMode, String) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Replaces comments and unused directive lines with ASCII spaces before strict decoding.
- maskInlineComment(byte[], int, int, String) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Replaces a trailing comment with spaces.
- match(CharSequence, int) - Method in class opennlp.tools.util.normalizer.UnicodeEmojiSequences
-
Returns the index after the longest complete sequence starting at
start, or-1if none starts there. - matchAt(CharSequence, int, List<EmojiEmoticons.Mapping>, boolean) - Static method in class opennlp.tools.util.normalizer.EmojiEmoticons
-
Finds the winning candidate at position
i. - matchEnd - Variable in record class opennlp.tools.util.normalizer.UnicodeEmojiSequences.Walk
-
The field for the
matchEndrecord component. - matchEnd() - Method in record class opennlp.tools.util.normalizer.UnicodeEmojiSequences.Walk
-
Returns the value of the
matchEndrecord component. - matchEnd(CharSequence, int) - Static method in class opennlp.tools.util.normalizer.MailAddressScan
-
Finds the end of an email address that starts at an index.
- matches(String) - Method in class opennlp.tools.stemmer.hunspell.AffixCondition
-
Tests a candidate stem against the condition at its anchored side: the last positions of the stem for a suffix condition, the first positions for a prefix condition.
- matches(String, int[], String, int[], List<HunspellDictionary.Affix>, List<HunspellDictionary.Affix>) - Method in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.CompoundPattern
-
Checks the selected readings at a junction.
- matches(String, String) - Static method in class opennlp.tools.models.WildcardMatcher
-
Tests whether the whole
inputis covered bywildcard. - matches(List<int[]>, boolean) - Method in class opennlp.tools.stemmer.hunspell.HunspellCompoundRule
-
Tests a sequence of selected homonyms.
- matchesWildcard(URL, String) - Method in class opennlp.tools.models.AbstractClassPathModelFinder
-
Checks whether the decoded file part of
urlmatcheswildcardfrom start to end, where*stands for any run of characters,?for exactly one Unicode code point, and every other character for itself. - matchHyphenatedToken(String) - Method in class opennlp.tools.formats.ad.ADNameSampleStream
-
Splits a hyphenated token into the letters before the hyphen, the letters after it, and the rest.
- matchingAnalyzer - Variable in class opennlp.tools.util.normalizer.NormalizationProfile
-
The matching analyzer, built on the first call to
NormalizationProfile.matchingAnalyzer(). - matchingAnalyzer() - Method in class opennlp.tools.util.normalizer.NormalizationProfile
-
Returns the matching analyzer for this language: NFC, case folding, the language's diacritic fold when it has one, then stemming.
- matchLegacyUrlEnd(CharSequence, int) - Method in class opennlp.tools.util.normalizer.UrlCharSequenceNormalizer
-
Returns the exclusive end of a legacy URL match starting at
start, or-1if there is none. - mathematical() - Static method in class opennlp.tools.util.normalizer.UnicodeDash
-
Returns the mathematical minus signs, excluded from the default normalization set.
- MATHEMATICAL - Static variable in class opennlp.tools.util.normalizer.UnicodeDash
- MATRIX_DEF - Static variable in class opennlp.tools.tokenize.lattice.MecabDictionary
- mAttributes - Variable in class opennlp.tools.dictionary.serializer.DictionaryEntryPersistor.DictionaryContenthandler
- max(double[]) - Static method in class opennlp.tools.ml.ArrayMath
-
Finds the maximum element in a vector
x. - MAX_ANALYSES - Static variable in class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Maximum distinct morphological readings returned for one input.
- MAX_ARRAY_SIZE - Static variable in class opennlp.tools.tokenize.uax29.WordSegmenter.IntList
- MAX_ARRAY_SIZE - Static variable in class opennlp.tools.util.normalizer.Alignment.Builder
- MAX_CAPACITY - Static variable in class opennlp.tools.tokenize.MappedText
-
The largest capacity the buffers grow to.
- MAX_CASE_VARIANTS - Static variable in class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Maximum case variants considered for CHECKSHARPS.
- MAX_CATEGORY_COUNT - Static variable in class opennlp.tools.tokenize.lattice.MecabDictionary
-
Maximum category count accepted by MeCab's character-property compiler.
- MAX_CATEGORY_LENGTH - Static variable in class opennlp.tools.tokenize.lattice.MecabDictionary
-
Maximum value of MeCab's 4-bit category length field.
- MAX_CHUNK_SIZE_BYTES - Static variable in class opennlp.tools.ml.model.ModelParameterChunker
- MAX_COMPOUND_MIN - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Largest
COMPOUNDMINvalue that can be doubled without overflow. - MAX_COMPOUND_PARTS - Static variable in class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Maximum parts in one compound analysis.
- MAX_CONSECUTIVE_FAILURES - Static variable in class opennlp.tools.util.ext.Providers
-
Bounds a lookup whose iterator neither yields a provider nor reaches its end, which
ServiceLoaderdoes when it cannot list the service files at all. - MAX_DISTANCE - Static variable in class opennlp.tools.depparse.DependencyContextGenerator
-
Distances at or above this bound share the
DependencyContextGenerator.LONG_DISTANCEfeature value. - MAX_DOWNLOAD_BYTES_PROPERTY - Static variable in record class opennlp.tools.util.ResourceInstaller.Limits
-
The system property overriding the default download limit in bytes.
- MAX_ELEMENTS - Static variable in class opennlp.tools.stemmer.hunspell.HunspellCompoundRule
-
Maximum elements in one compound pattern.
- MAX_EMBEDDING_SIZE - Static variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer
-
The maximum embedding width.
- MAX_ENTRIES - Static variable in class opennlp.tools.util.ResourceLimits
-
Upper bound on count fields and resource sizes that drive allocations (matrix dimensions, lexicon entries, model outcome counts, and similar).
- MAX_ENTRIES_PROPERTY - Static variable in record class opennlp.tools.util.ResourceInstaller.Limits
-
The system property overriding the default archive entry limit.
- MAX_ENTRIES_PROPERTY - Static variable in class opennlp.tools.util.ResourceLimits
-
System property for overriding
ResourceLimits.MAX_ENTRIES. - MAX_EXPANDED_BYTES_PROPERTY - Static variable in record class opennlp.tools.util.ResourceInstaller.Limits
-
The system property overriding the default expansion limit in bytes.
- MAX_EXPANSION_RATIO_PROPERTY - Static variable in record class opennlp.tools.util.ResourceInstaller.Limits
-
The system property overriding the default expansion ratio.
- MAX_EXTENSION_BYTES - Static variable in class opennlp.tools.util.archive.TarStream
- MAX_FCT_EVAL_DEFAULT - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
-
The default maximum number of function evaluations is
30,000. - MAX_FCT_EVAL_DEFAULT - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
-
The default maximum number of function evaluations is
30,000. - MAX_FCT_EVAL_PARAM - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
- MAX_HIDDEN_SIZE - Static variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer
-
The maximum hidden-layer width.
- MAX_MATRIX_CELLS - Static variable in class opennlp.tools.util.ResourceLimits
-
Upper bound on the cell count of a two-dimensional cost table, whose entries are far smaller than the record-sized entries
ResourceLimits.MAX_ENTRIESbounds. - MAX_MATRIX_CELLS_PROPERTY - Static variable in class opennlp.tools.util.ResourceLimits
-
System property for overriding
ResourceLimits.MAX_MATRIX_CELLS. - MAX_NAME_LENGTH - Static variable in class opennlp.tools.util.ext.Providers
- MAX_NUMERIC_FLAG - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Largest flag value permitted by
FLAG num: the full unsigned 16-bit range. - MAX_PAYLOAD_DEPTH - Static variable in class opennlp.tools.tokenize.lattice.MecabDictionaryInstaller
-
The deepest entry path, relative to the archive root, that holds payload.
- MAX_STREAM_BYTES - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Inclusive upper bound on bytes buffered from one affix or dictionary stream during
HunspellDictionary.load(InputStream, InputStream). - MAX_TAGS_PER_RULE - Static variable in class opennlp.tools.parser.lang.en.HeadRules
- MAX_TAGS_PER_RULE - Static variable in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules
- MAX_VALENCY - Static variable in class opennlp.tools.depparse.DependencyContextGenerator
-
Valency counts at or above this bound share one feature value.
- maxCompoundSyllables - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary.AffixFile
- maxCompoundSyllables - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- maxDownloadBytes - Variable in class opennlp.tools.util.ResourceInstaller.Limits.Builder
- maxDownloadBytes - Variable in record class opennlp.tools.util.ResourceInstaller.Limits
-
The field for the
maxDownloadBytesrecord component. - maxDownloadBytes() - Method in record class opennlp.tools.util.ResourceInstaller.Limits
-
Returns the value of the
maxDownloadBytesrecord component. - maxDownloadBytes(long) - Method in class opennlp.tools.util.ResourceInstaller.Limits.Builder
-
Sets the largest download accepted.
- MAXENT - Enum constant in enum class opennlp.tools.ml.AlgorithmType
- MAXENT - Enum constant in enum class opennlp.tools.util.model.ModelType
- MAXENT_MODEL_ENTRY_NAME - Static variable in class opennlp.tools.namefind.TokenNameFinderModel
- MAXENT_MODEL_ENTRY_NAME - Static variable in class opennlp.tools.sentdetect.SentenceModel
- MAXENT_QN - Enum constant in enum class opennlp.tools.ml.AlgorithmType
- MAXENT_QN_VALUE - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
- maxentModel - Variable in class opennlp.tools.sentiment.SentimentME
- MaxentModel - Interface in opennlp.tools.ml.model
-
Interface for maximum entropy models.
- maxEntries - Variable in class opennlp.tools.util.archive.TarStream
- maxEntries - Variable in class opennlp.tools.util.ResourceInstaller.Limits.Builder
- maxEntries - Variable in record class opennlp.tools.util.ResourceInstaller.Limits
-
The field for the
maxEntriesrecord component. - maxEntries() - Method in record class opennlp.tools.util.ResourceInstaller.Limits
-
Returns the value of the
maxEntriesrecord component. - maxEntries(long) - Method in class opennlp.tools.util.ResourceInstaller.Limits.Builder
-
Sets the largest number of archive entries accepted.
- maxEntryLength - Variable in class opennlp.tools.sentdetect.SentenceDetectorME.AbbreviationIndex
-
The longest entry length, that is how far past a candidate a relevant match can reach.
- maxExpandedBytes - Variable in class opennlp.tools.util.ResourceInstaller.Limits.Builder
- maxExpandedBytes - Variable in record class opennlp.tools.util.ResourceInstaller.Limits
-
The field for the
maxExpandedBytesrecord component. - maxExpandedBytes() - Method in record class opennlp.tools.util.ResourceInstaller.Limits
-
Returns the value of the
maxExpandedBytesrecord component. - maxExpandedBytes(long) - Method in class opennlp.tools.util.ResourceInstaller.Limits.Builder
-
Sets the largest expanded byte count accepted.
- maxExpansionRatio - Variable in class opennlp.tools.util.ResourceInstaller.Limits.Builder
- maxExpansionRatio - Variable in record class opennlp.tools.util.ResourceInstaller.Limits
-
The field for the
maxExpansionRatiorecord component. - maxExpansionRatio() - Method in record class opennlp.tools.util.ResourceInstaller.Limits
-
Returns the value of the
maxExpansionRatiorecord component. - maxExpansionRatio(long) - Method in class opennlp.tools.util.ResourceInstaller.Limits.Builder
-
Sets the largest expanded size accepted per compressed byte of a source.
- maxFctEval - Variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
- maxFctEval - Variable in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
- maxFirst - Variable in record class opennlp.tools.util.normalizer.EmojiEmoticons.Direction
-
The field for the
maxFirstrecord component. - maxFirst() - Method in record class opennlp.tools.util.normalizer.EmojiEmoticons.Direction
-
Returns the value of the
maxFirstrecord component. - maxGram - Variable in class opennlp.tools.doccat.NGramFeatureGenerator
- maxLength - Variable in class opennlp.tools.langdetect.DefaultLanguageDetectorContextGenerator
- maxLength - Variable in class opennlp.tools.langdetect.LanguageDetectorConfig
- maxLength - Variable in class opennlp.tools.util.featuregen.CharacterNgramFeatureGenerator
- maxRedirects - Variable in class opennlp.tools.util.ResourceInstaller.Limits.Builder
- maxRedirects - Variable in record class opennlp.tools.util.ResourceInstaller.Limits
-
The field for the
maxRedirectsrecord component. - maxRedirects() - Method in record class opennlp.tools.util.ResourceInstaller.Limits
-
Returns the value of the
maxRedirectsrecord component. - maxRedirects(int) - Method in class opennlp.tools.util.ResourceInstaller.Limits.Builder
-
Sets how many http redirects to follow before failing.
- maxTokenCount - Variable in class opennlp.tools.dictionary.Dictionary
- maxTokenLength - Variable in class opennlp.tools.tokenize.uax29.WordTokenizer
- maxTokenLength - Variable in class opennlp.tools.tokenize.WordpieceTokenizer
- maxTokenLength(int) - Method in class opennlp.tools.util.normalizer.TermAnalyzer.Builder
-
Sets the maximum token length of the tokenizer used by
TermAnalyzer.analyze(CharSequence). - maxWordCodePoints - Variable in class opennlp.tools.tokenize.WordpieceEncoder
- MAY_BREAK - Enum constant in enum class opennlp.tools.util.normalizer.UnicodeWhitespace.Breaking
-
A break opportunity, but not a forced line break (e.g.
- mayReadSpacedForm(int) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Tests whether a word containing a space can have a reading, so that the compound word-pair check can skip texts no reading can match.
- mayStand(int[], HunspellDictionary.CompoundPosition) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Checks whether one homonym may stand as a bare compound part at a position.
- mayStand(List<int[]>, HunspellDictionary.CompoundPosition) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Checks whether a listed word may stand at a compound position: some homonym's flag set contains the general compound flag or the position's dedicated flag and is not forbidden.
- mContextGenerator - Variable in class opennlp.tools.doccat.DocumentCategorizerEventStream
- mContextGenerator - Variable in class opennlp.tools.doccat.DocumentCategorizerME
- mContextGenerator - Variable in class opennlp.tools.langdetect.LanguageDetectorEventStream
- mContextGenerator - Variable in class opennlp.tools.langdetect.LanguageDetectorME
- mDictionary - Variable in class opennlp.tools.namefind.DictionaryNameFinder
- mean() - Method in class opennlp.tools.util.eval.Mean
- Mean - Class in opennlp.tools.util.eval
-
Calculates the arithmetic mean of values added with the
Mean.add(double)method. - Mean() - Constructor for class opennlp.tools.util.eval.Mean
- measureName - Variable in enum class opennlp.tools.monitoring.TrainingMeasure
- MecabDictionary - Class in opennlp.tools.tokenize.lattice
-
An immutable, in-memory dictionary in the MeCab directory format: lexicon entries from the
*.csvfiles, connection costs frommatrix.def, character categories fromchar.def, and unknown-word templates fromunk.def, loaded from a user-supplied dictionary directory. - MecabDictionary(DoubleArrayLexicon, short[], int, Map<String, MecabDictionary.Category>, CategoryTable, Map<String, List<MecabDictionary.WordEntry>>) - Constructor for class opennlp.tools.tokenize.lattice.MecabDictionary
-
Creates an immutable dictionary from parsed lexicon and definition data.
- MecabDictionary.Category - Record Class in opennlp.tools.tokenize.lattice
-
One character category's unknown-word behavior from
char.def. - MecabDictionary.PrefixMatchConsumer - Interface in opennlp.tools.tokenize.lattice
-
Receives one common-prefix match during
MecabDictionary.prefixMatches(java.lang.String, int, int, opennlp.tools.tokenize.lattice.MecabDictionary.PrefixMatchConsumer). - MecabDictionary.WordEntry - Record Class in opennlp.tools.tokenize.lattice
-
One lexicon or unknown-word entry.
- MecabDictionaryInstaller - Class in opennlp.tools.tokenize.lattice
-
Fetches and unpacks a MeCab-format dictionary archive into a local directory, so the dictionary is acquired by the user at install time and never ships with this library.
- MecabDictionaryInstaller() - Constructor for class opennlp.tools.tokenize.lattice.MecabDictionaryInstaller
-
Prevents construction of this utility class.
- members - Variable in class opennlp.tools.util.normalizer.CharClass
- members - Variable in class opennlp.tools.util.normalizer.CodePointSet
- members() - Static method in class opennlp.tools.tokenize.uax29.ExtendedPictographic
-
Returns the resolved member bit set.
- members() - Method in class opennlp.tools.util.normalizer.CharClass
-
Returns the member code points of this class.
- MEMBERS - Static variable in class opennlp.tools.tokenize.uax29.ExtendedPictographic
- MEMBERSHIP - Static variable in class opennlp.tools.util.normalizer.UnicodeDash
- MEMBERSHIP - Static variable in class opennlp.tools.util.normalizer.UnicodeWhitespace
- MENTION_SOURCE - Static variable in class opennlp.tools.namefind.NameFinderAnnotator
-
Introduces a rejected mention in exception messages.
- merge(Document) - Method in interface opennlp.tools.document.Document
-
Returns a document combining this document's layers with another document's layers over the same text, joining documents grown independently, for example by pipelines that ran in parallel.
- merge(Document, Document.DuplicateLayerPolicy) - Method in interface opennlp.tools.document.Document
-
Returns a document combining this document's layers with another document's layers over the same text, resolving duplicate layer keys with
duplicateLayers. - merge(Document, Document.DuplicateLayerPolicy) - Method in class opennlp.tools.document.ImmutableDocument
-
Returns a document combining this document's layers with another document's layers over the same text, resolving duplicate layer keys with
duplicateLayers. - MERGE_BOTH - Enum constant in enum class opennlp.tools.tokenize.Detokenizer.DetokenizationOperation
-
The current token should be attached to the string on the left side, as well as to the start token on the right side.
- MERGE_TO_LEFT - Enum constant in enum class opennlp.tools.tokenize.Detokenizer.DetokenizationOperation
-
The current token should be attached to the string on the left side.
- MERGE_TO_RIGHT - Enum constant in enum class opennlp.tools.tokenize.Detokenizer.DetokenizationOperation
-
The current token should be attached to the start token on the right side.
- mergeAnnotation(ConlluWordLine, List<ConlluWordLine>) - Method in class opennlp.tools.formats.conllu.ConlluStream
-
Merges token level annotations.
- mergeInto(FMeasure) - Method in class opennlp.tools.util.eval.FMeasure
-
Merge results into
metric. - mergeRanks - Variable in class opennlp.tools.tokenize.BPETokenizer
-
Maps each merge pair to its priority rank.
- mergeReportIntoManifest(Map<String, String>, Map<String, String>, String) - Static method in class opennlp.tools.parser.chunking.Parser
- MERGES_ENTRY_NAME - Static variable in class opennlp.tools.tokenize.BPETokenizerFactory
-
The artifact entry name for BPE merge rules.
- message - Variable in exception class opennlp.tools.cmdline.TerminateToolException
- message - Variable in class opennlp.tools.util.ResourceInstaller.Budget
- meta - Variable in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
- META_LABEL_FINAL - Static variable in record class opennlp.tools.formats.ad.ADSentenceStream.Sentence
- metadata - Variable in record class opennlp.tools.formats.ad.ADSentenceStream.Sentence
-
The field for the
metadatarecord component. - metadata() - Method in record class opennlp.tools.formats.ad.ADSentenceStream.Sentence
-
Returns the value of the
metadatarecord component. - method - Variable in class opennlp.tools.stemmer.snowball.Among
- methodNameToParameter(String) - Static method in class opennlp.tools.cmdline.ArgumentParser
- methodObject - Static variable in class opennlp.tools.stemmer.snowball.finnishStemmer
- methodObject - Static variable in class opennlp.tools.stemmer.snowball.indonesianStemmer
- mFeatureGenerators - Variable in class opennlp.tools.doccat.DocumentCategorizerContextGenerator
- MGRS - Enum constant in enum class opennlp.tools.namefind.RegexNameFinderFactory.DEFAULT_REGEX_NAME_FINDER
- MID_LETTER - Enum constant in enum class opennlp.tools.tokenize.uax29.WordBreak
-
Characters that join letters (for example the middle dot).
- MID_NUM - Enum constant in enum class opennlp.tools.tokenize.uax29.WordBreak
-
Characters that join numbers (for example the comma).
- MID_NUM_LET - Enum constant in enum class opennlp.tools.tokenize.uax29.WordBreak
-
Characters that join letters or numbers (for example the full stop).
- MIDDLE - Enum constant in enum class opennlp.tools.stemmer.hunspell.HunspellDictionary.CompoundPosition
-
Any part between the first and the last.
- MIN_DOMAIN_LENGTH - Static variable in class opennlp.tools.util.normalizer.MailAddressScan
- MIN_EXPANSION_BYTES - Static variable in class opennlp.tools.util.ResourceInstaller
-
The expanded size every compressed source may reach regardless of the ratio.
- MIN_FOLDS - Static variable in class opennlp.tools.depparse.DependencyCrossValidator
-
The smallest fold count that leaves training data for every fold.
- MIN_GROWTH - Static variable in class opennlp.tools.tokenize.MappedText
-
The smallest capacity the buffers grow to from empty.
- MIN_HEX_DIGITS - Static variable in class opennlp.tools.tokenize.TokenizerCharacterPolicy
- MIN_REFINE_BEAM_SIZE - Static variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer
-
The smallest beam that can lose the gold derivation to another path.
- MIN_STEP_SIZE - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
-
The minimum step size:
1e-10. - MIN_TRANSITIONS - Static variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer
-
SHIFT and at least one RIGHT_ARC are required to parse a sentence.
- minConsecImprovements - Variable in class opennlp.tools.langdetect.LanguageDetectorConfig
- minDiff - Variable in class opennlp.tools.langdetect.LanguageDetectorConfig
- minFirst - Variable in record class opennlp.tools.util.normalizer.EmojiEmoticons.Direction
-
The field for the
minFirstrecord component. - minFirst() - Method in record class opennlp.tools.util.normalizer.EmojiEmoticons.Direction
-
Returns the value of the
minFirstrecord component. - minGram - Variable in class opennlp.tools.doccat.NGramFeatureGenerator
- minimize(Function) - Method in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
-
Finds the parameters that minimize the objective function.
- minimum(int, int, int) - Static method in class opennlp.tools.util.StringUtil
-
Get the minimum of three values.
- minLength - Variable in class opennlp.tools.langdetect.DefaultLanguageDetectorContextGenerator
- minLength - Variable in class opennlp.tools.util.featuregen.CharacterNgramFeatureGenerator
- minor - Variable in class opennlp.tools.util.Version
- mInserter - Variable in class opennlp.tools.dictionary.serializer.DictionaryEntryPersistor.DictionaryContenthandler
- minTokenCount - Variable in class opennlp.tools.dictionary.Dictionary
- misc - Variable in class opennlp.tools.formats.conllu.ConlluWordLine
- mIsCaseSensitiveDictionary - Variable in class opennlp.tools.dictionary.serializer.DictionaryEntryPersistor.DictionaryContenthandler
- misclassified(T, T) - Method in interface opennlp.tools.util.eval.EvaluationMonitor
- mIsInsideTokenElement - Variable in class opennlp.tools.dictionary.serializer.DictionaryEntryPersistor.DictionaryContenthandler
- MISSING_OUTCOME - Static variable in class opennlp.tools.ml.model.EventFields
-
Message for a blank line; the line is filled in.
- mNameValueMap - Variable in class opennlp.tools.dictionary.serializer.Attributes
- mNGrams - Variable in class opennlp.tools.ngram.NGramCharModel
- mNGrams - Variable in class opennlp.tools.ngram.NGramModel
- mode - Variable in class opennlp.tools.termvector.TermVectorAnnotator
- Mode() - Constructor for enum class opennlp.tools.termvector.TermVectorAnnotator.Mode
- MODE_PROPERTY - Static variable in enum class opennlp.tools.util.CompatibilityMode
-
System property that selects the active
CompatibilityModeat startup. - MODE_PROPERTY - Static variable in enum class opennlp.tools.util.WhitespaceMode
-
System property that selects the active
WhitespaceModeat startup. - model - Variable in class opennlp.tools.chunker.ChunkerME
-
The model used to assign chunk tags to a sequence of tokens.
- model - Variable in class opennlp.tools.depparse.DependencyParserME
- model - Variable in class opennlp.tools.doccat.DocumentCategorizerME
- model - Variable in class opennlp.tools.langdetect.LanguageDetectorME
- model - Variable in class opennlp.tools.langdetect.ThreadSafeLanguageDetectorME
-
Deprecated.
- model - Variable in class opennlp.tools.lemmatizer.LemmatizerME
- model - Variable in class opennlp.tools.ml.BeamSearch
- model - Variable in record class opennlp.tools.models.ClassPathModel
-
The field for the
modelrecord component. - model - Variable in record class opennlp.tools.models.ClassPathModelEntry
-
The field for the
modelrecord component. - model - Variable in class opennlp.tools.namefind.NameFinderME
- model - Variable in class opennlp.tools.postag.POSTaggerME
- model - Variable in class opennlp.tools.sentdetect.SentenceDetectorME
-
The maximum entropy model to use to evaluate contexts.
- model - Variable in class opennlp.tools.sentdetect.ThreadSafeSentenceDetectorME
-
Deprecated.
- model - Variable in class opennlp.tools.tokenize.TokenizerME
- model() - Method in record class opennlp.tools.models.ClassPathModel
-
Returns the value of the
modelrecord component. - model() - Method in record class opennlp.tools.models.ClassPathModelEntry
-
Returns the value of the
modelrecord component. - MODEL_SUFFIX - Static variable in class opennlp.tools.util.ResourceInstaller
-
OpenNLP model files are packed zip archives; install them packed.
- MODEL_URI_PATH - Static variable in class opennlp.tools.util.DownloadUtil
- ModelEvaluator(DataIndexer<TrainingParameters>) - Constructor for record class opennlp.tools.ml.maxent.quasinewton.QNTrainer.ModelEvaluator
-
Creates an instance of a
ModelEvaluatorrecord class. - ModelExpectationComputeTask(int, int, int) - Constructor for class opennlp.tools.ml.maxent.GISTrainer.ModelExpectationComputeTask
- modelExpects - Variable in class opennlp.tools.ml.maxent.GISTrainer
-
Stores the expected values of the features based on the current models
- modelFormat - Variable in class opennlp.tools.postag.POSTagFormatMapper
- modeLock - Variable in class opennlp.tools.util.OwnerOrPerThreadState
- modelPackage - Variable in class opennlp.tools.postag.POSTaggerME
- ModelParameterChunker - Class in opennlp.tools.ml.model
-
A helper class that handles Strings with more than 64k (65535 bytes) in length.
- ModelParameterChunker() - Constructor for class opennlp.tools.ml.model.ModelParameterChunker
- models - Variable in class opennlp.tools.models.AbstractClassPathModelFinder
- modelType - Variable in enum class opennlp.tools.ml.AlgorithmType
- modelType - Variable in class opennlp.tools.ml.model.AbstractModel
-
The type of the model.
- ModelType - Enum Class in opennlp.tools.models
-
A model type to pattern enumeration.
- ModelType - Enum Class in opennlp.tools.util.model
-
Enumeration of supported model types.
- ModelType() - Constructor for enum class opennlp.tools.util.model.ModelType
- ModelType(String) - Constructor for enum class opennlp.tools.models.ModelType
- ModelUtil - Class in opennlp.tools.util.model
-
Utility class for handling of
models. - ModelUtil() - Constructor for class opennlp.tools.util.model.ModelUtil
- Morpheme - Record Class in opennlp.tools.tokenize.lattice
-
One morpheme from lattice segmentation: the
Spanit covers in the original text, its surface form, and the feature columns its dictionary entry carries. - Morpheme(Span, String, List<String>, boolean) - Constructor for record class opennlp.tools.tokenize.lattice.Morpheme
-
Validates the morpheme.
- morphological - Variable in class opennlp.tools.stemmer.hunspell.HunspellStemmer.Results
- morphologicalAnalyses(String, int[], boolean, HunspellDictionary.Affix...) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Returns morphological fields for matching dictionary entries and applied rules: prefix fields, then entry fields, then suffix fields.
- morphologicalStem(String, List<String>, HunspellDictionary.Affix...) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Applies morphological stem and affix fields to one dictionary entry.
- morphologicalStems(String, int[], HunspellDictionary.Affix...) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Returns a stem after applying entry and affix morphology.
- morphologicalTag - Variable in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.TreeElement
- morphology - Variable in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.Affix
-
The field for the
morphologyrecord component. - morphology - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- morphology() - Method in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.Affix
-
Returns the value of the
morphologyrecord component. - morphology(String, ADSentenceStream.SentenceParser.LeafEnd) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
-
Reads the morphological tag at the end of a leaf line.
- MORPHOLOGY_ALIAS_TAG - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- morphologyAliases - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary.AffixFile
- morphologyIndex(String) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Finds where the trailing morphological fields of a word-list entry begin, which terminates the word and its flag run.
- morphologyStart - Variable in record class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.LeafEnd
-
The field for the
morphologyStartrecord component. - morphologyStart() - Method in record class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.LeafEnd
-
Returns the value of the
morphologyStartrecord component. - MosesSentenceSampleStream - Class in opennlp.tools.formats.moses
-
Moses is a statistical machine translation system that allows you to automatically train translation models for any language pair.
- MosesSentenceSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.formats.moses.MosesSentenceSampleStream
-
Initializes a
MosesSentenceSampleStream. - MosesSentenceSampleStreamFactory - Class in opennlp.tools.formats.moses
-
Factory producing OpenNLP
MosesSentenceSampleStreamobjects. - MosesSentenceSampleStreamFactory(Class<MosesSentenceSampleStreamFactory.Parameters>) - Constructor for class opennlp.tools.formats.moses.MosesSentenceSampleStreamFactory
- MosesSentenceSampleStreamFactory.Parameters - Interface in opennlp.tools.formats.moses
- MOVE_BOTH - Enum constant in enum class opennlp.tools.tokenize.DetokenizationDictionary.Operation
-
Attaches the token to the token on the left and right sides.
- MOVE_LEFT - Enum constant in enum class opennlp.tools.tokenize.DetokenizationDictionary.Operation
-
Attaches the token to the token on the left side.
- MOVE_RIGHT - Enum constant in enum class opennlp.tools.tokenize.DetokenizationDictionary.Operation
-
Attaches the token to the token on the right side.
- moveIntoPlace(Path, Path) - Static method in class opennlp.tools.util.ResourceInstaller
-
Moves one staged file to its destination without replacing an existing file.
- mPatterns - Variable in class opennlp.tools.namefind.RegexNameFinder
- mTokenList - Variable in class opennlp.tools.dictionary.serializer.DictionaryEntryPersistor.DictionaryContenthandler
- Muc6NameSampleStreamFactory - Class in opennlp.tools.formats.muc
- Muc6NameSampleStreamFactory() - Constructor for class opennlp.tools.formats.muc.Muc6NameSampleStreamFactory
- Muc6NameSampleStreamFactory.Parameters - Interface in opennlp.tools.formats.muc
- MucElementNames - Class in opennlp.tools.formats.muc
- MucElementNames() - Constructor for class opennlp.tools.formats.muc.MucElementNames
- MucNameContentHandler - Class in opennlp.tools.formats.muc
- MucNameContentHandler(Tokenizer, List<NameSample>) - Constructor for class opennlp.tools.formats.muc.MucNameContentHandler
-
Initializes a
MucNameContentHandler. - MucNameSampleStream - Class in opennlp.tools.formats.muc
- MucNameSampleStream(Tokenizer, ObjectStream<String>) - Constructor for class opennlp.tools.formats.muc.MucNameSampleStream
-
Initializes a
MucNameSampleStream. - multiThreaded - Variable in class opennlp.tools.util.LastResultOwnerOrThreadLocal
- multiThreaded - Variable in class opennlp.tools.util.OwnerOrPerThreadState
- MULTIWORD_RANGE - Static variable in class opennlp.tools.formats.conllu.ConlluDependencySampleStream
-
Marks a multiword token range id such as
1-2. - MULTIWORD_SEPARATOR - Static variable in class opennlp.tools.formats.conllu.ConlluStream
- MultiwordRange(int, int) - Constructor for record class opennlp.tools.formats.conllu.ConlluStream.MultiwordRange
-
Creates an instance of a
MultiwordRangerecord class. - MutableContext - Class in opennlp.tools.ml.model
-
An extension of
Contextused to store parameters or expected values associated with this context which can be updated or assigned. - MutableContext(int[], double[]) - Constructor for class opennlp.tools.ml.model.MutableContext
-
Creates a new parameters object with the specified parameters associated with the specified outcome pattern.
- MutableInt - Class in opennlp.tools.util
-
This is a non-thread safe mutable int.
- MutableInt(int) - Constructor for class opennlp.tools.util.MutableInt
- MutableTagDictionary - Interface in opennlp.tools.postag
-
Interface that allows
TagDictionaryentries to be added and removed.
N
- n - Variable in class opennlp.tools.languagemodel.NGramLanguageModel
- NAIVE_BAYES - Enum constant in enum class opennlp.tools.ml.AlgorithmType
- NAIVE_BAYES_VALUE - Static variable in class opennlp.tools.ml.naivebayes.NaiveBayesTrainer
- NaiveBayesEvalParameters - Class in opennlp.tools.ml.naivebayes
-
Specialized
parametersfor the evaluation of a naive bayes classifier - NaiveBayesEvalParameters(Context[], int, double[], long) - Constructor for class opennlp.tools.ml.naivebayes.NaiveBayesEvalParameters
- NaiveBayesModel - Class in opennlp.tools.ml.naivebayes
-
A
MaxentModelimplementation of the multinomial Naive Bayes classifier model. - NaiveBayesModel(Context[], String[], String[]) - Constructor for class opennlp.tools.ml.naivebayes.NaiveBayesModel
-
Initializes a
NaiveBayesModel. - NaiveBayesModel(Context[], String[], Map<String, Context>, String[]) - Constructor for class opennlp.tools.ml.naivebayes.NaiveBayesModel
-
Initializes a
NaiveBayesModel. - NaiveBayesModelReader - Class in opennlp.tools.ml.naivebayes
-
The base class for readers of
models. - NaiveBayesModelReader(File) - Constructor for class opennlp.tools.ml.naivebayes.NaiveBayesModelReader
-
Initializes a
NaiveBayesModelReadervia aFile. - NaiveBayesModelReader(DataReader) - Constructor for class opennlp.tools.ml.naivebayes.NaiveBayesModelReader
-
Initializes a
NaiveBayesModelReadervia aDataReader. - NaiveBayesModelWriter - Class in opennlp.tools.ml.naivebayes
-
The base class for
NaiveBayesModelwriters. - NaiveBayesModelWriter(AbstractModel) - Constructor for class opennlp.tools.ml.naivebayes.NaiveBayesModelWriter
-
Initializes a
NaiveBayesModelWriterfor aNaiveBayes model. - NaiveBayesTrainer - Class in opennlp.tools.ml.naivebayes
-
Trains
modelsusing the combination of EM algorithm and Naive Bayes classifier which is described in: - NaiveBayesTrainer() - Constructor for class opennlp.tools.ml.naivebayes.NaiveBayesTrainer
-
Instantiates a
NaiveBayesTrainerwith default training parameters. - NaiveBayesTrainer(TrainingParameters) - Constructor for class opennlp.tools.ml.naivebayes.NaiveBayesTrainer
-
Instantiates a
NaiveBayesTrainerwith specificTrainingParameters. - name - Variable in class opennlp.tools.formats.ResourceAsStreamFactory
- name - Variable in class opennlp.tools.ml.model.ComparablePredicate
- name - Variable in enum class opennlp.tools.models.ModelType
- name - Variable in record class opennlp.tools.tokenize.lattice.MecabDictionary.Category
-
The field for the
namerecord component. - name - Variable in class opennlp.tools.tokenize.SimpleTokenizer.CharacterEnum
- name - Variable in class opennlp.tools.util.archive.TarStream
- name - Variable in record class opennlp.tools.util.ext.Providers.Registration
-
The field for the
namerecord component. - name - Variable in record class opennlp.tools.util.normalizer.UnicodeDash.DashCharacter
-
The field for the
namerecord component. - name - Variable in record class opennlp.tools.util.normalizer.UnicodeWhitespace.RelatedCharacter
-
The field for the
namerecord component. - name - Variable in record class opennlp.tools.util.normalizer.UnicodeWhitespace.WhitespaceCharacter
-
The field for the
namerecord component. - name() - Method in class opennlp.tools.stemmer.StemmerAnnotatorProvider
- name() - Method in record class opennlp.tools.tokenize.lattice.MecabDictionary.Category
-
Returns the value of the
namerecord component. - name() - Method in class opennlp.tools.util.archive.TarStream
-
Returns the current entry's name as stored in the archive; not
nullafter a successfulTarStream.next(). - name() - Method in interface opennlp.tools.util.ext.Provider
- name() - Method in record class opennlp.tools.util.ext.Providers.Registration
-
Returns the value of the
namerecord component. - name() - Method in record class opennlp.tools.util.normalizer.EmojiAnnotation
-
Returns the human-readable name (the CLDR short name), or empty when not annotated.
- name() - Method in record class opennlp.tools.util.normalizer.UnicodeDash.DashCharacter
-
Returns the value of the
namerecord component. - name() - Method in record class opennlp.tools.util.normalizer.UnicodeWhitespace.RelatedCharacter
-
Returns the value of the
namerecord component. - name() - Method in record class opennlp.tools.util.normalizer.UnicodeWhitespace.WhitespaceCharacter
-
Returns the value of the
namerecord component. - NAME - Static variable in class opennlp.tools.stemmer.StemmerAnnotatorProvider
-
The name of this provider.
- NAME - Static variable in record class opennlp.tools.util.normalizer.EmojiAnnotation
-
The attribute key of the human-readable name (the CLDR short name).
- NAME_ELEMENT_NAMES - Static variable in class opennlp.tools.formats.muc.MucNameContentHandler
- NAME_FINDER - Enum constant in enum class opennlp.tools.models.ModelType
- NAME_LENGTH - Static variable in class opennlp.tools.util.archive.TarStream
- NAME_METHOD - Static variable in class opennlp.tools.util.ext.Providers
- NAME_SEPARATOR - Static variable in class opennlp.tools.util.ext.Providers
- NameContextGenerator - Interface in opennlp.tools.namefind
-
Interface for generating the context for a
name finderby specifying a set of feature generators. - NAMED_ENTITY_ID_PREFIX - Static variable in class opennlp.tools.formats.masc.MascIdentifiers
-
The prefix of a named entity node identifier, as in
ne-n7. - namedEntities - Variable in class opennlp.tools.formats.masc.MascSentence
- nameFinder - Variable in class opennlp.tools.namefind.TokenNameFinderEvaluator
-
The
TokenNameFinderused to create the predictedNameSampleobjects. - NameFinderAnnotator - Class in opennlp.tools.namefind
-
Adapts a
TokenNameFinderto the document pipeline: readsLayers.SENTENCESandLayers.TOKENS, maps the finder's token-index spans to character spans on the original text, and providesLayers.ENTITIES. - NameFinderAnnotator(TokenNameFinder) - Constructor for class opennlp.tools.namefind.NameFinderAnnotator
-
Initializes the adapter.
- NameFinderCensus90NameStream - Class in opennlp.tools.formats
-
This class helps to read the US Census data from the files to build a StringList for each dictionary entry in the name-finder dictionary.
- NameFinderCensus90NameStream(InputStreamFactory, Charset) - Constructor for class opennlp.tools.formats.NameFinderCensus90NameStream
- NameFinderCensus90NameStream(ObjectStream<String>) - Constructor for class opennlp.tools.formats.NameFinderCensus90NameStream
-
Initializes a
NameFinderCensus90NameStreamviaObjectStream<String>. - NameFinderEventStream - Class in opennlp.tools.namefind
-
Class for creating an event stream out of data files for training an
TokenNameFinder. - NameFinderEventStream(ObjectStream<NameSample>, String, NameContextGenerator, SequenceCodec<String>) - Constructor for class opennlp.tools.namefind.NameFinderEventStream
- NameFinderME - Class in opennlp.tools.namefind
-
A maximum-entropy-based
name finderimplementation. - NameFinderME(TokenNameFinderModel) - Constructor for class opennlp.tools.namefind.NameFinderME
-
Initializes a
NameFinderMEwith aTokenNameFinderModel. - NameFinderSequenceValidator - Class in opennlp.tools.namefind
-
The default name finder
SequenceValidatorimplementation. - NameFinderSequenceValidator() - Constructor for class opennlp.tools.namefind.NameFinderSequenceValidator
- names - Variable in class opennlp.tools.formats.muc.MucNameContentHandler
- names - Variable in class opennlp.tools.namefind.NameSample
- names - Variable in class opennlp.tools.tokenize.lattice.CategoryTable.Builder
- names - Variable in record class opennlp.tools.util.ext.Providers.Parsed
-
The field for the
namesrecord component. - names() - Method in record class opennlp.tools.util.ext.Providers.Parsed
-
Returns the value of the
namesrecord component. - names(String) - Method in class opennlp.tools.util.ext.Providers
- NameSample - Class in opennlp.tools.namefind
-
Encapsulates names for a single unit of text.
- NameSample(String[], Span[], boolean) - Constructor for class opennlp.tools.namefind.NameSample
-
Initializes a
NameSampleinstance with given parameters. - NameSample(String[], Span[], String[][], boolean) - Constructor for class opennlp.tools.namefind.NameSample
-
Initializes a
NameSampleinstance with given parameters. - NameSample(String, String[], Span[], String[][], boolean) - Constructor for class opennlp.tools.namefind.NameSample
-
Initializes a
NameSampleinstance with given parameters. - NameSampleDataStream - Class in opennlp.tools.namefind
-
The
NameSampleDataStreamclass converts tagged tokens provided by a DataStream toNameSampleobjects. - NameSampleDataStream(ObjectStream<String>) - Constructor for class opennlp.tools.namefind.NameSampleDataStream
-
Initializes a
NameSampleDataStreamwith givenpsisamples. - NameSampleDataStreamFactory - Class in opennlp.tools.formats
-
Factory producing OpenNLP
NameSampleDataStreams. - NameSampleDataStreamFactory(Class<NameSampleDataStreamFactory.Parameters>) - Constructor for class opennlp.tools.formats.NameSampleDataStreamFactory
- NameSampleDataStreamFactory.Parameters - Interface in opennlp.tools.formats
- nameSamples - Variable in class opennlp.tools.formats.ontonotes.OntoNotesNameSampleStream
- NameSampleSequenceStream - Class in opennlp.tools.namefind
-
A
SequenceStreamimplementation encapsulatingsamples. - NameSampleSequenceStream(ObjectStream<NameSample>) - Constructor for class opennlp.tools.namefind.NameSampleSequenceStream
-
Initializes a
NameSampleSequenceStreamwith givenpsisamples. - NameSampleSequenceStream(ObjectStream<NameSample>, NameContextGenerator) - Constructor for class opennlp.tools.namefind.NameSampleSequenceStream
- NameSampleSequenceStream(ObjectStream<NameSample>, NameContextGenerator, boolean) - Constructor for class opennlp.tools.namefind.NameSampleSequenceStream
- NameSampleSequenceStream(ObjectStream<NameSample>, NameContextGenerator, boolean, SequenceCodec<String>) - Constructor for class opennlp.tools.namefind.NameSampleSequenceStream
- NameSampleSequenceStream(ObjectStream<NameSample>, AdaptiveFeatureGenerator) - Constructor for class opennlp.tools.namefind.NameSampleSequenceStream
- NameSampleSequenceStream(ObjectStream<NameSample>, AdaptiveFeatureGenerator, boolean) - Constructor for class opennlp.tools.namefind.NameSampleSequenceStream
- NameSampleTypeFilter - Class in opennlp.tools.namefind
-
A
streamwhich removesname sampleswhich do not have a certain type. - NameSampleTypeFilter(String[], ObjectStream<NameSample>) - Constructor for class opennlp.tools.namefind.NameSampleTypeFilter
-
Initializes a
NameSampleTypeFilter. - NameSampleTypeFilter(Set<String>, ObjectStream<NameSample>) - Constructor for class opennlp.tools.namefind.NameSampleTypeFilter
-
Initializes a
NameSampleTypeFilter. - NAMESPACE - Static variable in class opennlp.tools.document.Layers
-
The id prefix of every key the toolkit defines.
- NameToDocumentSampleStream(ObjectStream<NameSample>) - Constructor for class opennlp.tools.namefind.TokenNameFinderCrossValidator.NameToDocumentSampleStream
- NameToSentenceSampleStream - Class in opennlp.tools.formats.convert
-
Note: Do not use this class, internal use only!
- NameToSentenceSampleStream(Detokenizer, ObjectStream<NameSample>, int) - Constructor for class opennlp.tools.formats.convert.NameToSentenceSampleStream
-
Initializes a
NameToSentenceSampleStream. - NameToSentenceSampleStreamFactory - Class in opennlp.tools.formats.convert
-
Note: Do not use this class, internal use only!
- NameToSentenceSampleStreamFactory(Class<NameToSentenceSampleStreamFactory.Parameters>) - Constructor for class opennlp.tools.formats.convert.NameToSentenceSampleStreamFactory
- NameToSentenceSampleStreamFactory.Parameters - Interface in opennlp.tools.formats.convert
- NameToTokenSampleStream - Class in opennlp.tools.formats.convert
-
Note: Do not use this class, internal use only!
- NameToTokenSampleStream(Detokenizer, ObjectStream<NameSample>) - Constructor for class opennlp.tools.formats.convert.NameToTokenSampleStream
-
Initializes a
NameToTokenSampleStream. - NameToTokenSampleStreamFactory - Class in opennlp.tools.formats.convert
-
Note: Do not use this class, internal use only!
- NameToTokenSampleStreamFactory(Class<NameToTokenSampleStreamFactory.Parameters>) - Constructor for class opennlp.tools.formats.convert.NameToTokenSampleStreamFactory
- NameToTokenSampleStreamFactory.Parameters - Interface in opennlp.tools.formats.convert
- nameTypes - Variable in class opennlp.tools.formats.brat.BratDocumentParser
- ndh - Variable in class opennlp.tools.parser.AbstractBottomUpParser
- needAffix - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary.AffixFile
- needAffix - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- needsFurtherAffix(HunspellDictionary.Affix) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Checks whether a form made with this affix alone is still a virtual stem: the affix carries the
NEEDAFFIXflag among its continuation classes, so a further affix must join before the form is a word. - negated - Variable in class opennlp.tools.stemmer.hunspell.AffixCondition
-
Per position with a class: whether the class is negated;
nullrows unused. - NEGATION - Static variable in class opennlp.tools.tokenize.lang.en.TokenSampleStream
- NegLLComputeTask(int, int, int, double[]) - Constructor for class opennlp.tools.ml.maxent.quasinewton.ParallelNegLogLikelihood.NegLLComputeTask
- NegLogLikelihood - Class in opennlp.tools.ml.maxent.quasinewton
-
Evaluates negative log-likelihood and its gradient from
DataIndexer. - NegLogLikelihood(DataIndexer<TrainingParameters>) - Constructor for class opennlp.tools.ml.maxent.quasinewton.NegLogLikelihood
- negLogLikelihoodThread - Variable in class opennlp.tools.ml.maxent.quasinewton.ParallelNegLogLikelihood
- NER_PREFIX - Static variable in class opennlp.tools.formats.ad.ADNameSampleStream
- NerLayer() - Constructor for enum class opennlp.tools.formats.GermEval2014NameSampleStream.NerLayer
- network - Variable in class opennlp.tools.depparse.ContributionCache
- network - Variable in class opennlp.tools.depparse.FeedforwardContext
- network - Variable in class opennlp.tools.depparse.FeedforwardDependencyParser
- network - Variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer.Optimizer
- network() - Method in class opennlp.tools.depparse.FeedforwardDependencyModel
- NETWORK_ENTRY_NAME - Static variable in class opennlp.tools.depparse.FeedforwardDependencyModel
-
The artifact map entry holding the network.
- NETWORK_EXTENSION - Static variable in class opennlp.tools.depparse.FeedforwardDependencyModel
-
The artifact extension the network serializer is registered under.
- newArchiveFile(Path, String) - Static method in class opennlp.tools.util.ResourceInstaller
-
Resolves a file entry beneath the staging directory and creates its parent directories.
- newDocument - Variable in class opennlp.tools.formats.conllu.ConlluSentence
- newInstance(boolean) - Static method in class opennlp.tools.tokenize.WhitespaceTokenizer
-
Creates a tokenizer that is not shared with
WhitespaceTokenizer.INSTANCE, for a caller that setsAbstractTokenizer.setKeepNewLines(boolean)without touching other users of the shared instance. - NEWLINE - Enum constant in enum class opennlp.tools.tokenize.uax29.WordBreak
-
Other mandatory line breaks (vertical tab, form feed, NEL, line/paragraph separators).
- NEWLINE - Static variable in class opennlp.tools.util.normalizer.LineBreakPreservingWhitespaceCharSequenceNormalizer
- NEWLINE - Static variable in class opennlp.tools.util.normalizer.ParagraphPreservingWhitespaceCharSequenceNormalizer
- NEWLINE_ORDINAL - Static variable in class opennlp.tools.tokenize.uax29.WordSegmenter
- NewlineSentenceDetector - Class in opennlp.tools.sentdetect
-
The Newline
SentenceDetectorassumes that sentences are line delimited and recognizes one sentence per non-empty line. - NewlineSentenceDetector() - Constructor for class opennlp.tools.sentdetect.NewlineSentenceDetector
- newParagraph - Variable in class opennlp.tools.formats.conllu.ConlluSentence
- newStemmer() - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmerFactory
-
Returns a new
Stemmer. - newStemmer() - Method in class opennlp.tools.stemmer.PorterStemmerFactory
-
Returns a new
Stemmer. - newStemmer() - Method in class opennlp.tools.stemmer.snowball.SnowballStemmerFactory
-
Returns a new
Stemmer. - newStemmer() - Method in interface opennlp.tools.stemmer.StemmerFactory
-
Returns a new
Stemmer. - newStemmer() - Method in class opennlp.tools.util.normalizer.NormalizationProfile
-
Returns a new
Stemmerfor this language. - newTokens - Variable in class opennlp.tools.tokenize.TokenizerME.TokenizerState
- next() - Method in class opennlp.tools.tokenize.lang.en.TokenSampleStream
- next() - Method in class opennlp.tools.util.archive.TarStream
-
Advances to the next entry.
- next() - Method in class opennlp.tools.util.eval.CrossValidationPartitioner
-
Retrieves the next training and test partitions.
- next() - Method in class opennlp.tools.util.ReverseListIterator
- NEXT_PREFIX - Static variable in class opennlp.tools.util.featuregen.WindowFeatureGenerator
- nextClose - Variable in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.LineScan
- nextEndingHere - Variable in class opennlp.tools.tokenize.lattice.LatticeTokenizer.Node
- nextIndex(int) - Method in record class opennlp.tools.util.normalizer.CodePoints.At
-
Returns the index immediately after this code point.
- nextIteration(double, CompletionService<GISTrainer.ModelExpectationComputeTask>, int) - Method in class opennlp.tools.ml.maxent.GISTrainer
- nextIteration(int) - Method in class opennlp.tools.ml.perceptron.SimplePerceptronSequenceTrainer
- nextPoint - Variable in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- nextPunctSet - Variable in class opennlp.tools.parser.Parse
-
The set of punctuation parses which are between this parse and the subsequent parse.
- nextSentence() - Method in class opennlp.tools.formats.conllu.ConlluDependencySampleStream
-
Reads the syntactic word lines of the next sentence: comments, multiword token ranges, and empty nodes are dropped; an empty list means the end of the content.
- nextSignificant(CharSequence, int, int, WordBreakProperty.Data) - Static method in class opennlp.tools.tokenize.uax29.WordSegmenter
- nextSpaceIndex(CharSequence, int, int) - Static method in class opennlp.tools.sentdetect.DefaultSDContextGenerator
-
Finds the index of the nearest space after a specified index.
- nextToken() - Method in interface opennlp.tools.ml.maxent.DataStream
-
Returns the next slice of data held in this
DataStream. - nextTransition(DependencyTree, int[], ArcStandardState) - Static method in class opennlp.tools.depparse.ArcStandardOracle
-
Picks the gold transition for the current configuration.
- nextWindowSize - Variable in class opennlp.tools.util.featuregen.WindowFeatureGenerator
- nfc() - Method in class opennlp.tools.util.normalizer.TermAnalyzer.Builder
-
Enables
Dimension.NFC. - nfc() - Method in class opennlp.tools.util.normalizer.TextNormalizer.Builder
-
Returns this builder with NFC canonical composition appended.
- NFC - Enum constant in enum class opennlp.tools.util.normalizer.Dimension
-
Unicode canonical composition (NFC); lossless under canonical equivalence.
- NfcCharSequenceNormalizer - Class in opennlp.tools.util.normalizer
-
A
CharSequenceNormalizerthat applies Unicode Normalization Form C (canonical composition, UAX #15). - NfcCharSequenceNormalizer() - Constructor for class opennlp.tools.util.normalizer.NfcCharSequenceNormalizer
- nfkc() - Method in class opennlp.tools.util.normalizer.TermAnalyzer.Builder
-
Enables
Dimension.NFKC. - nfkc() - Method in class opennlp.tools.util.normalizer.TextNormalizer.Builder
-
Returns this builder with NFKC compatibility composition appended.
- NFKC - Enum constant in enum class opennlp.tools.util.normalizer.Dimension
-
Unicode compatibility composition (NFKC); lossy (for example superscripts to digits).
- NfkcCharSequenceNormalizer - Class in opennlp.tools.util.normalizer
-
A
CharSequenceNormalizerthat applies Unicode Normalization Form KC (compatibility composition, UAX #15). - NfkcCharSequenceNormalizer() - Constructor for class opennlp.tools.util.normalizer.NfkcCharSequenceNormalizer
- NGRAM_DICTIONARY_ENTRY_NAME - Static variable in class opennlp.tools.postag.POSTaggerFactory
- NGramCharModel - Class in opennlp.tools.ngram
-
The
NGramCharModelcan be used to create character ngrams. - NGramCharModel() - Constructor for class opennlp.tools.ngram.NGramCharModel
-
Initializes an empty instance.
- ngramDictionary - Variable in class opennlp.tools.postag.POSTaggerFactory
- NGramFeatureGenerator - Class in opennlp.tools.doccat
-
Generates ngram features for a document.
- NGramFeatureGenerator() - Constructor for class opennlp.tools.doccat.NGramFeatureGenerator
-
Instantiates an
NGramFeatureGeneratorinstance with a Bi grams config. - NGramFeatureGenerator(int, int) - Constructor for class opennlp.tools.doccat.NGramFeatureGenerator
-
Instantiates an
NGramFeatureGeneratorinstance with configurable ngram parameters. - NGramGenerator - Class in opennlp.tools.ngram
-
Generates an nGram, via an optional separator, and returns the grams as a list of strings
- NGramGenerator() - Constructor for class opennlp.tools.ngram.NGramGenerator
- NGramLanguageModel - Class in opennlp.tools.languagemodel
-
A
LanguageModelbased on aNGramModelusing Stupid Backoff to get the probabilities of the ngrams. - NGramLanguageModel() - Constructor for class opennlp.tools.languagemodel.NGramLanguageModel
-
Initializes an
NGramLanguageModelwithNGramLanguageModel.DEFAULT_N. - NGramLanguageModel(int) - Constructor for class opennlp.tools.languagemodel.NGramLanguageModel
-
Initializes an
NGramLanguageModelwith the givennfor the ngram size. - NGramLanguageModel(InputStream) - Constructor for class opennlp.tools.languagemodel.NGramLanguageModel
-
Initializes a
NGramLanguageModelinstance via a validInputStream. - NGramLanguageModel(InputStream, int) - Constructor for class opennlp.tools.languagemodel.NGramLanguageModel
-
Initializes a
NGramLanguageModelinstance via a validInputStream. - NGramModel - Class in opennlp.tools.ngram
-
The
NGramModelcan be used to crate ngrams and character ngrams. - NGramModel() - Constructor for class opennlp.tools.ngram.NGramModel
-
Instantiates an empty
NGramModelinstance. - NGramModel(InputStream) - Constructor for class opennlp.tools.ngram.NGramModel
-
Instantiates a
NGramModelvia anInputStreamreference. - NGramUtils - Class in opennlp.tools.ngram
-
Utility class for ngrams.
- NGramUtils() - Constructor for class opennlp.tools.ngram.NGramUtils
- nicePrint() - Method in class opennlp.tools.chunker.ChunkSample
-
Creates a nice to read string for the phrases formatted as following:
[NP Rockwell_NNP ] [VP said_VBD ] [NP the_DT agreement_NN ] [VP calls_VBZ ] [SBAR for_IN ] [NP it_PRP ] [VP to_TO supply_VB ] [NP 200_CD additional_JJ so-called_JJ shipsets_NNS ] [PP for_IN ] [NP the_DT planes_NNS ] ._. - NKJP_NPS - Static variable in class opennlp.tools.formats.nkjp.NKJPSegmentationDocument
- NKJP_PAREN - Static variable in class opennlp.tools.formats.nkjp.NKJPSegmentationDocument
- NKJP_REJECTED - Static variable in class opennlp.tools.formats.nkjp.NKJPSegmentationDocument
- NKJPSegmentationDocument - Class in opennlp.tools.formats.nkjp
- NKJPSegmentationDocument() - Constructor for class opennlp.tools.formats.nkjp.NKJPSegmentationDocument
- NKJPSegmentationDocument(Map<String, Map<String, NKJPSegmentationDocument.Pointer>>) - Constructor for class opennlp.tools.formats.nkjp.NKJPSegmentationDocument
- NKJPSegmentationDocument.Pointer - Class in opennlp.tools.formats.nkjp
- NKJPSentenceSampleStream - Class in opennlp.tools.formats.nkjp
- NKJPSentenceSampleStream(NKJPSegmentationDocument, NKJPTextDocument) - Constructor for class opennlp.tools.formats.nkjp.NKJPSentenceSampleStream
- NKJPSentenceSampleStreamFactory - Class in opennlp.tools.formats.nkjp
-
Note: Do not use this class, internal use only!
- NKJPSentenceSampleStreamFactory(Class<NKJPSentenceSampleStreamFactory.Parameters>) - Constructor for class opennlp.tools.formats.nkjp.NKJPSentenceSampleStreamFactory
- NKJPSentenceSampleStreamFactory.Parameters - Interface in opennlp.tools.formats.nkjp
- NKJPTextDocument - Class in opennlp.tools.formats.nkjp
-
The National corpus of Polish (NKJP) format.
- NKJPTextDocument() - Constructor for class opennlp.tools.formats.nkjp.NKJPTextDocument
- NKJPTextDocument(Map<String, String>, Map<String, Map<String, Map<String, String>>>) - Constructor for class opennlp.tools.formats.nkjp.NKJPTextDocument
- NLD - Enum constant in enum class opennlp.tools.formats.Conll02NameSampleStream.LANGUAGE
- NO_AFFIXES - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
The shared empty bucket answered for characters no affix rule is keyed under.
- NO_BREAK - Static variable in class opennlp.tools.tokenize.uax29.WordSegmenter
- NO_CACHE - Static variable in class opennlp.tools.depparse.FeedforwardDependencyParser
-
The scoring cache budget at which no cache is created.
- NO_CHILDREN - Static variable in class opennlp.tools.util.normalizer.UnicodeEmojiSequences.Node
- NO_KEYS - Static variable in class opennlp.tools.util.normalizer.UnicodeEmojiSequences.Node
- NO_MARKS - Static variable in class opennlp.tools.tokenize.lang.Factory
- NO_MATERIAL - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
The affix format's marker for absent strip or affix material.
- NO_OPERATION - Enum constant in enum class opennlp.tools.tokenize.Detokenizer.DetokenizationOperation
-
Do not perform a merge operation for this token, but is possible that another token can be attached to the left or right side of this one.
- NO_OWNER_THREAD - Static variable in class opennlp.tools.util.LastResultOwnerOrThreadLocal
- NO_OWNER_THREAD - Static variable in class opennlp.tools.util.OwnerOrPerThreadState
- NO_PREDICATES - Static variable in class opennlp.tools.ml.maxent.BasicContextGenerator
- NO_SPLIT - Static variable in class opennlp.tools.sentdetect.SentenceDetectorME
-
Constant indicates no sentence split.
- NO_SPLIT - Static variable in class opennlp.tools.tokenize.TokenizerME
-
Constant indicates no token split.
- NO_TRANSITION - Static variable in class opennlp.tools.depparse.ArcStandardBeam
-
The transition index of the start node, which took no transition.
- NOCAP - Enum constant in enum class opennlp.tools.stemmer.hunspell.HunspellDictionary.CaseType
-
No uppercase letter.
- node - Variable in record class opennlp.tools.tokenize.lattice.UnigramSegmenter.WordTrieBuilder.BuildStep
-
The field for the
noderecord component. - node() - Method in record class opennlp.tools.tokenize.lattice.UnigramSegmenter.WordTrieBuilder.BuildStep
-
Returns the value of the
noderecord component. - Node() - Constructor for class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Node
- Node() - Constructor for class opennlp.tools.util.normalizer.UnicodeEmojiSequences.Node
- Node(int, int, MecabDictionary.WordEntry, boolean) - Constructor for class opennlp.tools.tokenize.lattice.LatticeTokenizer.Node
-
Creates one lattice candidate.
- Node(ArcStandardBeam.Node, int[], int, double, boolean) - Constructor for class opennlp.tools.depparse.ArcStandardBeam.Node
-
Extends
parentby one transition. - Node(ArcStandardState) - Constructor for class opennlp.tools.depparse.ArcStandardBeam.Node
-
Creates the start node of a sentence.
- nodes - Variable in class opennlp.tools.tokenize.lattice.UnigramSegmenter.WordTrie
- noEndAt - Variable in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.LineScan
- NON_ATTACH - Static variable in class opennlp.tools.parser.treeinsert.Parser
-
Outcome used when a node should not be attached to another node.
- NON_BREAKING - Enum constant in enum class opennlp.tools.util.normalizer.UnicodeWhitespace.Breaking
-
A space that suppresses line breaking (e.g.
- NON_BREAKING - Static variable in class opennlp.tools.util.normalizer.UnicodeWhitespace
- nonAttachIndex - Variable in class opennlp.tools.parser.treeinsert.Parser
- nonBreaking() - Static method in class opennlp.tools.util.normalizer.UnicodeWhitespace
-
Returns the non-breaking whitespace characters.
- NONE - Static variable in class opennlp.tools.depparse.ArcStandardState
-
The value returned for stack or buffer positions that do not exist.
- NONE - Static variable in class opennlp.tools.stemmer.hunspell.HunspellConversion
-
An empty conversion table.
- NONE_OFFSET - Static variable in class opennlp.tools.depparse.FeedforwardNetwork
-
The embedding row of the absent-position symbol in each vocabulary block.
- NONE_VALUE - Static variable in class opennlp.tools.depparse.DependencyContextGenerator
-
The feature value standing for a position that does not exist.
- noneTagRow() - Method in class opennlp.tools.depparse.FeedforwardNetwork
- noneWordRow() - Method in class opennlp.tools.depparse.FeedforwardNetwork
- nonPunctChildCount(Parse) - Method in class opennlp.tools.parser.treeinsert.ParserEventStream
- nonTokenizedText - Variable in class opennlp.tools.formats.letsmt.LetsmtDocument.LetsmtSentence
- NoOp() - Constructor for class opennlp.tools.postag.POSTagFormatMapper.NoOp
- NoOpStringInterner - Class in opennlp.tools.util.jvm
-
A no-op
StringInternerimplementation, which does not intern. - NoOpStringInterner() - Constructor for class opennlp.tools.util.jvm.NoOpStringInterner
- normalised - Variable in class opennlp.tools.ml.naivebayes.Probabilities
- NormalizationProfile - Class in opennlp.tools.util.normalizer
-
Per-language normalization settings, mirroring how OpenNLP already selects a Snowball stemmer by language.
- NormalizationProfile(String, SnowballStemmer.ALGORITHM, CharSequenceNormalizer) - Constructor for class opennlp.tools.util.normalizer.NormalizationProfile
-
Creates a profile.
- NormalizationProfiles - Class in opennlp.tools.util.normalizer
-
A registry of
NormalizationProfiles by language, with detection-based fallback: pick the profile for a requested language, or detect the language with aLanguageDetectorwhen it is unspecified. - NormalizationProfiles() - Constructor for class opennlp.tools.util.normalizer.NormalizationProfiles
- normalize() - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
- normalize() - Method in class opennlp.tools.ml.naivebayes.Probabilities
- normalize(CharSequence) - Method in class opennlp.tools.util.normalizer.AccentFoldCharSequenceNormalizer
-
Normalizes a sequence of characters.
- normalize(CharSequence) - Method in class opennlp.tools.util.normalizer.AggregateCharSequenceNormalizer
-
Normalizes a sequence of characters.
- normalize(CharSequence) - Method in class opennlp.tools.util.normalizer.AlignedAggregateCharSequenceNormalizer
-
Normalizes a sequence of characters.
- normalize(CharSequence) - Method in class opennlp.tools.util.normalizer.BulletCharSequenceNormalizer
-
Normalizes a sequence of characters.
- normalize(CharSequence) - Method in class opennlp.tools.util.normalizer.CaseFoldCharSequenceNormalizer
-
Normalizes a sequence of characters.
- normalize(CharSequence) - Method in class opennlp.tools.util.normalizer.CharClass
-
Replaces each member code point with the replacement, one for one.
- normalize(CharSequence) - Method in interface opennlp.tools.util.normalizer.CharSequenceNormalizer
-
Normalizes a sequence of characters.
- normalize(CharSequence) - Method in class opennlp.tools.util.normalizer.ConfusableSkeletonCharSequenceNormalizer
-
Normalizes a sequence of characters.
- normalize(CharSequence) - Method in class opennlp.tools.util.normalizer.DashCharSequenceNormalizer
-
Normalizes a sequence of characters.
- normalize(CharSequence) - Method in class opennlp.tools.util.normalizer.DigitCharSequenceNormalizer
-
Normalizes a sequence of characters.
- normalize(CharSequence) - Method in class opennlp.tools.util.normalizer.EllipsisCharSequenceNormalizer
-
Normalizes a sequence of characters.
- normalize(CharSequence) - Method in class opennlp.tools.util.normalizer.EmojiCharSequenceNormalizer
-
Normalizes a sequence of characters.
- normalize(CharSequence) - Method in class opennlp.tools.util.normalizer.EmojiToEmoticonCharSequenceNormalizer
-
Normalizes a sequence of characters.
- normalize(CharSequence) - Method in class opennlp.tools.util.normalizer.EmoticonToEmojiCharSequenceNormalizer
-
Normalizes a sequence of characters.
- normalize(CharSequence) - Method in class opennlp.tools.util.normalizer.FullCaseFoldCharSequenceNormalizer
-
Normalizes a sequence of characters.
- normalize(CharSequence) - Method in class opennlp.tools.util.normalizer.GermanUmlautCharSequenceNormalizer
-
Normalizes a sequence of characters.
- normalize(CharSequence) - Method in class opennlp.tools.util.normalizer.InvisibleCharSequenceNormalizer
-
Normalizes a sequence of characters.
- normalize(CharSequence) - Method in class opennlp.tools.util.normalizer.LineBreakPreservingWhitespaceCharSequenceNormalizer
-
Normalizes a sequence of characters.
- normalize(CharSequence) - Method in class opennlp.tools.util.normalizer.NfcCharSequenceNormalizer
-
Normalizes a sequence of characters.
- normalize(CharSequence) - Method in class opennlp.tools.util.normalizer.NfkcCharSequenceNormalizer
-
Normalizes a sequence of characters.
- normalize(CharSequence) - Method in class opennlp.tools.util.normalizer.NumberCharSequenceNormalizer
-
Normalizes a sequence of characters.
- normalize(CharSequence) - Method in class opennlp.tools.util.normalizer.ParagraphPreservingWhitespaceCharSequenceNormalizer
-
Normalizes a sequence of characters.
- normalize(CharSequence) - Method in class opennlp.tools.util.normalizer.QuoteCharSequenceNormalizer
-
Normalizes a sequence of characters.
- normalize(CharSequence) - Method in class opennlp.tools.util.normalizer.ShrinkCharSequenceNormalizer
-
Normalizes a sequence of characters.
- normalize(CharSequence) - Method in class opennlp.tools.util.normalizer.SocialMediaCharSequenceNormalizer
-
Normalizes a sequence of characters.
- normalize(CharSequence) - Method in class opennlp.tools.util.normalizer.UrlCharSequenceNormalizer
-
Normalizes a sequence of characters.
- normalize(CharSequence) - Method in class opennlp.tools.util.normalizer.WhitespaceCharSequenceNormalizer
-
Normalizes a sequence of characters.
- normalize(String) - Static method in class opennlp.tools.depparse.FeedforwardNetwork
-
Lowercases a word symbol with
StringUtil.toLowerCase(CharSequence), which maps per code point, and applies the one contextual rule of the Unicode SpecialCasing data: a Greek capital sigma at the end of a word, after a cased letter and before no further cased letter, becomes the final sigma U+03C2. - normalizeAligned(CharSequence) - Method in class opennlp.tools.util.normalizer.AlignedAggregateCharSequenceNormalizer
-
Normalizes
textand returns the result together with theAlignmentback to the input. - normalizeAligned(CharSequence) - Method in class opennlp.tools.util.normalizer.BulletCharSequenceNormalizer
-
Normalizes
textand returns the result together with theAlignmentback to the input. - normalizeAligned(CharSequence) - Method in class opennlp.tools.util.normalizer.CharClass
-
Like
CharClass.normalize(CharSequence)but also produces theAlignmentback to the original text. - normalizeAligned(CharSequence) - Method in class opennlp.tools.util.normalizer.DashCharSequenceNormalizer
-
Normalizes
textand returns the result together with theAlignmentback to the input. - normalizeAligned(CharSequence) - Method in class opennlp.tools.util.normalizer.DigitCharSequenceNormalizer
-
Normalizes
textand returns the result together with theAlignmentback to the input. - normalizeAligned(CharSequence) - Method in class opennlp.tools.util.normalizer.EllipsisCharSequenceNormalizer
-
Normalizes
textand returns the result together with theAlignmentback to the input. - normalizeAligned(CharSequence) - Method in class opennlp.tools.util.normalizer.EmojiToEmoticonCharSequenceNormalizer
-
Normalizes
textand returns the result together with theAlignmentback to the input. - normalizeAligned(CharSequence) - Method in class opennlp.tools.util.normalizer.EmoticonToEmojiCharSequenceNormalizer
-
Normalizes
textand returns the result together with theAlignmentback to the input. - normalizeAligned(CharSequence) - Method in class opennlp.tools.util.normalizer.FullCaseFoldCharSequenceNormalizer
-
Normalizes
textand returns the result together with theAlignmentback to the input. - normalizeAligned(CharSequence) - Method in class opennlp.tools.util.normalizer.GermanUmlautCharSequenceNormalizer
-
Normalizes
textand returns the result together with theAlignmentback to the input. - normalizeAligned(CharSequence) - Method in class opennlp.tools.util.normalizer.InvisibleCharSequenceNormalizer
-
Normalizes
textand returns the result together with theAlignmentback to the input. - normalizeAligned(CharSequence) - Method in class opennlp.tools.util.normalizer.LineBreakPreservingWhitespaceCharSequenceNormalizer
-
Normalizes
textand returns the result together with theAlignmentback to the input. - normalizeAligned(CharSequence) - Method in interface opennlp.tools.util.normalizer.OffsetAwareNormalizer
-
Normalizes
textand returns the result together with theAlignmentback to the input. - normalizeAligned(CharSequence) - Method in class opennlp.tools.util.normalizer.ParagraphPreservingWhitespaceCharSequenceNormalizer
-
Normalizes
textand returns the result together with theAlignmentback to the input. - normalizeAligned(CharSequence) - Method in class opennlp.tools.util.normalizer.QuoteCharSequenceNormalizer
-
Normalizes
textand returns the result together with theAlignmentback to the input. - normalizeAligned(CharSequence) - Method in class opennlp.tools.util.normalizer.WhitespaceCharSequenceNormalizer
-
Normalizes
textand returns the result together with theAlignmentback to the input. - normalized - Variable in record class opennlp.tools.util.normalizer.AlignedText
-
The field for the
normalizedrecord component. - normalized() - Method in record class opennlp.tools.util.normalizer.AlignedText
-
Returns the value of the
normalizedrecord component. - normalized() - Method in class opennlp.tools.util.normalizer.Term
-
Returns the token at the analyzer's final configured dimension; equal to
Term.original()when no dimensions were configured. - normalizeDictionaryByteFlags(byte[]) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Converts raw flag bytes after the flag separator of each dictionary entry.
- normalizedLength() - Method in class opennlp.tools.util.normalizer.Alignment
-
Returns the length of the normalized text this alignment was built for.
- normalizedString() - Method in record class opennlp.tools.util.normalizer.AlignedText
-
Returns the normalized text as a
String, that isnormalized().toString(). - normalizer - Variable in class opennlp.tools.langdetect.DefaultLanguageDetectorContextGenerator
- normalizer - Variable in class opennlp.tools.termvector.TermVectorAnnotator
- normalizers - Variable in class opennlp.tools.util.normalizer.AggregateCharSequenceNormalizer
- normalizeUtf8ByteFlags(byte[], Charset) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Converts raw one-byte flags in a UTF-8 affix file to equivalent Unicode code points before decoding.
- NORWEGIAN - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- norwegianStemmer - Class in opennlp.tools.stemmer.snowball
-
This class implements the stemming algorithm defined by a snowball script.
- norwegianStemmer() - Constructor for class opennlp.tools.stemmer.snowball.norwegianStemmer
- NOT_A_NUMBER - Static variable in class opennlp.tools.ml.model.SimpleEventStreamBuilder
- NOT_BLANK_SUFFIX - Static variable in class opennlp.tools.util.ParamChecks
- NOT_EMPTY_SUFFIX - Static variable in class opennlp.tools.util.ParamChecks
- NOT_NAME_VALUE - Static variable in class opennlp.tools.ml.model.SimpleEventStreamBuilder
- NOT_NEGATIVE_SUFFIX - Static variable in class opennlp.tools.util.ParamChecks
- NOT_NULL_SUFFIX - Static variable in class opennlp.tools.util.ParamChecks
- note - Variable in class opennlp.tools.formats.brat.BratAnnotation
- note - Variable in record class opennlp.tools.util.normalizer.UnicodeWhitespace.RelatedCharacter
-
The field for the
noterecord component. - note() - Method in record class opennlp.tools.util.normalizer.UnicodeWhitespace.RelatedCharacter
-
Returns the value of the
noterecord component. - noteForbidden(int[], int) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer.Analysis
-
Records that an affix analysis reached a forbidden homonym.
- noteForbidden(List<int[]>, int) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer.Analysis
-
Records that an affix analysis reached a forbidden entry.
- notes - Variable in record class opennlp.tools.util.normalizer.EmojiAnnotation.Value
-
The field for the
notesrecord component. - notes() - Method in record class opennlp.tools.util.normalizer.EmojiAnnotation.Value
-
Returns the value of the
notesrecord component. - NOTES_TYPE - Static variable in class opennlp.tools.formats.brat.BratAnnotationStream.BratAnnotationParser
- NOTHING_ALLOWED - Static variable in class opennlp.tools.util.ext.Providers
-
Stands for an allow list that holds no entry, which allows no provider at all.
- notNull(Object...) - Method in class opennlp.tools.formats.brat.BratNameSampleStreamFactory
-
Checks that non of the passed values are
null. - NUL - Static variable in class opennlp.tools.util.ResourceInstaller
-
The NUL character, which no file system accepts in a name.
- NUM - Enum constant in enum class opennlp.tools.stemmer.hunspell.HunspellDictionary.FlagMode
-
Declared as
FLAG num: comma-separated decimal numbers are flags. - NUM_ELEMENT_NAME - Static variable in class opennlp.tools.formats.muc.MucNameContentHandler
- NUM_ITERATIONS_DEFAULT - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
-
By default the number of iterations is
100. - NUM_PREDS - Variable in class opennlp.tools.ml.model.AbstractModelReader
-
The number of predicates contained in a model.
- NumberCharSequenceNormalizer - Class in opennlp.tools.util.normalizer
-
A
CharSequenceNormalizerimplementation that normalizes text in terms of numbers: every maximal run of ASCII digits (0to9), that is the longest unbroken stretch of consecutive digits, is replaced by a single space. - NumberCharSequenceNormalizer() - Constructor for class opennlp.tools.util.normalizer.NumberCharSequenceNormalizer
- numberOfGrams() - Method in class opennlp.tools.ngram.NGramCharModel
-
Retrieves the total count of all Ngrams.
- numberOfGrams() - Method in class opennlp.tools.ngram.NGramModel
-
Retrieves the total count of all Ngrams.
- numberOfPartitions - Variable in class opennlp.tools.util.eval.CrossValidationPartitioner
-
The number of parts the data is divided into.
- numberOfPartitions - Variable in class opennlp.tools.util.eval.CrossValidationPartitioner.TestSampleStream
- numberOfPartitions - Variable in class opennlp.tools.util.eval.CrossValidationPartitioner.TrainingSampleStream
- numContexts - Variable in class opennlp.tools.ml.maxent.quasinewton.NegLogLikelihood
- numCorrect - Variable in class opennlp.tools.ml.maxent.GISTrainer.ModelExpectationComputeTask
- NUMERIC - Enum constant in enum class opennlp.tools.tokenize.uax29.WordBreak
-
Decimal digits.
- NUMERIC - Enum constant in enum class opennlp.tools.tokenize.uax29.WordType
-
A token made up entirely of digits and numeric connectors.
- NUMERIC - Static variable in class opennlp.tools.tokenize.SimpleTokenizer.CharacterEnum
- numEvents - Variable in class opennlp.tools.ml.maxent.GISTrainer.ModelExpectationComputeTask
- numEvents - Variable in class opennlp.tools.ml.model.AbstractDataIndexer
- numEvents - Variable in class opennlp.tools.ml.naivebayes.NaiveBayesTrainer
-
Number of events in the event set.
- numEvents - Variable in class opennlp.tools.ml.perceptron.PerceptronTrainer
-
Number of events in the event set.
- numEvents - Variable in class opennlp.tools.ml.perceptron.SimplePerceptronSequenceTrainer
-
Number of events in the event set.
- numFeatures - Variable in class opennlp.tools.ml.maxent.quasinewton.NegLogLikelihood
- numOutcomes - Variable in class opennlp.tools.ml.AbstractMLModelWriter
- numOutcomes - Variable in class opennlp.tools.ml.maxent.GISTrainer
-
Number of outcomes.
- numOutcomes - Variable in class opennlp.tools.ml.maxent.quasinewton.NegLogLikelihood
- numOutcomes - Variable in class opennlp.tools.ml.model.DynamicEvalParameters
-
The number of outcomes being predicted.
- numOutcomes - Variable in class opennlp.tools.ml.model.EvalParameters
-
The number of outcomes being predicted.
- numOutcomes - Variable in class opennlp.tools.ml.model.UniformPrior
- numOutcomes - Variable in class opennlp.tools.ml.naivebayes.NaiveBayesTrainer
-
Number of outcomes.
- numOutcomes - Variable in class opennlp.tools.ml.perceptron.PerceptronTrainer
-
Number of outcomes.
- numOutcomes - Variable in class opennlp.tools.ml.perceptron.SimplePerceptronSequenceTrainer
- numPreds - Variable in class opennlp.tools.ml.maxent.GISTrainer
-
Number of predicates.
- numPreds - Variable in class opennlp.tools.ml.naivebayes.NaiveBayesTrainer
-
Number of predicates.
- numPreds - Variable in class opennlp.tools.ml.perceptron.PerceptronTrainer
-
Number of predicates.
- numPreds - Variable in class opennlp.tools.ml.perceptron.SimplePerceptronSequenceTrainer
-
Number of predicates.
- numSequences - Variable in class opennlp.tools.ml.perceptron.SimplePerceptronSequenceTrainer
- numTimesEventsSeen - Variable in class opennlp.tools.ml.maxent.GISTrainer
-
Records the num of times an event has been seen for each event i, in context[i].
- numTimesEventsSeen - Variable in class opennlp.tools.ml.maxent.quasinewton.NegLogLikelihood
- numTimesEventsSeen - Variable in class opennlp.tools.ml.model.AbstractDataIndexer
-
The number of times an event occurred in the training data.
- numTimesEventsSeen - Variable in class opennlp.tools.ml.naivebayes.NaiveBayesTrainer
-
Records the num of times an event has been seen for each event i, in context[i].
- numTimesEventsSeen - Variable in class opennlp.tools.ml.perceptron.PerceptronTrainer
-
Records the num of times an event has been seen for each event i, in context[i].
- numUniqueEvents - Variable in class opennlp.tools.ml.maxent.GISTrainer
-
Number of unique events which occurred in the event set.
- numUniqueEvents - Variable in class opennlp.tools.ml.naivebayes.NaiveBayesTrainer
-
Number of unique events which occurred in the event set.
- numUniqueEvents - Variable in class opennlp.tools.ml.perceptron.PerceptronTrainer
-
Number of unique events which occurred in the event set.
O
- O_UMLAUT - Static variable in class opennlp.tools.util.featuregen.FeatureGeneratorUtil
- ObjectDataReader - Class in opennlp.tools.ml.model
-
A
DataReaderimplementation based onObjectInputStream. - ObjectDataReader(ObjectInputStream) - Constructor for class opennlp.tools.ml.model.ObjectDataReader
-
Instantiates an
ObjectDataReader. - OBJECTS - Enum constant in enum class opennlp.tools.util.normalizer.EmojiCategory
-
Upstream group
Objects: clothing, tools, instruments, and other objects. - ObjectStream<T> - Interface in opennlp.tools.util
-
Reads
objectsfrom a stream. - ObjectStreamFactory<T,
P> - Interface in opennlp.tools.cmdline - ObjectStreamUtils - Class in opennlp.tools.util
- ObjectStreamUtils() - Constructor for class opennlp.tools.util.ObjectStreamUtils
- observedExpects - Variable in class opennlp.tools.ml.maxent.GISTrainer
-
Stores the observed expected values of the features based on training data.
- odh - Variable in class opennlp.tools.parser.AbstractBottomUpParser
- of(int) - Static method in class opennlp.tools.tokenize.uax29.WordBreakProperty
-
Returns the
WordBreakvalue of a code point. - of(int...) - Static method in class opennlp.tools.util.normalizer.CodePointSet
-
Creates a set from explicit code points.
- of(int[], String[]) - Static method in class opennlp.tools.depparse.DependencyTree
-
Creates a
DependencyTreefrom parallel head and relation arrays. - of(CharSequence) - Static method in interface opennlp.tools.document.Document
-
Creates an empty
Documentover a text. - of(CharSequence, int, int) - Static method in enum class opennlp.tools.tokenize.uax29.WordType
-
Classifies the code points of
textover[start, end)as a word token type, ornullwhen the range is not a word (pure whitespace, punctuation, or symbols). - of(Class<P>) - Static method in class opennlp.tools.util.ext.Providers
-
Looks the
providersof an SPI up with the thread context class loader, or with the class loader ofspiif the thread has none or if it cannot seespi. - of(Class<P>, ClassLoader) - Static method in class opennlp.tools.util.ext.Providers
-
Looks the
providersof an SPI up with a class loader. - of(Class<P>, ClassLoader, UnaryOperator<String>) - Static method in class opennlp.tools.util.ext.Providers
-
Looks the
providersof an SPI up with a class loader and reads the configuration keys from an application's own source instead of "META-INF/opennlp/providers.properties"<P extends Provider<?>> and the system properties. - of(Class<P>, ClassLoader, UnaryOperator<String>, Predicate<Class<?>>) - Static method in class opennlp.tools.util.ext.Providers
- of(String, Class<T>) - Static method in class opennlp.tools.document.LayerKey
-
Creates a
LayerKey. - of(URI) - Static method in class opennlp.tools.util.ext.ProviderSpec
-
Creates a spec with a location and without options.
- of(URI, Map<String, String>) - Static method in class opennlp.tools.util.ext.ProviderSpec
-
Creates a spec with a location and options.
- of(Path) - Static method in class opennlp.tools.util.ext.ProviderSpec
-
Creates a spec for a file or directory without options, see
ProviderSpec.of(Path, Map). - of(Path, Map<String, String>) - Static method in class opennlp.tools.util.ext.ProviderSpec
-
Creates a spec for a file or directory with options.
- of(Map<String, String>) - Static method in class opennlp.tools.util.ext.ProviderSpec
-
Creates a spec with options and without location.
- of(Dictionary) - Static method in class opennlp.tools.sentdetect.SentenceDetectorME.AbbreviationIndex
-
Creates an
SentenceDetectorME.AbbreviationIndexover aDictionary. - of(WordBreakProperty.Data, int) - Static method in class opennlp.tools.tokenize.uax29.WordBreakProperty
-
Like
WordBreakProperty.of(int)but against an already-resolved table, so it is not looked up again per code point. - of(CodePointSet, int) - Static method in class opennlp.tools.util.normalizer.CharClass
-
Creates a class from a member set and a replacement code point.
- of(CodePointSet, CodePointSet, CodePointSet) - Static method in class opennlp.tools.tokenize.TokenizerCharacterPolicy
-
Creates a policy from explicit, pairwise-disjoint code point sets.
- of(T) - Static method in record class opennlp.tools.document.Annotation
-
Creates a span-less annotation for a
document-scopedlayer. - offset - Variable in class opennlp.tools.formats.frenchtreebank.ConstitDocumentHandler
- offset - Variable in class opennlp.tools.formats.nkjp.NKJPSegmentationDocument.Pointer
- offset - Variable in record class opennlp.tools.stemmer.hunspell.HunspellStemmer.Junction
-
The field for the
offsetrecord component. - offset() - Method in record class opennlp.tools.stemmer.hunspell.HunspellStemmer.Junction
-
Returns the value of the
offsetrecord component. - OffsetAwareNormalizer - Interface in opennlp.tools.util.normalizer
-
A
CharSequenceNormalizerthat can additionally report theAlignmentfrom its normalized output back to the input, so a span found in the normalized text maps to the exact character offsets of the original. - OffsetMappingNameFinder - Interface in opennlp.tools.namefind
-
A
TokenNameFinderthat can additionally report detected spans in the character coordinates of the original input, mapping back through any text normalization applied before detection. - ofRange(int, int) - Static method in class opennlp.tools.util.normalizer.CodePointSet
-
Creates a set covering an inclusive code point range.
- ofTrusted(Class<P>, ClassLoader, Predicate<Class<?>>) - Static method in class opennlp.tools.util.ext.Providers
-
Looks the
providersof an SPI up with a class loader, using only the provider classes a predicate accepts, which lets an application decide by the code source, the module or the signers of a class instead of by its name. - ois - Variable in class opennlp.tools.ml.model.ObjectDataReader
- omap - Variable in class opennlp.tools.ml.perceptron.SimplePerceptronSequenceTrainer
- ONE - Static variable in class opennlp.tools.util.Sequence
- OnePassDataIndexer - Class in opennlp.tools.ml.model
-
A
DataIndexerfor maxent model data which handles cutoffs for uncommon contextual predicates and provides a unique integer index for each of the predicates. - OnePassDataIndexer() - Constructor for class opennlp.tools.ml.model.OnePassDataIndexer
- OnePassRealValueDataIndexer - Class in opennlp.tools.ml.model
-
A
DataIndexerfor maxent model data which handles cutoffs for uncommon contextual predicates and provides a unique integer index for each of the predicates and maintains event values. - OnePassRealValueDataIndexer() - Constructor for class opennlp.tools.ml.model.OnePassRealValueDataIndexer
- onlyInCompound - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary.AffixFile
- onlyInCompound - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- OntoNotesFormatParameters - Interface in opennlp.tools.formats.ontonotes
- OntoNotesNameSampleStream - Class in opennlp.tools.formats.ontonotes
-
Name Sample Stream parser for the OntoNotes 4.0 named entity files.
- OntoNotesNameSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.formats.ontonotes.OntoNotesNameSampleStream
-
Initializes a
OntoNotesNameSampleStream. - OntoNotesNameSampleStreamFactory - Class in opennlp.tools.formats.ontonotes
-
Note: Do not use this class, internal use only!
- OntoNotesNameSampleStreamFactory() - Constructor for class opennlp.tools.formats.ontonotes.OntoNotesNameSampleStreamFactory
- OntoNotesParseSampleStream - Class in opennlp.tools.formats.ontonotes
- OntoNotesParseSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.formats.ontonotes.OntoNotesParseSampleStream
-
Initializes a
OntoNotesParseSampleStream. - OntoNotesParseSampleStreamFactory - Class in opennlp.tools.formats.ontonotes
-
Note: Do not use this class, internal use only!
- OntoNotesParseSampleStreamFactory() - Constructor for class opennlp.tools.formats.ontonotes.OntoNotesParseSampleStreamFactory
- OntoNotesPOSSampleStreamFactory - Class in opennlp.tools.formats.ontonotes
-
Note: Do not use this class, internal use only!
- OntoNotesPOSSampleStreamFactory() - Constructor for class opennlp.tools.formats.ontonotes.OntoNotesPOSSampleStreamFactory
- open() - Method in class opennlp.tools.formats.conllu.ConlluDependencySampleStream
-
Opens a fresh UTF-8 reader over the content.
- open(InputStream) - Static method in class opennlp.tools.util.model.BaseModel.FilteredObjectInputStream
- OPEN_QUOTE - Static variable in class opennlp.tools.tokenize.lang.en.TokenSampleStream
- OPENING_BRACKET - Static variable in class opennlp.tools.parser.Parse
-
Opens a constituent in the bracketed parse string.
- OPENNLP_DOWNLOAD_HOME - Static variable in class opennlp.tools.util.DownloadUtil
- OPENNLP_MODEL_JAR_PREFIX - Static variable in interface opennlp.tools.models.ClassPathModelFinder
- opennlp.tools.chunker - package opennlp.tools.chunker
- opennlp.tools.cmdline - package opennlp.tools.cmdline
- opennlp.tools.cmdline.params - package opennlp.tools.cmdline.params
- opennlp.tools.commons - package opennlp.tools.commons
- opennlp.tools.depparse - package opennlp.tools.depparse
- opennlp.tools.dictionary - package opennlp.tools.dictionary
- opennlp.tools.dictionary.serializer - package opennlp.tools.dictionary.serializer
- opennlp.tools.doccat - package opennlp.tools.doccat
- opennlp.tools.document - package opennlp.tools.document
- opennlp.tools.embeddings - package opennlp.tools.embeddings
- opennlp.tools.entitylinker - package opennlp.tools.entitylinker
- opennlp.tools.formats - package opennlp.tools.formats
- opennlp.tools.formats.ad - package opennlp.tools.formats.ad
- opennlp.tools.formats.brat - package opennlp.tools.formats.brat
- opennlp.tools.formats.conllu - package opennlp.tools.formats.conllu
- opennlp.tools.formats.convert - package opennlp.tools.formats.convert
- opennlp.tools.formats.frenchtreebank - package opennlp.tools.formats.frenchtreebank
- opennlp.tools.formats.irishsentencebank - package opennlp.tools.formats.irishsentencebank
- opennlp.tools.formats.leipzig - package opennlp.tools.formats.leipzig
- opennlp.tools.formats.letsmt - package opennlp.tools.formats.letsmt
- opennlp.tools.formats.masc - package opennlp.tools.formats.masc
- opennlp.tools.formats.moses - package opennlp.tools.formats.moses
- opennlp.tools.formats.muc - package opennlp.tools.formats.muc
- opennlp.tools.formats.nkjp - package opennlp.tools.formats.nkjp
- opennlp.tools.formats.ontonotes - package opennlp.tools.formats.ontonotes
- opennlp.tools.langdetect - package opennlp.tools.langdetect
- opennlp.tools.languagemodel - package opennlp.tools.languagemodel
- opennlp.tools.lemmatizer - package opennlp.tools.lemmatizer
- opennlp.tools.log - package opennlp.tools.log
- opennlp.tools.ml - package opennlp.tools.ml
- opennlp.tools.ml.maxent - package opennlp.tools.ml.maxent
-
Provides main functionality of the maxent package including data structures and algorithms for parameter estimation.
- opennlp.tools.ml.maxent.io - package opennlp.tools.ml.maxent.io
-
Provides the I/O functionality of the maxent package including reading and writing models in several formats.
- opennlp.tools.ml.maxent.quasinewton - package opennlp.tools.ml.maxent.quasinewton
- opennlp.tools.ml.model - package opennlp.tools.ml.model
- opennlp.tools.ml.naivebayes - package opennlp.tools.ml.naivebayes
- opennlp.tools.ml.perceptron - package opennlp.tools.ml.perceptron
- opennlp.tools.models - package opennlp.tools.models
- opennlp.tools.models.classgraph - package opennlp.tools.models.classgraph
- opennlp.tools.models.dir - package opennlp.tools.models.dir
- opennlp.tools.models.simple - package opennlp.tools.models.simple
- opennlp.tools.monitoring - package opennlp.tools.monitoring
- opennlp.tools.namefind - package opennlp.tools.namefind
- opennlp.tools.ngram - package opennlp.tools.ngram
- opennlp.tools.parser - package opennlp.tools.parser
- opennlp.tools.parser.chunking - package opennlp.tools.parser.chunking
- opennlp.tools.parser.lang.en - package opennlp.tools.parser.lang.en
- opennlp.tools.parser.lang.es - package opennlp.tools.parser.lang.es
- opennlp.tools.parser.treeinsert - package opennlp.tools.parser.treeinsert
- opennlp.tools.postag - package opennlp.tools.postag
- opennlp.tools.sentdetect - package opennlp.tools.sentdetect
- opennlp.tools.sentdetect.lang - package opennlp.tools.sentdetect.lang
- opennlp.tools.sentdetect.lang.th - package opennlp.tools.sentdetect.lang.th
-
Package related to the processing of Thai data.
- opennlp.tools.sentiment - package opennlp.tools.sentiment
- opennlp.tools.stemmer - package opennlp.tools.stemmer
- opennlp.tools.stemmer.hunspell - package opennlp.tools.stemmer.hunspell
- opennlp.tools.stemmer.snowball - package opennlp.tools.stemmer.snowball
- opennlp.tools.stopword - package opennlp.tools.stopword
- opennlp.tools.termvector - package opennlp.tools.termvector
- opennlp.tools.tokenize - package opennlp.tools.tokenize
- opennlp.tools.tokenize.lang - package opennlp.tools.tokenize.lang
- opennlp.tools.tokenize.lang.en - package opennlp.tools.tokenize.lang.en
- opennlp.tools.tokenize.lattice - package opennlp.tools.tokenize.lattice
- opennlp.tools.tokenize.uax29 - package opennlp.tools.tokenize.uax29
- opennlp.tools.util - package opennlp.tools.util
- opennlp.tools.util.archive - package opennlp.tools.util.archive
- opennlp.tools.util.eval - package opennlp.tools.util.eval
- opennlp.tools.util.ext - package opennlp.tools.util.ext
- opennlp.tools.util.featuregen - package opennlp.tools.util.featuregen
- opennlp.tools.util.java - package opennlp.tools.util.java
- opennlp.tools.util.jvm - package opennlp.tools.util.jvm
- opennlp.tools.util.model - package opennlp.tools.util.model
- opennlp.tools.util.normalizer - package opennlp.tools.util.normalizer
- opennlp.tools.util.wordvector - package opennlp.tools.util.wordvector
- opensHyphenatedCompound(int[]) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Checks whether an entry may open a compound under the Hungarian moving rule.
- Operation() - Constructor for enum class opennlp.tools.tokenize.DetokenizationDictionary.Operation
- operationTable - Variable in class opennlp.tools.tokenize.DetokenizationDictionary
- optimize(FeedforwardNetwork, int[][], int[], FeedforwardDependencyTrainer.Settings) - Static method in class opennlp.tools.depparse.FeedforwardDependencyTrainer
-
Minibatch AdaGrad over softmax cross-entropy with cube activation and dropout, updating
networkin place. - Optimizer(FeedforwardNetwork, FeedforwardDependencyTrainer.Settings) - Constructor for class opennlp.tools.depparse.FeedforwardDependencyTrainer.Optimizer
-
Sizes the accumulators and scratch buffers for one run.
- option(String, String) - Method in class opennlp.tools.util.ext.ProviderSpec
-
Reads an option.
- optional - Variable in record class opennlp.tools.cmdline.ArgumentParser.Argument
-
The field for the
optionalrecord component. - optional() - Method in record class opennlp.tools.cmdline.ArgumentParser.Argument
-
Returns the value of the
optionalrecord component. - options - Variable in class opennlp.tools.util.ext.ProviderSpec
- options() - Method in class opennlp.tools.util.ext.ProviderSpec
- oracle - Variable in record class opennlp.tools.depparse.FeedforwardDependencyTrainer.Derivation
-
The field for the
oraclerecord component. - oracle() - Method in record class opennlp.tools.depparse.FeedforwardDependencyTrainer.Derivation
-
Returns the value of the
oraclerecord component. - ordinal - Variable in record class opennlp.tools.util.ext.Providers.ConfigurationFile
-
The field for the
ordinalrecord component. - ordinal() - Method in record class opennlp.tools.util.ext.Providers.ConfigurationFile
-
Returns the value of the
ordinalrecord component. - ordinal(URL, Properties) - Method in class opennlp.tools.util.ext.Providers
- ORDINAL_KEY - Static variable in class opennlp.tools.util.ext.Providers
-
The key that orders several "META-INF/opennlp/providers.properties"<P extends Provider<?>> files,
0by default. - ordinalOf(int) - Static method in class opennlp.tools.tokenize.uax29.WordBreakProperty
- ordinalOf(WordBreakProperty.Data, int) - Static method in class opennlp.tools.tokenize.uax29.WordBreakProperty
-
Like
WordBreakProperty.ordinalOf(int)but against an already-resolved table, so a caller that looks up many code points in one pass (WordSegmenter) pays the volatile read behindWordBreakProperty.data()once for the whole pass rather than once per code point. - ordinalOfSupplementary(WordBreakProperty.Data, int) - Static method in class opennlp.tools.tokenize.uax29.WordBreakProperty
- ORG_XML_FEATURES_DISALLOW_DOCTYPE_DECL - Static variable in class opennlp.tools.formats.letsmt.LetsmtDocument
- original - Variable in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankSentence
- original - Variable in record class opennlp.tools.util.normalizer.AlignedText
-
The field for the
originalrecord component. - original() - Method in record class opennlp.tools.util.normalizer.AlignedText
-
Returns the value of the
originalrecord component. - original() - Method in class opennlp.tools.util.normalizer.Term
-
Returns the original token text.
- ORIGINAL - Enum constant in enum class opennlp.tools.util.normalizer.Dimension
-
The original token text, the source of truth.
- originalCursor - Variable in class opennlp.tools.util.normalizer.Alignment.Builder
- originalEnd - Variable in class opennlp.tools.util.normalizer.Alignment
- originalLength - Variable in class opennlp.tools.util.normalizer.Alignment
- originalLength() - Method in class opennlp.tools.util.normalizer.Alignment
-
Returns the length of the original text this alignment was built for.
- originalStart - Variable in class opennlp.tools.util.normalizer.Alignment
- OTHER - Enum constant in enum class opennlp.tools.tokenize.uax29.WordBreak
-
No assigned
Word_Breakvalue (the default). - OTHER - Static variable in class opennlp.tools.formats.ad.ADChunkSampleStream
- OTHER - Static variable in class opennlp.tools.namefind.BilouCodec
- OTHER - Static variable in class opennlp.tools.namefind.BioCodec
- OTHER - Static variable in class opennlp.tools.namefind.NameFinderME
- OTHER - Static variable in class opennlp.tools.parser.AbstractBottomUpParser
-
Outcome for token which is not contained in a basal constituent.
- OTHER - Static variable in class opennlp.tools.tokenize.SimpleTokenizer.CharacterEnum
- OTHER_ORDINAL - Static variable in class opennlp.tools.tokenize.uax29.WordSegmenter
- out_grouping(char[], int, int) - Method in class opennlp.tools.stemmer.snowball.SnowballProgram
- out_grouping_b(char[], int, int) - Method in class opennlp.tools.stemmer.snowball.SnowballProgram
- outcome - Variable in class opennlp.tools.ml.BeamSearch.SearchNode
- outcome - Variable in class opennlp.tools.ml.model.ComparableEvent
- outcome - Variable in class opennlp.tools.ml.model.Event
- outcome - Variable in record class opennlp.tools.ml.model.EventFields.EventLine
-
The field for the
outcomerecord component. - outcome() - Method in record class opennlp.tools.ml.model.EventFields.EventLine
-
Returns the value of the
outcomerecord component. - OUTCOME_LABELS - Variable in class opennlp.tools.ml.AbstractMLModelWriter
- OUTCOME_PRIOR_FEATURE - Static variable in class opennlp.tools.util.featuregen.OutcomePriorFeatureGenerator
- OUTCOME_SEPARATOR - Static variable in class opennlp.tools.ml.model.SimpleEventStreamBuilder
- outcomeLabels - Variable in class opennlp.tools.ml.maxent.GISTrainer
-
Stores the String names of the outcomes.
- outcomeLabels - Variable in class opennlp.tools.ml.model.AbstractDataIndexer
-
The names of the outcomes.
- outcomeLabels - Variable in class opennlp.tools.ml.naivebayes.NaiveBayesTrainer
-
Stores the String names of the outcomes.
- outcomeLabels - Variable in class opennlp.tools.ml.perceptron.PerceptronTrainer
-
Stores the String names of the outcomes.
- outcomeLabels - Variable in class opennlp.tools.ml.perceptron.SimplePerceptronSequenceTrainer
- outcomeList - Variable in class opennlp.tools.ml.maxent.GISTrainer
-
List of outcomes for each event i, in context[i].
- outcomeList - Variable in class opennlp.tools.ml.maxent.quasinewton.NegLogLikelihood
- outcomeList - Variable in class opennlp.tools.ml.model.AbstractDataIndexer
-
The integer outcome associated with each unique event.
- outcomeList - Variable in class opennlp.tools.ml.naivebayes.NaiveBayesTrainer
-
List of outcomes for each event i, in context[i].
- outcomeList - Variable in class opennlp.tools.ml.perceptron.PerceptronTrainer
-
List of outcomes for each event i, in context[i].
- outcomeList - Variable in class opennlp.tools.ml.perceptron.SimplePerceptronSequenceTrainer
-
List of outcomes for each event i, in context[i].
- outcomeNames - Variable in class opennlp.tools.ml.model.AbstractModel
-
The names of the outcomes.
- OutcomePriorFeatureGenerator - Class in opennlp.tools.util.featuregen
-
The definition feature maps the underlying distribution of outcomes.
- OutcomePriorFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.OutcomePriorFeatureGenerator
- outcomes - Variable in class opennlp.tools.ml.model.ComparablePredicate
- outcomes - Variable in class opennlp.tools.ml.model.Context
-
The outcomes which occur with this context.
- outcomes - Variable in class opennlp.tools.util.Sequence
- outcomes() - Method in class opennlp.tools.ml.BeamSearch.SearchNode
- outcomeTotals - Variable in class opennlp.tools.ml.naivebayes.NaiveBayesEvalParameters
- outcomeTotals - Variable in class opennlp.tools.ml.naivebayes.NaiveBayesModel
- OUTER - Enum constant in enum class opennlp.tools.formats.GermEval2014NameSampleStream.NerLayer
-
The outer (top-level) named entity annotations (column 3).
- output - Variable in class opennlp.tools.ml.maxent.io.BinaryGISModelWriter
- output - Variable in class opennlp.tools.ml.maxent.io.BinaryQNModelWriter
- output - Variable in class opennlp.tools.ml.naivebayes.BinaryNaiveBayesModelWriter
- output - Variable in class opennlp.tools.ml.naivebayes.PlainTextNaiveBayesModelWriter
- output - Variable in class opennlp.tools.ml.perceptron.BinaryPerceptronModelWriter
- OUTPUT_CONVERSION_TAG - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- outputAccumulator - Variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer.Optimizer
- outputBias - Variable in class opennlp.tools.depparse.FeedforwardNetwork
- outputBias() - Method in class opennlp.tools.depparse.FeedforwardNetwork
- outputBiasAccumulator - Variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer.Optimizer
- outputBiasGradient - Variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer.Optimizer
- outputConversion - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary.AffixFile
- outputConversion - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- outputDelta - Variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer.Optimizer
- outputForm(String) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Applies output conversion to a recognized stem.
- outputGradient - Variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer.Optimizer
- outputScores(double[], double[]) - Method in class opennlp.tools.depparse.FeedforwardNetwork
-
Applies the output layer to hidden activations.
- outputSize - Variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer.Optimizer
- outputWeights - Variable in class opennlp.tools.depparse.FeedforwardNetwork
- outputWeights() - Method in class opennlp.tools.depparse.FeedforwardNetwork
- overrideType(Span[]) - Method in class opennlp.tools.namefind.NameFinderEventStream
- ownerLock - Variable in class opennlp.tools.util.LastResultOwnerOrThreadLocal
- OwnerOrPerThreadState<S> - Class in opennlp.tools.util
-
Routes mutable per-invocation state either to a single owner-thread field or to
ThreadLocalstorage once multiple threads use the same enclosing instance. - OwnerOrPerThreadState(Supplier<S>, Consumer<S>) - Constructor for class opennlp.tools.util.OwnerOrPerThreadState
- ownerState - Variable in class opennlp.tools.util.OwnerOrPerThreadState
- ownerThreadId - Variable in class opennlp.tools.util.LastResultOwnerOrThreadLocal
- ownerThreadId - Variable in class opennlp.tools.util.OwnerOrPerThreadState
- ownerValue - Variable in class opennlp.tools.util.LastResultOwnerOrThreadLocal
-
The owner thread's last value.
P
- PACKAGE_SEPARATOR - Static variable in class opennlp.tools.util.ext.Providers
- PACKAGE_SEPARATOR_PATH - Static variable in class opennlp.tools.util.ext.Providers
- padding(long) - Method in class opennlp.tools.util.archive.TarStream
- para - Variable in class opennlp.tools.formats.ad.ADSentenceSampleStream
- paragraph - Variable in record class opennlp.tools.formats.ad.ADMetadata.TextAndParagraph
-
The field for the
paragraphrecord component. - paragraph() - Method in record class opennlp.tools.formats.ad.ADMetadata.TextAndParagraph
-
Returns the value of the
paragraphrecord component. - PARAGRAPH_PREFIX - Static variable in class opennlp.tools.formats.ad.ADMetadata
- PARAGRAPH_TAG - Static variable in class opennlp.tools.formats.ad.ADSentenceStream
- paragraphEnd - Variable in record class opennlp.tools.formats.ad.ADMetadata.IdSpans
-
The field for the
paragraphEndrecord component. - paragraphEnd() - Method in record class opennlp.tools.formats.ad.ADMetadata.IdSpans
-
Returns the value of the
paragraphEndrecord component. - paragraphId - Variable in class opennlp.tools.formats.conllu.ConlluSentence
- ParagraphPreservingWhitespaceCharSequenceNormalizer - Class in opennlp.tools.util.normalizer
-
An
OffsetAwareNormalizerthat unwraps hard-wrapped prose while keeping real paragraph breaks. - ParagraphPreservingWhitespaceCharSequenceNormalizer() - Constructor for class opennlp.tools.util.normalizer.ParagraphPreservingWhitespaceCharSequenceNormalizer
- paragraphReplacement(CharSequence, CodePointSet, int) - Method in class opennlp.tools.util.normalizer.CharClass
-
Returns the
CharClass.RunReplacementof thecollapseParagraphPreservingoperations:paragraphReplacementfor a run with two or more logical line breaks, the usual replacement otherwise. - paragraphStart - Variable in record class opennlp.tools.formats.ad.ADMetadata.IdSpans
-
The field for the
paragraphStartrecord component. - paragraphStart() - Method in record class opennlp.tools.formats.ad.ADMetadata.IdSpans
-
Returns the value of the
paragraphStartrecord component. - ParagraphStream - Class in opennlp.tools.util
-
A
FilterObjectStreamwhich merges text lines into paragraphs. - ParagraphStream(ObjectStream<String>) - Constructor for class opennlp.tools.util.ParagraphStream
-
Initializes an
FilterObjectStream. - paraID - Variable in class opennlp.tools.formats.ad.ADSentenceStream
- ParallelNegLogLikelihood - Class in opennlp.tools.ml.maxent.quasinewton
-
Evaluates
negative log-likelihoodand its gradient in parallel. - ParallelNegLogLikelihood(DataIndexer<TrainingParameters>, int) - Constructor for class opennlp.tools.ml.maxent.quasinewton.ParallelNegLogLikelihood
- ParallelNegLogLikelihood.ComputeTask - Class in opennlp.tools.ml.maxent.quasinewton
-
A
ParallelNegLogLikelihood.ComputeTaskthat is computed in parallel. - ParallelNegLogLikelihood.GradientComputeTask - Class in opennlp.tools.ml.maxent.quasinewton
-
A
ParallelNegLogLikelihood.ComputeTaskfor computing partial gradient. - ParallelNegLogLikelihood.NegLLComputeTask - Class in opennlp.tools.ml.maxent.quasinewton
-
A
ParallelNegLogLikelihood.ComputeTaskfor computing partial value of negative log-likelihood. - ParamChecks - Class in opennlp.tools.util
-
Argument checks that report an invalid parameter with an
IllegalArgumentExceptionnaming that parameter. - ParamChecks() - Constructor for class opennlp.tools.util.ParamChecks
- parameter - Variable in enum class opennlp.tools.formats.conllu.ConlluTagset
-
The value of the command line
tagsetparameter that selects this tagset. - parameters - Variable in class opennlp.tools.ml.model.Context
-
The real valued parameters or expected values for this context.
- parameters - Variable in class opennlp.tools.util.TrainingParameters
- Parameters - Interface in opennlp.tools.util
- params - Variable in class opennlp.tools.chunker.ChunkerCrossValidator
- params - Variable in class opennlp.tools.depparse.DependencyCrossValidator
- params - Variable in class opennlp.tools.doccat.DoccatCrossValidator
- params - Variable in class opennlp.tools.formats.AbstractSampleStreamFactory
- params - Variable in class opennlp.tools.langdetect.LanguageDetectorCrossValidator
- params - Variable in class opennlp.tools.ml.maxent.GISTrainer
-
Stores the estimated parameter value of each predicate during iteration
- params - Variable in class opennlp.tools.ml.model.ComparablePredicate
- params - Variable in class opennlp.tools.ml.model.DynamicEvalParameters
-
Mapping between outcomes and parameter values for each context.
- params - Variable in class opennlp.tools.ml.model.EvalParameters
-
Mapping between outcomes and parameter values for each context.
- params - Variable in class opennlp.tools.ml.perceptron.SimplePerceptronSequenceTrainer
-
Stores the estimated parameter value of each predicate during iteration.
- params - Variable in class opennlp.tools.namefind.TokenNameFinderCrossValidator
- params - Variable in class opennlp.tools.postag.POSTaggerCrossValidator
- params - Variable in class opennlp.tools.sentdetect.SDCrossValidator
- params - Variable in class opennlp.tools.sentiment.SentimentCrossValidator
- params - Variable in class opennlp.tools.tokenize.TokenizerCrossValidator
- PARAMS - Variable in class opennlp.tools.ml.AbstractMLModelWriter
- parent - Variable in class opennlp.tools.depparse.ArcStandardBeam.Node
- parent - Variable in class opennlp.tools.ml.BeamSearch.SearchNode
- parent - Variable in class opennlp.tools.parser.Parse
-
The parent parse of this parse.
- PARENT_DIRECTORY - Static variable in class opennlp.tools.util.ResourceInstaller
-
The path segment that names the parent directory.
- parse(File) - Static method in class opennlp.tools.formats.brat.AnnotationConfiguration
-
Parses a given
annConfigFileinto aAnnotationConfiguration. - parse(File) - Static method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument
-
Parses the data provided via a
Fileinto aIrishSentenceBankDocument. - parse(File) - Static method in class opennlp.tools.formats.letsmt.LetsmtDocument
- parse(File) - Static method in class opennlp.tools.formats.nkjp.NKJPSegmentationDocument
- parse(File) - Static method in class opennlp.tools.formats.nkjp.NKJPTextDocument
- parse(InputStream) - Static method in class opennlp.tools.formats.brat.AnnotationConfiguration
-
Parses a given
annConfigFileinto aAnnotationConfiguration. - parse(InputStream) - Static method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument
-
Parses the data provided via an
InputStreaminto aIrishSentenceBankDocument. - parse(InputStream) - Static method in class opennlp.tools.formats.letsmt.LetsmtDocument
- parse(InputStream) - Static method in class opennlp.tools.formats.nkjp.NKJPSegmentationDocument
- parse(InputStream) - Static method in class opennlp.tools.formats.nkjp.NKJPTextDocument
- parse(InputStream) - Method in interface opennlp.tools.util.normalizer.BundledUnicodeData.Parser
-
Parses
in. - parse(InputStream) - Static method in class opennlp.tools.util.normalizer.Confusables
-
Parses the source-to-prototype mappings from the
confusables.txtdata. - parse(InputStream) - Static method in class opennlp.tools.util.normalizer.EmojiAnnotations
-
Parses annotation rows of the form
codepoints ; attribute ; value ; source ; noteswith space-separated hexadecimal code points;'#'starts a comment line. - parse(InputStream) - Static method in class opennlp.tools.util.normalizer.EmojiEmoticons
-
Parses rows of
source ; target ; fold_type ; standard ; unicode_version ; noteswith space-separated hexadecimal code points;'#'starts a comment line. - parse(InputStream) - Static method in class opennlp.tools.util.normalizer.FullCaseFoldCharSequenceNormalizer
-
Parses the full-folding mappings, the
C(common) andF(full) status rows ofCaseFolding.txt. - parse(InputStream) - Static method in class opennlp.tools.util.normalizer.UnicodeEmojiSequences
-
Parses
S;sequence andC;component range records into a matcher. - parse(InputStream) - Static method in class opennlp.tools.util.wordvector.Glove
-
Parses a glove vector plain text file.
- parse(InputStream, byte[], List<int[]>) - Static method in class opennlp.tools.tokenize.uax29.WordBreakProperty
-
Parses
Word_Breakdefinition lines into the BMP table and the supplementary range list. - parse(InputStream, BitSet) - Static method in class opennlp.tools.tokenize.uax29.ExtendedPictographic
-
Parses
Extended_Pictographicdefinition lines intoset. - parse(Reader, SgmlParser.ContentHandler) - Method in class opennlp.tools.formats.muc.SgmlParser
-
Parses an SGML document available via the input in
Reader. - parse(String) - Static method in enum class opennlp.tools.parser.ParserType
- parse(String) - Static method in class opennlp.tools.postag.POSSample
-
Parses a
sentenceString. - parse(String) - Static method in enum class opennlp.tools.tokenize.DetokenizationDictionary.Operation
- parse(String) - Static method in class opennlp.tools.tokenize.TokenizerCharacterPolicy
-
Parses the text form written by
TokenizerCharacterPolicy.toString(): the three fieldsletters=,;digits=and;marks=in that order, each followed by zero or more comma separated hex code points (0041) or inclusive ranges (0041-005A). - parse(String) - Static method in class opennlp.tools.util.Version
- parse(String[][], String) - Static method in class opennlp.tools.stemmer.hunspell.HunspellConversion
-
Parses an affix conversion table and validates the entry count.
- parse(String[], Class<T>) - Static method in class opennlp.tools.cmdline.ArgumentParser
-
Parses the passed arguments and creates an instance of the proxy interface.
- parse(String[], String[]) - Method in interface opennlp.tools.depparse.DependencyParser
-
Parses a sentence into a
DependencyTree. - parse(String[], String[]) - Method in class opennlp.tools.depparse.DependencyParserME
-
Parses a sentence into a
DependencyTree. - parse(String[], String[]) - Method in class opennlp.tools.depparse.FeedforwardDependencyParser
-
Parses a sentence into a
DependencyTree. - parse(String, boolean) - Static method in class opennlp.tools.namefind.NameSample
-
Parses given input into a
NameSample. - parse(String, boolean, int) - Static method in class opennlp.tools.stemmer.hunspell.AffixCondition
-
Parses a condition field.
- parse(String, int) - Static method in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.WordBreak
-
Parses a declaration such as
-,^-, or-$. - parse(String, int, boolean, boolean) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
-
Parses a sentence string into a
ADSentenceStream.Sentence. - parse(String, int, HunspellCompoundRule.FlagReader) - Static method in class opennlp.tools.stemmer.hunspell.HunspellCompoundRule
-
Parses a compound rule.
- parse(String, String) - Static method in class opennlp.tools.tokenize.TokenSample
-
Parses a string sample.
- parse(String, String, boolean) - Static method in class opennlp.tools.namefind.NameSample
-
Parses given input into a
NameSample. - parse(List<String>, String) - Static method in class opennlp.tools.util.normalizer.CodePointSet
- parse(BratDocument) - Method in class opennlp.tools.formats.brat.BratDocumentParser
- parse(Parse) - Method in class opennlp.tools.parser.AbstractBottomUpParser
- parse(Parse) - Method in interface opennlp.tools.parser.Parser
- parse(Parse, int) - Method in class opennlp.tools.parser.AbstractBottomUpParser
- parse(Parse, int) - Method in interface opennlp.tools.parser.Parser
-
Returns the specified number of parses or fewer for the specified tokens.
- parse(Span[], CharSequence) - Method in class opennlp.tools.formats.brat.BratAnnotationStream.AnnotatorNoteParser
- parse(Span[], CharSequence) - Method in class opennlp.tools.formats.brat.BratAnnotationStream.AttributeAnnotationParser
- parse(Span[], CharSequence) - Method in class opennlp.tools.formats.brat.BratAnnotationStream.BratAnnotationParser
- parse(Span[], CharSequence) - Method in class opennlp.tools.formats.brat.BratAnnotationStream.EventAnnotationParser
- parse(Span[], CharSequence) - Method in class opennlp.tools.formats.brat.BratAnnotationStream.RelationAnnotationParser
- parse(Span[], CharSequence) - Method in class opennlp.tools.formats.brat.BratAnnotationStream.SpanAnnotationParser
- Parse - Class in opennlp.tools.parser
-
Data structure for holding parse constituents.
- Parse(String, Span, String, double, int) - Constructor for class opennlp.tools.parser.Parse
-
Initializes a
nodefor this specifiedtextandspanof the specifiedtypewith probabilitypand the headindex. - Parse(String, Span, String, double, Parse) - Constructor for class opennlp.tools.parser.Parse
-
Initializes a
nodefor this specifiedtextandspanof the specifiedtypewith probabilitypand the headindex. - parseAffix(String) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Parses the affix file: the
FLAGdeclaration, theAFflag alias table, the compound and blocking flag declarations, and thePFXandSFXblocks. - parseAffixBlock(String[][], int, String[], HunspellDictionary.AffixFile) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Parses one
PFXorSFXblock: the header line naming the flag, the cross-product marker, and the rule count, followed by exactly that many rule lines. - parseAliasedFlags(String, HunspellDictionary.FlagMode, List<int[]>, int) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Resolves a numeric
AFalias or parses a direct flag run when no alias applies. - parseAnchors(String) - Static method in class opennlp.tools.formats.masc.MascIdentifiers
-
Parses the two ordered, nonnegative offsets of a contiguous text region, each written in ASCII digits only, as
MascIdentifiers.parseId(String, String)reads an identifier number. - parseArg(String) - Method in class opennlp.tools.formats.brat.BratAnnotationStream.RelationAnnotationParser
- parseArgument(Method, String, String) - Method in interface opennlp.tools.cmdline.ArgumentParser.ArgumentFactory
- parseArgument(Method, String, String) - Method in class opennlp.tools.cmdline.ArgumentParser.BooleanArgumentFactory
- parseArgument(Method, String, String) - Method in class opennlp.tools.cmdline.ArgumentParser.CharsetArgumentFactory
- parseArgument(Method, String, String) - Method in class opennlp.tools.cmdline.ArgumentParser.FileArgumentFactory
- parseArgument(Method, String, String) - Method in class opennlp.tools.cmdline.ArgumentParser.IntegerArgumentFactory
- parseArgument(Method, String, String) - Method in class opennlp.tools.cmdline.ArgumentParser.LongArgumentFactory
- parseArgument(Method, String, String) - Method in class opennlp.tools.cmdline.ArgumentParser.StringArgumentFactory
- parseAsciiInt(String, int) - Static method in class opennlp.tools.formats.masc.MascIdentifiers
-
Parses the ASCII digits from
fromto the end oftextas a nonnegativeint. - parseBase256Size() - Method in class opennlp.tools.util.archive.TarStream
-
Reads a size field in the base-256 encoding, which GNU writes when a value does not fit the 11 octal digits the field otherwise contains, so entries of 8 GiB and above can state their length.
- parseBizarreLeaf(String) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
-
Parses a leaf line with an equals sign in place of the colon in its tag: the level prefix, the tag, and in parentheses an optional quoted lemma and an optional morphological tag, then whitespace and the lexeme.
- parseBizarreLeafAfterTag(String, ADSentenceStream.SentenceParser.Tag, ADSentenceStream.SentenceParser.LineScan) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
-
Parses the part of a leaf line after a tag with an equals sign and the opening parenthesis, see
ADSentenceStream.SentenceParser.parseBizarreLeaf(String). - parseChecksum(String) - Static method in class opennlp.tools.util.DownloadUtil
-
Extracts the hash from the content of a checksum file, which holds the hash followed by the name of the file it applies to.
- parseCodePoint(CharSequence) - Static method in class opennlp.tools.util.normalizer.HexCodePoints
-
Parses hex digits as one code point.
- parseCodePoint(CharSequence, int, int) - Static method in class opennlp.tools.util.normalizer.HexCodePoints
-
Parses the hex digits between two indexes as one code point.
- parseCodePoint(String, int, String) - Static method in class opennlp.tools.util.normalizer.CodePointSet
-
Parses one code point entry in hex, optionally prefixed with
U+or0x. - parseCodePoint(String, Path, int) - Static method in class opennlp.tools.tokenize.lattice.MecabDictionary
-
Parses a
0x-prefixed hexadecimal code point fromchar.def. - parseContexts(String[]) - Static method in class opennlp.tools.ml.model.RealValueFileEventStream
-
Parses the specified
contextsand re-populates context array with features and returns the values for these features. - parseContractionRange(String) - Method in class opennlp.tools.formats.conllu.ConlluStream
-
Parses a multiword token id of the form
start-end, where both sides are ASCII digit runs without a leading zero and the range does not run backwards. - Parsed(String, Set<String>) - Constructor for record class opennlp.tools.util.ext.Providers.Parsed
-
Creates an instance of a
Parsedrecord class. - parseDigits(String, int, int) - Static method in class opennlp.tools.formats.ad.ADMetadata
-
Reads a run of ASCII digits as a number.
- parseDocument(String, InputStream, InputStream, InputStream, InputStream, InputStream) - Static method in class opennlp.tools.formats.masc.MascDocument
-
Initializes a
MascDocumentwith all the stand-off annotations translated into the internal structure. - parseDocument(AnnotationConfiguration, String, InputStream, InputStream) - Static method in class opennlp.tools.formats.brat.BratDocument
- parseEvent(String) - Static method in class opennlp.tools.ml.model.RealValueFileEventStream
-
Parses one real-valued event line.
- parseFlag(String, HunspellDictionary.FlagMode, int) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Parses a field that must contain exactly one flag, such as the flag name in an affix block header.
- parseFlags(String, HunspellDictionary.FlagMode, int) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Parses a flag run according to the declared flag mode: single characters in
charmode, character pairs packed into oneintinlongmode, and comma-separated decimal numbers innummode. - parseHex(String, int, int) - Static method in class opennlp.tools.tokenize.TokenizerCharacterPolicy
-
Reads the hex code point in
text[from, to). - parseId(String, String) - Static method in class opennlp.tools.formats.masc.MascIdentifiers
-
Parses the number of an identifier that starts with
prefixand continues with one or more ASCII digits only. - parseIds(String, String) - Static method in class opennlp.tools.formats.masc.MascIdentifiers
-
Parses an XML whitespace separated list of identifiers as
MascIdentifiers.parseId(String, String)does. - parseInt(String) - Method in class opennlp.tools.formats.brat.BratAnnotationStream.BratAnnotationParser
- parseInt(String, String, int) - Static method in class opennlp.tools.tokenize.lattice.MecabDictionary
-
Parses a decimal integer field, reporting the file and line on failure.
- parseJarURI(URI) - Method in class opennlp.tools.models.AbstractClassPathModelFinder
- parseLeaf(String) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
-
Parses a leaf line: the level prefix, a syntactic tag, a colon, a functional tag, and in parentheses a quoted lemma, secondary tags in angle brackets, and a morphological tag, then whitespace and the lexeme.
- parseLeafAfterTag(String, ADSentenceStream.SentenceParser.Tag, ADSentenceStream.SentenceParser.LineScan) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
-
Parses the part of a leaf line after the tag, see
ADSentenceStream.SentenceParser.parseLeaf(String). - parseMorphology(String[], List<List<String>>, int) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Expands an optional morphology alias.
- parseNamedEntity(InputStream) - Static method in class opennlp.tools.formats.masc.MascDocument
-
Parses the named entity stand-off annotation.
- parseNode(String) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
-
Parses a node line: the level prefix, a syntactic tag with a colon, an optional part in parentheses, and optional tag groups.
- parseOneEntryPerLine(Reader) - Static method in class opennlp.tools.dictionary.Dictionary
-
Reads a
Dictionarywhich has one entry per line. - parseParse(String) - Static method in class opennlp.tools.parser.Parse
-
Parses the specified tree-bank style parse string and return a
Parsestructure for that string. - parseParse(String, GapLabeler) - Static method in class opennlp.tools.parser.Parse
- parsePennTags(InputStream) - Static method in class opennlp.tools.formats.masc.MascDocument
-
Parses the Penn-POS (GATE5-ANNIE) stand-off annotation.
- parsePunctuationLine(String) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
-
Parses a punctuation line: leading equals signs followed by one or more characters, none of which is a letter, a decimal digit, or an underscore.
- parser - Variable in class opennlp.tools.depparse.DependencyEvaluator
- parser - Variable in class opennlp.tools.formats.ad.ADSentenceStream
- parser - Variable in class opennlp.tools.formats.brat.BratNameSampleStream
- parser - Variable in class opennlp.tools.parser.ParserAnnotator
- Parser - Class in opennlp.tools.parser.chunking
-
A shift reduce style
Parserimplementation based on Adwait Ratnaparkhi's 1998 thesis. - Parser - Class in opennlp.tools.parser.treeinsert
-
A built-attach
Parserimplementation. - Parser - Interface in opennlp.tools.parser
-
Defines common methods for full-syntactic parsers.
- Parser(MaxentModel, MaxentModel, MaxentModel, POSTagger, Chunker, HeadRules, int, double) - Constructor for class opennlp.tools.parser.treeinsert.Parser
-
Instantiates a
Parservia a givenmodeland other configuration parameters. - Parser(MaxentModel, MaxentModel, POSTagger, Chunker, HeadRules, int, double) - Constructor for class opennlp.tools.parser.chunking.Parser
-
Instantiates a
Parservia a givenmodeland other configuration parameters. - Parser(ParserModel) - Constructor for class opennlp.tools.parser.chunking.Parser
-
Instantiates a
Parservia a givenmodel. - Parser(ParserModel) - Constructor for class opennlp.tools.parser.treeinsert.Parser
-
Instantiates a
Parservia a givenmodel. - Parser(ParserModel, int, double) - Constructor for class opennlp.tools.parser.chunking.Parser
-
Instantiates a
Parservia a givenmodeland other configuration parameters. - Parser(ParserModel, int, double) - Constructor for class opennlp.tools.parser.treeinsert.Parser
-
Instantiates a
Parservia a givenmodeland other configuration parameters. - Parser(ParserModel, POSTagger, Chunker, int, double) - Constructor for class opennlp.tools.parser.chunking.Parser
- Parser(ParserModel, POSTagger, Chunker, int, double) - Constructor for class opennlp.tools.parser.treeinsert.Parser
- PARSER - Enum constant in enum class opennlp.tools.models.ModelType
- PARSER_MODEL_ENTRY_NAME - Static variable in class opennlp.tools.depparse.DependencyModel
-
The artifact map entry holding the transition classification model.
- PARSER_TAGGER_MODEL_ENTRY_NAME - Static variable in class opennlp.tools.parser.ParserModel
- PARSER_TYPE - Static variable in class opennlp.tools.parser.ParserModel
- parseRange(CharSequence) - Static method in class opennlp.tools.util.normalizer.HexCodePoints
-
Parses one code point or an inclusive
XXXX..YYYYrange. - parseRange(String, int, int) - Static method in class opennlp.tools.tokenize.TokenizerCharacterPolicy
-
Reads one code point or one inclusive range in
text[from, to). - parseRanges(String, int, int) - Static method in class opennlp.tools.tokenize.TokenizerCharacterPolicy
-
Reads the comma separated code points and ranges in
text[from, to). - ParserAnnotator - Class in opennlp.tools.parser
-
Adapts a constituency
Parserto the document pipeline: readsLayers.SENTENCESandLayers.TOKENSand providesParserAnnotator.PHRASES, one annotation per phrase node of each sentence's parse, carrying the phrase label and the span of its head token. - ParserAnnotator(Parser) - Constructor for class opennlp.tools.parser.ParserAnnotator
-
Initializes the adapter.
- ParserAnnotator.Phrase - Record Class in opennlp.tools.parser
-
One phrase of a constituency parse: its label, such as
NPorVP, and the span of the token that heads it. - ParserChunkerFactory - Class in opennlp.tools.parser
- ParserChunkerFactory() - Constructor for class opennlp.tools.parser.ParserChunkerFactory
- ParserChunkerSequenceValidator - Class in opennlp.tools.parser
-
The parser chunker
SequenceValidatorimplementation. - ParserChunkerSequenceValidator(String[]) - Constructor for class opennlp.tools.parser.ParserChunkerSequenceValidator
- ParserEvaluationMonitor - Interface in opennlp.tools.parser
-
A marker interface for evaluating
parsers. - ParserEventStream - Class in opennlp.tools.parser.chunking
-
Wrapper class for one of four
shift-reduce parserevent streams. - ParserEventStream - Class in opennlp.tools.parser.treeinsert
-
Wrapper class for one of four
built-attach parserevent streams. - ParserEventStream(ObjectStream<Parse>, HeadRules, ParserEventTypeEnum) - Constructor for class opennlp.tools.parser.chunking.ParserEventStream
- ParserEventStream(ObjectStream<Parse>, HeadRules, ParserEventTypeEnum) - Constructor for class opennlp.tools.parser.treeinsert.ParserEventStream
- ParserEventStream(ObjectStream<Parse>, HeadRules, ParserEventTypeEnum, Dictionary) - Constructor for class opennlp.tools.parser.chunking.ParserEventStream
- ParserEventStream(ObjectStream<Parse>, HeadRules, ParserEventTypeEnum, Dictionary) - Constructor for class opennlp.tools.parser.treeinsert.ParserEventStream
- ParserEventTypeEnum - Enum Class in opennlp.tools.parser
-
Enumeration of event types for a
Parser. - ParserEventTypeEnum() - Constructor for enum class opennlp.tools.parser.ParserEventTypeEnum
- ParserFactory - Class in opennlp.tools.parser
- ParserFactory() - Constructor for class opennlp.tools.parser.ParserFactory
- ParserModel - Class in opennlp.tools.parser
-
This is the default
ParserModelimplementation. - ParserModel(File) - Constructor for class opennlp.tools.parser.ParserModel
-
Initializes a
ParserModelinstance via a validFile. - ParserModel(InputStream) - Constructor for class opennlp.tools.parser.ParserModel
-
Initializes a
ParserModelinstance via a validInputStream. - ParserModel(String, MaxentModel, MaxentModel, MaxentModel, POSModel, ChunkerModel, HeadRules, ParserType) - Constructor for class opennlp.tools.parser.ParserModel
-
Initializes a
ParserModelinstance via given parameters. - ParserModel(String, MaxentModel, MaxentModel, MaxentModel, POSModel, ChunkerModel, HeadRules, ParserType, Map<String, String>) - Constructor for class opennlp.tools.parser.ParserModel
-
Initializes a
ParserModelinstance via given parameters. - ParserModel(String, MaxentModel, MaxentModel, POSModel, ChunkerModel, HeadRules, ParserType, Map<String, String>) - Constructor for class opennlp.tools.parser.ParserModel
-
Initializes a
ParserModelinstance via given parameters. - ParserModel(URL) - Constructor for class opennlp.tools.parser.ParserModel
-
Initializes a
ParserModelinstance via a validURL. - ParserModel(Path) - Constructor for class opennlp.tools.parser.ParserModel
-
Initializes a
ParserModelinstance via a validPath. - ParserModel.HeadRulesSerializer - Class in opennlp.tools.parser
- ParserType - Enum Class in opennlp.tools.parser
-
Enumeration of supported
Parsertypes. - ParserType() - Constructor for enum class opennlp.tools.parser.ParserType
- parses - Variable in class opennlp.tools.formats.frenchtreebank.ConstitDocumentHandler
- parses - Variable in class opennlp.tools.formats.frenchtreebank.ConstitParseSampleStream
- ParseSampleStream - Class in opennlp.tools.parser
- ParseSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.parser.ParseSampleStream
-
Initializes a
instance. - parseSampleStreamFactory - Variable in class opennlp.tools.formats.ontonotes.OntoNotesPOSSampleStreamFactory
- ParseSampleStreamFactory - Class in opennlp.tools.formats
-
Factory producing OpenNLP
ParseSampleStreams. - ParseSampleStreamFactory(Class<ParseSampleStreamFactory.Parameters>) - Constructor for class opennlp.tools.formats.ParseSampleStreamFactory
- ParseSampleStreamFactory.Parameters - Interface in opennlp.tools.formats
- parseSentences(InputStream) - Static method in class opennlp.tools.formats.masc.MascDocument
-
Parses the sentence annotation file, align it with the raw text
- parseSize() - Method in class opennlp.tools.util.archive.TarStream
-
Parses the size field of the current header, tolerating NUL and blank padding around the octal digits.
- parseStream(InputStream, Charset, boolean) - Static method in class opennlp.tools.stopword.DictionaryStopwordFilter
- parseTextAndParagraph(String) - Static method in class opennlp.tools.formats.ad.ADMetadata
-
Parses the text id and the paragraph id: the text id is the ASCII digit run that directly follows the leading ASCII letters and hyphens, the paragraph id the digit run after the first
p=that at least one digit follows. - ParseToPOSSampleStream - Class in opennlp.tools.formats.convert
-
Note: Do not use this class, internal use only!
- ParseToPOSSampleStream(ObjectStream<Parse>) - Constructor for class opennlp.tools.formats.convert.ParseToPOSSampleStream
-
Initializes a
ParseToPOSSampleStream. - ParseToPOSSampleStreamFactory - Class in opennlp.tools.formats.convert
-
Note: Do not use this class, internal use only!
- ParseToPOSSampleStreamFactory() - Constructor for class opennlp.tools.formats.convert.ParseToPOSSampleStreamFactory
- ParseToPOSSampleStreamFactory.Parameters - Interface in opennlp.tools.formats.convert
- ParseToSentenceSampleStreamFactory - Class in opennlp.tools.formats.convert
-
Note: Do not use this class, internal use only!
- ParseToSentenceSampleStreamFactory() - Constructor for class opennlp.tools.formats.convert.ParseToSentenceSampleStreamFactory
- ParseToSentenceSampleStreamFactory.Parameters - Interface in opennlp.tools.formats.convert
- ParseToTokenSampleStreamFactory - Class in opennlp.tools.formats.convert
-
Note: Do not use this class, internal use only!
- ParseToTokenSampleStreamFactory() - Constructor for class opennlp.tools.formats.convert.ParseToTokenSampleStreamFactory
- ParseToTokenSampleStreamFactory.Parameters - Interface in opennlp.tools.formats.convert
- parseValue(String[], int) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Parses the integer value of a directive that carries exactly one.
- parseWordList(String, HunspellDictionary.AffixFile) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Parses the word list: an optional leading entry count, then one entry per line consisting of the word, an optional
/flagsrun, and optional trailing morphological fields. - parseWords(InputStream) - Static method in class opennlp.tools.formats.masc.MascDocument
-
Parses the word segmentation stand-off annotation
- PART_CHECK_BUDGET - Static variable in class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Maximum candidate checks per compound search or recursive word-break search.
- partReadings(String, String, HunspellDictionary.CompoundPosition, boolean, boolean, boolean) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Collects direct and affixed readings for a compound component.
- parts - Variable in class opennlp.tools.parser.Parse
-
The sub-constituents of this parse.
- path() - Method in class opennlp.tools.util.ext.ProviderSpec
- PATH_SEPARATOR - Static variable in class opennlp.tools.util.ext.ProviderSpec
- pathCost - Variable in class opennlp.tools.tokenize.lattice.LatticeTokenizer.Node
- pathLengths - Static variable in class opennlp.tools.util.featuregen.BrownTokenClasses
- pathToFile - Variable in class opennlp.tools.formats.masc.MascDocument
- pattern - Variable in record class opennlp.tools.stemmer.hunspell.HunspellStemmer.Junction
-
The field for the
patternrecord component. - pattern - Variable in class opennlp.tools.tokenize.TokenizerFactory.PatternCheck
- pattern - Variable in class opennlp.tools.util.featuregen.StringPattern
- pattern() - Method in record class opennlp.tools.stemmer.hunspell.HunspellStemmer.Junction
-
Returns the value of the
patternrecord component. - PatternCheck(Pattern) - Constructor for class opennlp.tools.tokenize.TokenizerFactory.PatternCheck
- patternText(Pattern) - Static method in class opennlp.tools.tokenize.TokenizerFactory
-
Returns the text of
pattern. - payloadName(Path) - Static method in class opennlp.tools.tokenize.lattice.MecabDictionaryInstaller
-
Selects the dictionary payload of an unpacked archive and flattens it.
- pcg - Variable in class opennlp.tools.namefind.NameSampleSequenceStream
- pcg - Variable in class opennlp.tools.postag.POSSampleSequenceStream
- Pd - Enum constant in enum class opennlp.tools.util.normalizer.UnicodeDash.Category
-
Pd- dash punctuation. - peel() - Method in class opennlp.tools.util.normalizer.Term
-
Returns the token at the dimension just below the final configured one.
- pending - Variable in class opennlp.tools.depparse.DependencyEventStream
- PendingNode(int, int, int, int) - Constructor for record class opennlp.tools.tokenize.lattice.DoubleArrayLexicon.Builder.PendingNode
-
Creates an instance of a
PendingNoderecord class. - pendingPath - Variable in class opennlp.tools.util.archive.TarStream
-
The name an extension header supplied for the entry that follows it, else null.
- pendingSize - Variable in class opennlp.tools.util.archive.TarStream
-
The size a pax header supplied for the entry that follows it, else
-1. - PENN - Enum constant in enum class opennlp.tools.postag.POSTagFormat
- PENN_TOKEN_ID_PREFIX - Static variable in class opennlp.tools.formats.masc.MascIdentifiers
-
The prefix of a Penn token node identifier, as in
penn-n7. - PEOPLE_AND_BODY - Enum constant in enum class opennlp.tools.util.normalizer.EmojiCategory
-
Upstream group
People & Body: people, body parts, hand gestures, roles. - PERCEPTRON - Enum constant in enum class opennlp.tools.ml.AlgorithmType
- PERCEPTRON - Enum constant in enum class opennlp.tools.util.model.ModelType
- PERCEPTRON_SEQUENCE - Enum constant in enum class opennlp.tools.ml.AlgorithmType
- PERCEPTRON_SEQUENCE - Enum constant in enum class opennlp.tools.util.model.ModelType
- PERCEPTRON_SEQUENCE_VALUE - Static variable in class opennlp.tools.ml.perceptron.SimplePerceptronSequenceTrainer
- PERCEPTRON_VALUE - Static variable in class opennlp.tools.ml.perceptron.PerceptronTrainer
- PerceptronModel - Class in opennlp.tools.ml.perceptron
-
A
modelimplementation based one the perceptron algorithm. - PerceptronModel(Context[], String[], String[]) - Constructor for class opennlp.tools.ml.perceptron.PerceptronModel
-
Initializes a
PerceptronModel. - PerceptronModelReader - Class in opennlp.tools.ml.perceptron
-
The base class for readers of
models. - PerceptronModelReader(File) - Constructor for class opennlp.tools.ml.perceptron.PerceptronModelReader
-
Initializes a
PerceptronModelReadervia aFile. - PerceptronModelReader(DataReader) - Constructor for class opennlp.tools.ml.perceptron.PerceptronModelReader
-
Initializes a
PerceptronModelReadervia aDataReader. - PerceptronModelWriter - Class in opennlp.tools.ml.perceptron
-
The base class for
PerceptronModelwriters. - PerceptronModelWriter(AbstractModel) - Constructor for class opennlp.tools.ml.perceptron.PerceptronModelWriter
-
Initializes a
PerceptronModelWriterfor aperceptron model. - PerceptronTrainer - Class in opennlp.tools.ml.perceptron
-
Trains
modelsusing the perceptron algorithm. - PerceptronTrainer() - Constructor for class opennlp.tools.ml.perceptron.PerceptronTrainer
-
Instantiates a
PerceptronTrainerwith default training parameters. - PerceptronTrainer(TrainingParameters) - Constructor for class opennlp.tools.ml.perceptron.PerceptronTrainer
-
Instantiates a
PerceptronTrainerwith specificTrainingParameters. - PERIOD - Static variable in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
- PERIOD - Static variable in class opennlp.tools.util.featuregen.FeatureGeneratorUtil
- permitsInside(HunspellDictionary.Affix) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Checks whether an affix may sit at a compound-internal boundary: it carries the
COMPOUNDPERMITFLAGamong its continuation classes. - persist() - Method in class opennlp.tools.ml.AbstractMLModelWriter
- persist() - Method in class opennlp.tools.ml.maxent.io.GISModelWriter
-
Writes the
GIS model, using theAbstractModelWriter.writeUTF(String),AbstractModelWriter.writeDouble(double), orAbstractModelWriter.writeInt(int)} methods implemented by extending classes. - persist() - Method in class opennlp.tools.ml.maxent.io.QNModelWriter
-
Writes the
QN model, using theAbstractModelWriter.writeUTF(String),AbstractModelWriter.writeDouble(double), orAbstractModelWriter.writeInt(int)} methods implemented by extending classes. - persist() - Method in class opennlp.tools.ml.model.AbstractModelWriter
-
Serializes the
modelusing theAbstractModelWriter.writeUTF(String),AbstractModelWriter.writeDouble(double), orAbstractModelWriter.writeInt(int)} methods implemented by extending classes. - persist() - Method in class opennlp.tools.ml.model.GenericModelWriter
- persist() - Method in class opennlp.tools.ml.naivebayes.NaiveBayesModelWriter
-
Writes the
perceptron model, using theAbstractModelWriter.writeUTF(String),AbstractModelWriter.writeDouble(double), orAbstractModelWriter.writeInt(int)} methods implemented by extending classes. - persist() - Method in class opennlp.tools.ml.perceptron.PerceptronModelWriter
-
Writes the
perceptron model, using theAbstractModelWriter.writeUTF(String),AbstractModelWriter.writeDouble(double), orAbstractModelWriter.writeInt(int)} methods implemented by extending classes. - perThreadState - Variable in class opennlp.tools.sentdetect.SentenceDetectorME
- perThreadState - Variable in class opennlp.tools.tokenize.TokenizerME
- PHONETIC_ARROW - Static variable in class opennlp.tools.stemmer.hunspell.HunspellConversion
-
Separates the input and output of a
ph:field. - PHONETIC_FIELD - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
The word-list field that lists a misspelling of its entry.
- PHONETIC_WILDCARD - Static variable in class opennlp.tools.stemmer.hunspell.HunspellConversion
-
Ends a
ph:field whose last character is dropped from both sides. - Phrase(String, Span) - Constructor for record class opennlp.tools.parser.ParserAnnotator.Phrase
-
Validates the phrase.
- PHRASES - Static variable in class opennlp.tools.parser.ParserAnnotator
-
Parse phrases; each annotation covers one phrase and carries its
ParserAnnotator.Phrase, in pre-order of the parse tree. - phrasesAsSpanList(String[], String[], String[]) - Static method in class opennlp.tools.chunker.ChunkSample
-
Create arrays of
spansof phrases. - piece - Variable in record class opennlp.tools.tokenize.SubwordPiece
-
The field for the
piecerecord component. - piece - Variable in class opennlp.tools.tokenize.WordpieceEncoder.TrieNode
- piece - Variable in record class opennlp.tools.tokenize.WordpieceEncoder.VocabularyMatch
-
The field for the
piecerecord component. - piece() - Method in record class opennlp.tools.tokenize.SubwordPiece
-
Returns the value of the
piecerecord component. - piece() - Method in record class opennlp.tools.tokenize.WordpieceEncoder.VocabularyMatch
-
Returns the value of the
piecerecord component. - PLACEHOLDER - Static variable in class opennlp.tools.formats.conllu.ConlluDependencySampleStream
-
The CoNLL-U placeholder of a missing value.
- PlainTextByLineStream - Class in opennlp.tools.util
-
Reads a plain text file and returns each line as a
Stringobject. - PlainTextByLineStream(InputStreamFactory, String) - Constructor for class opennlp.tools.util.PlainTextByLineStream
-
Initializes a
PlainTextByLineStream. - PlainTextByLineStream(InputStreamFactory, Charset) - Constructor for class opennlp.tools.util.PlainTextByLineStream
-
Initializes a
PlainTextByLineStream. - PlainTextFileDataReader - Class in opennlp.tools.ml.model
-
A generic
DataReaderimplementation for plain text files. - PlainTextFileDataReader(BufferedReader) - Constructor for class opennlp.tools.ml.model.PlainTextFileDataReader
-
Initializes a
PlainTextFileDataReadervia aBufferedReader. - PlainTextFileDataReader(File) - Constructor for class opennlp.tools.ml.model.PlainTextFileDataReader
-
Initializes a
PlainTextFileDataReadervia aFile. - PlainTextFileDataReader(InputStream) - Constructor for class opennlp.tools.ml.model.PlainTextFileDataReader
-
Initializes a
PlainTextFileDataReadervia aInputStream. - PlainTextNaiveBayesModelReader - Class in opennlp.tools.ml.naivebayes
-
A
NaiveBayesModelReaderthat reads models from a plain text format. - PlainTextNaiveBayesModelReader(BufferedReader) - Constructor for class opennlp.tools.ml.naivebayes.PlainTextNaiveBayesModelReader
-
Instantiates
PlainTextNaiveBayesModelReadervia aBufferedReadercontaining the model contents. - PlainTextNaiveBayesModelReader(File) - Constructor for class opennlp.tools.ml.naivebayes.PlainTextNaiveBayesModelReader
-
Instantiates
PlainTextNaiveBayesModelReadervia aFileand creates a reader for it. - PlainTextNaiveBayesModelWriter - Class in opennlp.tools.ml.naivebayes
-
A
NaiveBayesModelWriterthat writes models in a plain text format. - PlainTextNaiveBayesModelWriter(AbstractModel, BufferedWriter) - Constructor for class opennlp.tools.ml.naivebayes.PlainTextNaiveBayesModelWriter
- PlainTextNaiveBayesModelWriter(AbstractModel, File) - Constructor for class opennlp.tools.ml.naivebayes.PlainTextNaiveBayesModelWriter
- pmap - Variable in class opennlp.tools.ml.model.AbstractModel
-
Mapping between predicates/contexts and an integer representing them.
- pmap - Variable in class opennlp.tools.ml.perceptron.SimplePerceptronSequenceTrainer
-
Mapping between context and an integer
- Po - Enum constant in enum class opennlp.tools.util.normalizer.UnicodeDash.Category
-
Po- other punctuation (the swung dash). - Pointer(String, String, int, int, boolean) - Constructor for class opennlp.tools.formats.nkjp.NKJPSegmentationDocument.Pointer
- poison() - Method in class opennlp.tools.util.eval.CrossValidationPartitioner.TestSampleStream
- poison() - Method in class opennlp.tools.util.eval.CrossValidationPartitioner.TrainingSampleStream
- policyOfLegacyExpression(String) - Static method in class opennlp.tools.tokenize.lang.Factory
-
Deprecated, for removal: This API element is subject to removal in a future version.Serves only the deprecated
PatternAPI and will be removed with it in 4.0. - POLISH - Static variable in class opennlp.tools.tokenize.lang.Factory
- populatePOSDictionary(ObjectStream<POSSample>, MutableTagDictionary, int) - Static method in class opennlp.tools.postag.POSTaggerME
-
Populates a
POSDictionaryfrom anObjectStreamof samples. - PORTER - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- PORTER - Static variable in class opennlp.tools.stemmer.StemmerAnnotatorProvider
-
The "algorithm" value for the
PorterStemmer. - porterStemmer - Class in opennlp.tools.stemmer.snowball
-
This class implements the stemming algorithm defined by a snowball script.
- porterStemmer() - Constructor for class opennlp.tools.stemmer.snowball.porterStemmer
- PorterStemmer - Class in opennlp.tools.stemmer
-
A
Stemmer, implementing the Porter Stemming Algorithm - PorterStemmer() - Constructor for class opennlp.tools.stemmer.PorterStemmer
- PorterStemmerFactory - Class in opennlp.tools.stemmer
-
A thread-safe factory for
PorterStemmerinstances. - PorterStemmerFactory() - Constructor for class opennlp.tools.stemmer.PorterStemmerFactory
- PORTUGUESE - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- PORTUGUESE - Static variable in class opennlp.tools.tokenize.lang.Factory
- PortugueseContractionUtility - Class in opennlp.tools.formats.ad
-
Utility class to handle Portuguese contractions.
- PortugueseContractionUtility() - Constructor for class opennlp.tools.formats.ad.PortugueseContractionUtility
- portugueseStemmer - Class in opennlp.tools.stemmer.snowball
-
This class implements the stemming algorithm defined by a snowball script.
- portugueseStemmer() - Constructor for class opennlp.tools.stemmer.snowball.portugueseStemmer
- pos - Variable in class opennlp.tools.formats.masc.MascToken
- POS - Enum constant in enum class opennlp.tools.models.ModelType
- POS_GENERIC - Enum constant in enum class opennlp.tools.models.ModelType
- POS_MODEL_ENTRY_NAME - Static variable in class opennlp.tools.postag.POSModel
- POS_TAGS - Static variable in class opennlp.tools.document.Layers
-
Part-of-speech tags; one annotation per token, aligned with
Layers.TOKENSby position, carrying the tag. - POSContextGenerator - Interface in opennlp.tools.postag
-
Interface for a
BeamSearchContextGeneratorused in POS tagging. - posDictionary - Variable in class opennlp.tools.postag.POSTaggerFactory
- POSDictionary - Class in opennlp.tools.postag
-
Provides a means of determining which tags are valid for a particular word based on a
TagDictionaryread from a file. - POSDictionary() - Constructor for class opennlp.tools.postag.POSDictionary
-
Initializes an empty case sensitive
POSDictionary. - POSDictionary(boolean) - Constructor for class opennlp.tools.postag.POSDictionary
-
Initializes an empty
POSDictionary. - POSDictionarySerializer() - Constructor for class opennlp.tools.postag.POSTaggerFactory.POSDictionarySerializer
- POSEvaluator - Class in opennlp.tools.postag
-
The
POSEvaluatormeasures the performance of the givenPOSTaggerwith the provided referencesamples. - POSEvaluator(POSTagger, POSTaggerEvaluationMonitor...) - Constructor for class opennlp.tools.postag.POSEvaluator
-
Initializes the current instance.
- POSITION_SEPARATOR - Static variable in class opennlp.tools.depparse.DependencyContextGenerator
-
Separates the parts of a feature combining several positions.
- POSITIONAL - Enum constant in enum class opennlp.tools.document.LayerKey.Scope
-
Every annotation of the layer is anchored to a span of the text.
- positionalCompoundsDeclared() - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Returns whether positional or general compound flags are configured.
- positionalFlag(HunspellDictionary.CompoundPosition) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
The flag admitting a part at a compound position, next to the general compounding flag.
- positions - Variable in class opennlp.tools.depparse.FeedforwardContext
-
Scratch for the token index of every position.
- POSITIONS - Static variable in class opennlp.tools.depparse.FeedforwardContext
-
The number of positions whose word and tag are embedded.
- POSITIVE_FRACTION_SUFFIX - Static variable in class opennlp.tools.util.ParamChecks
- POSITIVE_SUFFIX - Static variable in class opennlp.tools.util.ParamChecks
- POSModel - Class in opennlp.tools.postag
- POSModel(File) - Constructor for class opennlp.tools.postag.POSModel
- POSModel(InputStream) - Constructor for class opennlp.tools.postag.POSModel
-
Initializes a
POSModelinstance via a validInputStream. - POSModel(String, MaxentModel, int, Map<String, String>, POSTaggerFactory) - Constructor for class opennlp.tools.postag.POSModel
-
Initializes a
POSModelinstance via given parameters. - POSModel(String, MaxentModel, Map<String, String>, POSTaggerFactory) - Constructor for class opennlp.tools.postag.POSModel
-
Initializes a
POSModelinstance via given parameters. - POSModel(String, SequenceClassificationModel, Map<String, String>, POSTaggerFactory) - Constructor for class opennlp.tools.postag.POSModel
-
Initializes a
POSModelinstance via given parameters. - POSModel(URL) - Constructor for class opennlp.tools.postag.POSModel
- POSModel(Path) - Constructor for class opennlp.tools.postag.POSModel
- POSModelSerializer - Class in opennlp.tools.util.model
-
An
ArtifactSerializerimplementation formodels. - POSModelSerializer() - Constructor for class opennlp.tools.util.model.POSModelSerializer
- POSSample - Class in opennlp.tools.postag
-
Represents an pos-tagged
sentence. - POSSample(String[], String[]) - Constructor for class opennlp.tools.postag.POSSample
-
Initializes a
POSSampleinstance. - POSSample(String[], String[], String[][]) - Constructor for class opennlp.tools.postag.POSSample
-
Initializes a
POSSampleinstance. - POSSample(List<String>, List<String>) - Constructor for class opennlp.tools.postag.POSSample
-
Initializes a
POSSampleinstance. - POSSample(List<String>, List<String>, String[][]) - Constructor for class opennlp.tools.postag.POSSample
-
Initializes a
POSSampleinstance. - POSSampleEventStream - Class in opennlp.tools.postag
- POSSampleEventStream(ObjectStream<POSSample>) - Constructor for class opennlp.tools.postag.POSSampleEventStream
-
Initializes the current instance with given samples and a
DefaultPOSContextGenerator. - POSSampleEventStream(ObjectStream<POSSample>, POSContextGenerator) - Constructor for class opennlp.tools.postag.POSSampleEventStream
-
Initializes the current instance with the given samples and a
POSContextGenerator. - POSSampleSequenceStream - Class in opennlp.tools.postag
-
A
SequenceStreamimplementation encapsulatingsamples. - POSSampleSequenceStream(ObjectStream<POSSample>) - Constructor for class opennlp.tools.postag.POSSampleSequenceStream
- POSSampleSequenceStream(ObjectStream<POSSample>, POSContextGenerator) - Constructor for class opennlp.tools.postag.POSSampleSequenceStream
- PosSampleStream - Class in opennlp.tools.parser
- PosSampleStream(ObjectStream<Parse>) - Constructor for class opennlp.tools.parser.PosSampleStream
-
Initializes a
instance. - posTag - Variable in class opennlp.tools.util.normalizer.Term
- posTagFormat - Variable in class opennlp.tools.postag.POSTaggerCrossValidator
- posTagFormat - Variable in class opennlp.tools.postag.POSTaggerME
- POSTagFormat - Enum Class in opennlp.tools.postag
-
Defines the format for part-of-speech tagging, i.e.
- POSTagFormat() - Constructor for enum class opennlp.tools.postag.POSTagFormat
- posTagFormatMapper - Variable in class opennlp.tools.postag.POSTaggerME
- POSTagFormatMapper - Class in opennlp.tools.postag
-
A mapping implementation for converting between different POS tag formats.
- POSTagFormatMapper(String[]) - Constructor for class opennlp.tools.postag.POSTagFormatMapper
- POSTagFormatMapper.NoOp - Class in opennlp.tools.postag
- posTagger - Variable in class opennlp.tools.util.featuregen.POSTaggerNameFeatureGenerator
- POSTagger - Interface in opennlp.tools.postag
-
The interface for part of speech taggers.
- POSTaggerAnnotator - Class in opennlp.tools.postag
-
Adapts a
POSTaggerto the document pipeline: readsLayers.SENTENCESandLayers.TOKENSand providesLayers.POS_TAGS, one tag annotation per token on the token's span. - POSTaggerAnnotator(POSTagger) - Constructor for class opennlp.tools.postag.POSTaggerAnnotator
-
Initializes the adapter.
- POSTaggerCrossValidator - Class in opennlp.tools.postag
- POSTaggerCrossValidator(String, TrainingParameters, File, byte[], Map<String, Object>, Integer, String, POSTagFormat, POSTaggerEvaluationMonitor...) - Constructor for class opennlp.tools.postag.POSTaggerCrossValidator
-
Initializes a
POSTaggerCrossValidatorthat builds a ngram dictionary dynamically. - POSTaggerCrossValidator(String, TrainingParameters, File, byte[], Map<String, Object>, Integer, String, POSTaggerEvaluationMonitor...) - Constructor for class opennlp.tools.postag.POSTaggerCrossValidator
-
Initializes a
POSTaggerCrossValidatorthat builds a ngram dictionary dynamically. - POSTaggerCrossValidator(String, TrainingParameters, POSTaggerFactory, POSTagFormat, POSTaggerEvaluationMonitor...) - Constructor for class opennlp.tools.postag.POSTaggerCrossValidator
-
Creates a
POSTaggerCrossValidatorusing the givenPOSTaggerFactory. - POSTaggerCrossValidator(String, TrainingParameters, POSTaggerFactory, POSTaggerEvaluationMonitor...) - Constructor for class opennlp.tools.postag.POSTaggerCrossValidator
-
Creates a
POSTaggerCrossValidatorusing the givenPOSTaggerFactory. - POSTaggerEvaluationMonitor - Interface in opennlp.tools.postag
-
A marker interface for evaluating
pos taggers. - POSTaggerFactory - Class in opennlp.tools.postag
-
The factory that provides
POSTaggerdefault implementations and resources. - POSTaggerFactory() - Constructor for class opennlp.tools.postag.POSTaggerFactory
-
Initializes a
POSTaggerFactorythat provides the default implementation of the resources. - POSTaggerFactory(byte[], Map<String, Object>, TagDictionary) - Constructor for class opennlp.tools.postag.POSTaggerFactory
-
Initializes a
POSTaggerFactoryfrom a given set of the resources. - POSTaggerFactory(Dictionary, TagDictionary) - Constructor for class opennlp.tools.postag.POSTaggerFactory
-
Deprecated, for removal: This API element is subject to removal in a future version.
- POSTaggerFactory.POSDictionarySerializer - Class in opennlp.tools.postag
- PosTaggerFeatureGenerator - Class in opennlp.tools.util.featuregen
-
A POS tagging driven feature generator.
- PosTaggerFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.PosTaggerFeatureGenerator
- PosTaggerFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
A
GeneratorFactorythat producesPosTaggerFeatureGeneratorinstances whenPosTaggerFeatureGeneratorFactory.create()is called. - PosTaggerFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.PosTaggerFeatureGeneratorFactory
- POSTaggerME - Class in opennlp.tools.postag
-
A
part-of-speech taggerimplementation that uses maximum entropy. - POSTaggerME(String) - Constructor for class opennlp.tools.postag.POSTaggerME
-
Initializes a
POSTaggerMEby downloading a default model for a givenlanguage. - POSTaggerME(String, POSTagFormat) - Constructor for class opennlp.tools.postag.POSTaggerME
-
Initializes a
POSTaggerMEby downloading a default model for a givenlanguage. - POSTaggerME(POSModel) - Constructor for class opennlp.tools.postag.POSTaggerME
-
Initializes a
POSTaggerMEwith the providedmodel. - POSTaggerME(POSModel, POSTagFormat) - Constructor for class opennlp.tools.postag.POSTaggerME
-
Initializes a
POSTaggerMEwith the providedmodel. - POSTaggerME(POSModel, POSTagFormat, int) - Constructor for class opennlp.tools.postag.POSTaggerME
-
Initializes a
POSTaggerMEwith the providedmodeland explicit cache configuration. - POSTaggerNameFeatureGenerator - Class in opennlp.tools.util.featuregen
-
Adds the token POS tag as feature.
- POSTaggerNameFeatureGenerator(POSModel) - Constructor for class opennlp.tools.util.featuregen.POSTaggerNameFeatureGenerator
-
Initializes a
POSTaggerNameFeatureGeneratorwith the specifiedPOSModel. - POSTaggerNameFeatureGenerator(POSTagger) - Constructor for class opennlp.tools.util.featuregen.POSTaggerNameFeatureGenerator
-
Initializes a
POSTaggerNameFeatureGeneratorwith the specifiedPOSTagger. - POSTaggerNameFeatureGenerator.CacheState - Class in opennlp.tools.util.featuregen
- POSTaggerNameFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
A
GeneratorFactorythat producesPOSTaggerNameFeatureGeneratorinstances whenPOSTaggerNameFeatureGeneratorFactory.create()is called. - POSTaggerNameFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.POSTaggerNameFeatureGeneratorFactory
- POSToSentenceSampleStream - Class in opennlp.tools.formats.convert
-
Note: Do not use this class, internal use only!
- POSToSentenceSampleStream(Detokenizer, ObjectStream<POSSample>, int) - Constructor for class opennlp.tools.formats.convert.POSToSentenceSampleStream
-
Initializes a
POSToSentenceSampleStream. - POSToSentenceSampleStreamFactory - Class in opennlp.tools.formats.convert
-
Note: Do not use this class, internal use only!
- POSToSentenceSampleStreamFactory(Class<POSToSentenceSampleStreamFactory.Parameters>) - Constructor for class opennlp.tools.formats.convert.POSToSentenceSampleStreamFactory
- POSToSentenceSampleStreamFactory.Parameters - Interface in opennlp.tools.formats.convert
- POSToTokenSampleStream - Class in opennlp.tools.formats.convert
-
Note: Do not use this class, internal use only!
- POSToTokenSampleStream(Detokenizer, ObjectStream<POSSample>) - Constructor for class opennlp.tools.formats.convert.POSToTokenSampleStream
-
Initializes a
POSToTokenSampleStream. - POSToTokenSampleStreamFactory - Class in opennlp.tools.formats.convert
-
Note: Do not use this class, internal use only!
- POSToTokenSampleStreamFactory(Class<POSToTokenSampleStreamFactory.Parameters>) - Constructor for class opennlp.tools.formats.convert.POSToTokenSampleStreamFactory
- POSToTokenSampleStreamFactory.Parameters - Interface in opennlp.tools.formats.convert
- postProcessContractions(List<ConlluWordLine>) - Method in class opennlp.tools.formats.conllu.ConlluStream
-
Merges the word lines of each multiword token range into the range line and removes them.
- pre - Variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer.Optimizer
- preActivations(int[], ContributionCache, double[]) - Method in class opennlp.tools.depparse.FeedforwardNetwork
-
Computes the hidden pre-activations of a configuration: the bias plus the contribution of every feature position.
- precision(Object[], Object[]) - Static method in class opennlp.tools.util.eval.FMeasure
-
Calculates the precision score for the given reference and predicted spans.
- PRED_LABELS - Variable in class opennlp.tools.ml.AbstractMLModelWriter
- predCounts - Variable in class opennlp.tools.ml.model.AbstractDataIndexer
-
The number of times each predicate occurred.
- predict(String) - Method in interface opennlp.tools.sentiment.SentimentDetector
-
Conducts a sentiment prediction for the specifed sentence.
- predict(String) - Method in class opennlp.tools.sentiment.SentimentME
- predict(String[]) - Method in interface opennlp.tools.sentiment.SentimentDetector
-
Conducts a sentiment prediction for the specifed sentence.
- predict(String[]) - Method in class opennlp.tools.sentiment.SentimentME
- predict(Map<CharSequence, MutableInt>) - Method in class opennlp.tools.langdetect.LanguageDetectorME
- predictLanguage(CharSequence) - Method in interface opennlp.tools.langdetect.LanguageDetector
-
Predicts the
Languagefor the fullcontentlength. - predictLanguage(CharSequence) - Method in class opennlp.tools.langdetect.LanguageDetectorME
- predictLanguage(CharSequence) - Method in class opennlp.tools.langdetect.ThreadSafeLanguageDetectorME
-
Deprecated.
- predictLanguages(CharSequence) - Method in interface opennlp.tools.langdetect.LanguageDetector
-
Predicts the
languagesfor the fullcontentlength. - predictLanguages(CharSequence) - Method in class opennlp.tools.langdetect.LanguageDetectorME
- predictLanguages(CharSequence) - Method in class opennlp.tools.langdetect.ThreadSafeLanguageDetectorME
-
Deprecated.
- predictLemmas(int, String[], String[]) - Method in class opennlp.tools.lemmatizer.LemmatizerME
-
Predict all possible lemmas (using a default upper bound).
- predictNextTokens(String...) - Method in interface opennlp.tools.languagemodel.LanguageModel
-
Predict the most probable output sequence of tokens, given an input sequence of
tokens. - predictNextTokens(String...) - Method in class opennlp.tools.languagemodel.NGramLanguageModel
- predictSES(String[], String[]) - Method in class opennlp.tools.lemmatizer.LemmatizerME
-
Predict Short Edit Script (automatically induced lemma class).
- predIndexes - Variable in class opennlp.tools.ml.model.ComparableEvent
- predLabels - Variable in class opennlp.tools.ml.maxent.GISTrainer
-
Stores the String names of the predicates.
- predLabels - Variable in class opennlp.tools.ml.model.AbstractDataIndexer
-
The predicate/context names.
- predLabels - Variable in class opennlp.tools.ml.naivebayes.NaiveBayesTrainer
-
Stores the String names of the predicates.The NaiveBayes only tracks predicates as ints, and so this array is needed to save the model to disk and thereby allow users to know what the outcome was in human understandable terms.
- predLabels - Variable in class opennlp.tools.ml.perceptron.PerceptronTrainer
-
Stores the String names of the predicates.
- predLabels - Variable in class opennlp.tools.ml.perceptron.SimplePerceptronSequenceTrainer
- preds - Variable in class opennlp.tools.chunker.ChunkSample
- prefix - Variable in class opennlp.tools.util.featuregen.InSpanGenerator
- PREFIX - Static variable in class opennlp.tools.util.featuregen.AdditionalContextFeatureGenerator
- PREFIX - Static variable in class opennlp.tools.util.featuregen.BrownTokenClassFeatureGenerator
- PREFIX - Static variable in class opennlp.tools.util.featuregen.BrownTokenFeatureGenerator
- PREFIX - Static variable in class opennlp.tools.util.featuregen.CharacterNgramFeatureGenerator
- PREFIX - Static variable in class opennlp.tools.util.featuregen.PrefixFeatureGenerator
- PREFIX - Static variable in class opennlp.tools.util.featuregen.SuffixFeatureGenerator
- PREFIX_LENGTH - Static variable in class opennlp.tools.lemmatizer.DefaultLemmatizerContextGenerator
- PREFIX_LENGTH - Static variable in class opennlp.tools.postag.DefaultPOSContextGenerator
- PREFIX_LENGTH - Static variable in class opennlp.tools.util.archive.TarStream
- PREFIX_OFFSET - Static variable in class opennlp.tools.util.archive.TarStream
- PREFIX_TAG - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
The line tag of a prefix block and of every rule line inside it.
- prefixEnd - Variable in record class opennlp.tools.util.normalizer.UnicodeEmojiSequences.Walk
-
The field for the
prefixEndrecord component. - prefixEnd() - Method in record class opennlp.tools.util.normalizer.UnicodeEmojiSequences.Walk
-
Returns the value of the
prefixEndrecord component. - prefixes - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary.AffixFile
- prefixesByFirst - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- prefixesStartingWith(int) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
The prefix rules whose affix material starts with the given code point, which are the only material-bearing rules that can be undone from a word starting with it.
- prefixesWithoutMaterial - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- prefixesWithoutMaterial() - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Returns the strip-only prefix rules, applicable to any word.
- PrefixFeatureGenerator - Class in opennlp.tools.util.featuregen
-
A feature generator implementation that generates prefix-based features.
- PrefixFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.PrefixFeatureGenerator
-
Intializes a default
PrefixFeatureGenerator. - PrefixFeatureGenerator(int) - Constructor for class opennlp.tools.util.featuregen.PrefixFeatureGenerator
-
Intializes a
PrefixFeatureGeneratorwith the specifiedprefixLength. - PrefixFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
A
GeneratorFactorythat producesPrefixFeatureGeneratorinstances whenPrefixFeatureGeneratorFactory.create()is called. - PrefixFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.PrefixFeatureGeneratorFactory
- prefixLength - Variable in class opennlp.tools.util.featuregen.PrefixFeatureGenerator
- prefixMatches(String, int, int, MecabDictionary.PrefixMatchConsumer) - Method in class opennlp.tools.tokenize.lattice.DoubleArrayLexicon
-
Reports every surface starting at a text position, walking the array once.
- prefixMatches(String, int, int, MecabDictionary.PrefixMatchConsumer) - Method in class opennlp.tools.tokenize.lattice.MecabDictionary
-
Reports every lexicon surface starting at a text position, walking the trie once with no substring allocation.
- preservingReplacement(CharSequence, CodePointSet, int) - Method in class opennlp.tools.util.normalizer.CharClass
-
Returns the
CharClass.RunReplacementof thecollapsePreservingoperations:keepReplacementfor a run that contains akeepcode point, the usual replacement otherwise. - PREV_PREFIX - Static variable in class opennlp.tools.util.featuregen.WindowFeatureGenerator
- previous - Variable in class opennlp.tools.tokenize.lattice.LatticeTokenizer.Node
- previousIndex(int) - Method in record class opennlp.tools.util.normalizer.CodePoints.At
-
Returns the index immediately before this code point when read from the end.
- PreviousMapFeatureGenerator - Class in opennlp.tools.util.featuregen
-
This
AdaptiveFeatureGeneratorgenerates features indicating the outcome associated with a previously occurring word. - PreviousMapFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.PreviousMapFeatureGenerator
- PreviousMapFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
A
GeneratorFactorythat producesPreviousMapFeatureGeneratorinstances whenPreviousMapFeatureGeneratorFactory.create()is called. - PreviousMapFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.PreviousMapFeatureGeneratorFactory
- previousSpaceIndex(CharSequence, int) - Static method in class opennlp.tools.sentdetect.DefaultSDContextGenerator
-
Finds the index of the nearest space before a specified index which is not itself preceded by a space.
- PreviousTwoMapFeatureGenerator - Class in opennlp.tools.util.featuregen
-
This
AdaptiveFeatureGeneratorgenerates features indicating the outcome associated with two previously occurring words. - PreviousTwoMapFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.PreviousTwoMapFeatureGenerator
- prevPunctSet - Variable in class opennlp.tools.parser.Parse
-
The set of punctuation parses which are between this parse and the previous parse.
- prevTokens - Variable in class opennlp.tools.util.featuregen.CachedFeatureGenerator.CacheState
- prevWindowSize - Variable in class opennlp.tools.util.featuregen.WindowFeatureGenerator
- primary() - Method in class opennlp.tools.tokenize.lattice.CategoryTable.CategoryAssignment
-
Returns the first category on the mapping.
- printable(URI) - Static method in class opennlp.tools.util.ext.ProviderSpec
-
Renders a location without the parts that may hold credentials, for a message or a log entry.
- printable(URL) - Method in class opennlp.tools.util.ext.Providers
- printableLocation() - Method in class opennlp.tools.util.ext.ProviderSpec
- printf(String, Object...) - Method in class opennlp.tools.log.LogPrintStream
- println(String) - Method in class opennlp.tools.log.LogPrintStream
- prior - Variable in class opennlp.tools.ml.maxent.GISTrainer
-
This is the prior distribution that the model uses for training.
- prior - Variable in class opennlp.tools.ml.model.AbstractModel
-
Prior distribution for this model.
- Prior - Interface in opennlp.tools.ml.model
-
This interface allows one to implement a prior distribution for use in maximum entropy model training.
- priority - Variable in record class opennlp.tools.util.ext.Providers.Registration
-
The field for the
priorityrecord component. - priority() - Method in interface opennlp.tools.util.ext.Provider
- priority() - Method in record class opennlp.tools.util.ext.Providers.Registration
-
Returns the value of the
priorityrecord component. - PRIORITY_METHOD - Static variable in class opennlp.tools.util.ext.Providers
- prob - Variable in class opennlp.tools.ml.BeamSearch.SearchNode
- prob - Variable in class opennlp.tools.parser.Parse
-
The probability associated with the syntactic type assigned to this parse.
- prob - Variable in class opennlp.tools.util.jvm.CHMStringDeduplicator
- prob - Variable in class opennlp.tools.util.Span
- Probabilistic - Interface in opennlp.tools.ml
-
A marker interface for classes with probabilistic capabilities.
- probabilities(String[]) - Method in class opennlp.tools.sentiment.SentimentME
-
Returns the probability distribution over sentiment labels for the given tokens.
- Probabilities<T> - Class in opennlp.tools.ml.naivebayes
-
Class implementing the probability distribution over labels returned by a classifier.
- Probabilities() - Constructor for class opennlp.tools.ml.naivebayes.Probabilities
- probability - Variable in class opennlp.tools.ml.naivebayes.Probability
- Probability<T> - Class in opennlp.tools.ml.naivebayes
-
Class implementing the probability for a label.
- Probability(T) - Constructor for class opennlp.tools.ml.naivebayes.Probability
-
Instantiates a
Probabilitywith a givenlabel. - PROBABILITY_PATTERN - Static variable in class opennlp.tools.ml.model.AbstractModel
- ProbingLanguageDetectionResult - Record Class in opennlp.tools.langdetect
-
A data container encapsulating language detection results.
- ProbingLanguageDetectionResult(Language[], int) - Constructor for record class opennlp.tools.langdetect.ProbingLanguageDetectionResult
-
Creates an instance of a
ProbingLanguageDetectionResultrecord class. - probingPredictLanguages(CharSequence) - Method in class opennlp.tools.langdetect.LanguageDetectorME
-
This will stop processing early if the stopping criteria specified in
LanguageDetectorConfig.DEFAULT_LANGUAGE_DETECTOR_CONFIGare met. - probingPredictLanguages(CharSequence, LanguageDetectorConfig) - Method in class opennlp.tools.langdetect.LanguageDetectorME
-
This will stop processing early if the stopping criteria specified in
LanguageDetectorConfig.DEFAULT_LANGUAGE_DETECTOR_CONFIGare met. - probs - Variable in class opennlp.tools.ml.BeamSearch.CacheState
- probs - Variable in class opennlp.tools.util.Sequence
- probs() - Method in class opennlp.tools.chunker.ChunkerME
-
Retrieves the probabilities of the last decoded sequence.
- probs() - Method in class opennlp.tools.chunker.ThreadSafeChunkerME
-
Deprecated.
- probs() - Method in class opennlp.tools.lemmatizer.LemmatizerME
-
Retrieves the probabilities of the last decoded sequence.
- probs() - Method in class opennlp.tools.lemmatizer.ThreadSafeLemmatizerME
-
Deprecated.
- probs() - Method in interface opennlp.tools.ml.Probabilistic
-
Retrieves the probabilities of the last decoded sequence.
- probs() - Method in class opennlp.tools.namefind.NameFinderME
-
Retrieves the probabilities of the last decoded sequence.
- probs() - Method in class opennlp.tools.namefind.ThreadSafeNameFinderME
-
Deprecated.
- probs() - Method in class opennlp.tools.postag.POSTaggerME
-
Retrieves the probabilities of the last decoded sequence.
- probs() - Method in class opennlp.tools.postag.ThreadSafePOSTaggerME
-
Deprecated.
- probs() - Method in class opennlp.tools.sentdetect.SentenceDetectorME
-
Retrieves the probabilities of the last decoded sequence.
- probs() - Method in class opennlp.tools.sentdetect.ThreadSafeSentenceDetectorME
-
Deprecated.
- probs() - Method in class opennlp.tools.tokenize.ThreadSafeTokenizerME
-
Deprecated.
- probs() - Method in class opennlp.tools.tokenize.TokenizerME
-
Retrieves the probabilities of the last decoded sequence.
- probs(double[]) - Method in class opennlp.tools.chunker.ChunkerME
-
Populates the specified array with the probabilities of the last decoded sequence.
- probs(double[]) - Method in class opennlp.tools.lemmatizer.LemmatizerME
-
Populates the specified array with the probabilities of the last decoded sequence.
- probs(double[]) - Method in class opennlp.tools.namefind.NameFinderME
-
Populates the specified array with the probabilities of the last decoded sequence.
- probs(double[]) - Method in class opennlp.tools.postag.POSTaggerME
-
Populates the specified
probsarray with the probabilities for each tag of the last tagged sentence. - probs(Span[]) - Method in class opennlp.tools.namefind.NameFinderME
-
Retrieves an array of probabilities for each of the specified spans which is the arithmetic mean of the probabilities for each of the outcomes which make up the span.
- process(ADSentenceStream.SentenceParser.Node, List<String>, List<String>) - Method in class opennlp.tools.formats.ad.ADPOSSampleStream
- process(ADSentenceStream.SentenceParser.Node, List<String>, List<Span>) - Method in class opennlp.tools.formats.ad.ADNameSampleStream
-
Recursive method to process a
ADSentenceStream.SentenceParser.Nodein Arvores Deitadas format. - processingInstruction(String, String) - Method in class opennlp.tools.dictionary.serializer.DictionaryEntryPersistor.DictionaryContenthandler
-
Not implemented.
- processLeaf(ADSentenceStream.SentenceParser.Leaf, boolean, String, List<String>, List<String>, List<String>) - Method in class opennlp.tools.formats.ad.ADChunkSampleStream
-
Adds a leaf to the sample.
- processLeaf(ADSentenceStream.SentenceParser.Leaf, List<String>, List<String>) - Method in class opennlp.tools.formats.ad.ADPOSSampleStream
- processLeaf(ADSentenceStream.SentenceParser.Leaf, List<String>, List<Span>) - Method in class opennlp.tools.formats.ad.ADNameSampleStream
-
Processes a
ADSentenceStream.SentenceParser.Leafof Arvores Detaitadas format - processLexeme(String) - Method in class opennlp.tools.formats.ad.ADNameSampleStream
- processNode(ADSentenceStream.SentenceParser.Node, List<String>, List<String>, List<String>, String) - Method in class opennlp.tools.formats.ad.ADChunkSampleStream
- processRoot(ADSentenceStream.SentenceParser.Node, List<String>, List<String>, List<String>) - Method in class opennlp.tools.formats.ad.ADChunkSampleStream
- processSample(ChunkSample) - Method in class opennlp.tools.chunker.ChunkerEvaluator
-
Evaluates the given reference
ChunkSampleobject. - processSample(DependencySample) - Method in class opennlp.tools.depparse.DependencyEvaluator
-
Evaluates the given reference
Evaluatorsample object. - processSample(DocumentSample) - Method in class opennlp.tools.doccat.DocumentCategorizerEvaluator
-
Evaluates the given reference
sample. - processSample(LanguageSample) - Method in class opennlp.tools.langdetect.LanguageDetectorEvaluator
-
Evaluates the given reference
LanguageSampleobject. - processSample(LemmaSample) - Method in class opennlp.tools.lemmatizer.LemmatizerEvaluator
-
Evaluates the given reference
LemmaSampleobject. - processSample(NameSample) - Method in class opennlp.tools.namefind.TokenNameFinderEvaluator
-
Evaluates the given reference
NameSampleobject. - processSample(POSSample) - Method in class opennlp.tools.postag.POSEvaluator
-
Evaluates the given reference
POSSampleobject. - processSample(SentenceSample) - Method in class opennlp.tools.sentdetect.SentenceDetectorEvaluator
- processSample(SentimentSample) - Method in class opennlp.tools.sentiment.SentimentEvaluator
-
Evaluates the given reference
Evaluatorsample object. - processSample(TokenSample) - Method in class opennlp.tools.tokenize.TokenizerEvaluator
- processSample(T) - Method in class opennlp.tools.util.eval.Evaluator
-
Evaluates the given reference
Evaluatorsample object. - processTok(String) - Method in class opennlp.tools.formats.ad.ADNameSampleStream
- production(Parse, boolean) - Method in class opennlp.tools.parser.AbstractContextGenerator
-
Generates a string representing the grammar rule production that the specified parse is starting.
- progMon - Variable in record class opennlp.tools.util.TrainingConfiguration
-
The field for the
progMonrecord component. - progMon() - Method in record class opennlp.tools.util.TrainingConfiguration
-
Returns the value of the
progMonrecord component. - progress - Variable in class opennlp.tools.monitoring.DefaultTrainingProgressMonitor
-
An underlying list to capture training progress events.
- promote(Path, Path, Function<Path, Path>) - Static method in class opennlp.tools.util.ResourceInstaller
-
Moves the selected staged regular files to their destinations beneath the target without replacing anything that already exists there.
- properties - Variable in record class opennlp.tools.models.ClassPathModel
-
The field for the
propertiesrecord component. - properties - Variable in record class opennlp.tools.models.ClassPathModelEntry
-
The field for the
propertiesrecord component. - properties - Variable in class opennlp.tools.util.DictionaryCatalog
- properties() - Method in record class opennlp.tools.models.ClassPathModel
-
Returns the value of the
propertiesrecord component. - properties() - Method in record class opennlp.tools.models.ClassPathModelEntry
-
Returns the value of the
propertiesrecord component. - PropertiesSerializer - Class in opennlp.tools.util.model
-
An
ArtifactSerializerimplementation forproperties. - PropertiesSerializer() - Constructor for class opennlp.tools.util.model.PropertiesSerializer
- props - Variable in class opennlp.tools.entitylinker.EntityLinkerProperties
- prototypes - Variable in record class opennlp.tools.util.normalizer.Confusables.Data
-
The field for the
prototypesrecord component. - prototypes() - Method in record class opennlp.tools.util.normalizer.Confusables.Data
-
Returns the value of the
prototypesrecord component. - provider - Variable in record class opennlp.tools.util.ext.Providers.Registration
-
The field for the
providerrecord component. - provider() - Method in record class opennlp.tools.util.ext.Providers.Registration
-
Returns the value of the
providerrecord component. - Provider<T> - Interface in opennlp.tools.util.ext
-
Creates instances of one service interface from a
ProviderSpec. - ProviderResolutionException - Exception Class in opennlp.tools.util.ext
- ProviderResolutionException(String) - Constructor for exception class opennlp.tools.util.ext.ProviderResolutionException
-
Initializes the exception.
- ProviderResolutionException(String, Throwable) - Constructor for exception class opennlp.tools.util.ext.ProviderResolutionException
-
Initializes the exception.
- Providers<P> - Class in opennlp.tools.util.ext
-
Resolves the
providersof one SPI. - Providers(Class<P>, ClassLoader, UnaryOperator<String>, Predicate<Class<?>>) - Constructor for class opennlp.tools.util.ext.Providers
- Providers.ConfigurationFile - Record Class in opennlp.tools.util.ext
-
A configuration file of a class loader.
- Providers.Lookup<P> - Record Class in opennlp.tools.util.ext
-
The providers one
ServiceLoaderpass of the constructor found, and how many it left out. - Providers.Parsed - Record Class in opennlp.tools.util.ext
-
The entries of a configuration value, kept to parse a value that does not change only once.
- Providers.Registration<P> - Record Class in opennlp.tools.util.ext
-
A provider with the name and priority read once at lookup.
- ProviderSpec - Class in opennlp.tools.util.ext
-
Describes what a
Providershould create: an optional location, such as a model file, and string options. - ProviderSpec(URI, Map<String, String>) - Constructor for class opennlp.tools.util.ext.ProviderSpec
- provides() - Method in class opennlp.tools.chunker.ChunkerAnnotator
- provides() - Method in interface opennlp.tools.document.DocumentAnnotator
- provides() - Method in class opennlp.tools.lemmatizer.LemmatizerAnnotator
- provides() - Method in class opennlp.tools.namefind.NameFinderAnnotator
- provides() - Method in class opennlp.tools.parser.ParserAnnotator
- provides() - Method in class opennlp.tools.postag.POSTaggerAnnotator
- provides() - Method in class opennlp.tools.sentdetect.SentenceDetectorAnnotator
- provides() - Method in class opennlp.tools.stemmer.StemmerAnnotator
- provides() - Method in class opennlp.tools.termvector.TermVectorAnnotator
- provides() - Method in class opennlp.tools.tokenize.TokenizerAnnotator
- pruneParse(Parse) - Static method in class opennlp.tools.parser.Parse
-
Prune the specified sentence parse of vacuous productions.
- pseudoGradAtNext - Variable in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- psi - Variable in class opennlp.tools.namefind.NameSampleSequenceStream
- psi - Variable in class opennlp.tools.postag.POSSampleSequenceStream
- ptEosCharacters - Variable in class opennlp.tools.formats.ad.ADSentenceSampleStream
- ptEosCharacters - Static variable in class opennlp.tools.sentdetect.lang.Factory
- punct(Parse, int) - Method in class opennlp.tools.parser.AbstractContextGenerator
-
Creates punctuation feature for the specified punctuation at the specified index
ibased on thepunctuationmark. - punctbo(Parse, int) - Method in class opennlp.tools.parser.AbstractContextGenerator
-
Creates punctuation feature for the specified punctuation at the specified index
ibased on thepunctuation's tag. - punctSet - Variable in class opennlp.tools.parser.AbstractBottomUpParser
-
The set strings which are considered punctuation for the parser.
- punctSet - Variable in class opennlp.tools.parser.AbstractContextGenerator
-
Set of punctuation to be used in generating features.
- punctSet - Variable in class opennlp.tools.parser.AbstractParserEventStream
- punctSet - Variable in class opennlp.tools.parser.lang.en.HeadRules
- punctSet - Variable in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules
- PunctuationLine(int, String) - Constructor for record class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.PunctuationLine
-
Creates an instance of a
PunctuationLinerecord class. - punctuationTag - Variable in class opennlp.tools.depparse.DependencyCrossValidator
- punctuationTag - Variable in class opennlp.tools.depparse.DependencyEvaluator
- put(String, boolean) - Method in interface opennlp.tools.util.Parameters
- put(String, boolean) - Method in class opennlp.tools.util.TrainingParameters
- put(String, double) - Method in interface opennlp.tools.util.Parameters
- put(String, double) - Method in class opennlp.tools.util.TrainingParameters
- put(String, int) - Method in interface opennlp.tools.util.Parameters
- put(String, int) - Method in class opennlp.tools.util.TrainingParameters
- put(String, String) - Method in interface opennlp.tools.util.Parameters
- put(String, String) - Method in class opennlp.tools.util.TrainingParameters
- put(String, String...) - Method in interface opennlp.tools.postag.MutableTagDictionary
-
Associates the specified tags with the specified word.
- put(String, String...) - Method in class opennlp.tools.postag.POSDictionary
- put(String, String, boolean) - Method in interface opennlp.tools.util.Parameters
- put(String, String, boolean) - Method in class opennlp.tools.util.TrainingParameters
- put(String, String, double) - Method in interface opennlp.tools.util.Parameters
- put(String, String, double) - Method in class opennlp.tools.util.TrainingParameters
- put(String, String, int) - Method in interface opennlp.tools.util.Parameters
- put(String, String, int) - Method in class opennlp.tools.util.TrainingParameters
- put(String, String, String) - Method in interface opennlp.tools.util.Parameters
- put(String, String, String) - Method in class opennlp.tools.util.TrainingParameters
- put(StringList) - Method in class opennlp.tools.dictionary.Dictionary
-
Adds the tokens to the dictionary as one new entry.
- putIfAbsent(String, boolean) - Method in interface opennlp.tools.util.Parameters
- putIfAbsent(String, boolean) - Method in class opennlp.tools.util.TrainingParameters
- putIfAbsent(String, double) - Method in interface opennlp.tools.util.Parameters
- putIfAbsent(String, double) - Method in class opennlp.tools.util.TrainingParameters
- putIfAbsent(String, int) - Method in interface opennlp.tools.util.Parameters
- putIfAbsent(String, int) - Method in class opennlp.tools.util.TrainingParameters
- putIfAbsent(String, String) - Method in interface opennlp.tools.util.Parameters
- putIfAbsent(String, String) - Method in class opennlp.tools.util.TrainingParameters
- putIfAbsent(String, String, boolean) - Method in interface opennlp.tools.util.Parameters
- putIfAbsent(String, String, boolean) - Method in class opennlp.tools.util.TrainingParameters
- putIfAbsent(String, String, double) - Method in interface opennlp.tools.util.Parameters
- putIfAbsent(String, String, double) - Method in class opennlp.tools.util.TrainingParameters
- putIfAbsent(String, String, int) - Method in interface opennlp.tools.util.Parameters
- putIfAbsent(String, String, int) - Method in class opennlp.tools.util.TrainingParameters
- putIfAbsent(String, String, String) - Method in interface opennlp.tools.util.Parameters
- putIfAbsent(String, String, String) - Method in class opennlp.tools.util.TrainingParameters
Q
- Q - Variable in class opennlp.tools.parser.AbstractBottomUpParser
-
The minimum total probability mass of advanced outcomes.
- QNMinimizer - Class in opennlp.tools.ml.maxent.quasinewton
-
Implementation of the Limited memory Broyden-Fletcher-Goldfarb-Shanno algorithm (L-BFGS) which supports L1-, L2-regularization and Elastic Net for solving convex optimization problems.
- QNMinimizer() - Constructor for class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
-
Initializes a
QNMinimizerwith default parameters (see:QNMinimizer.L1COST_DEFAULTandQNMinimizer.L2COST_DEFAULT). - QNMinimizer(double, double) - Constructor for class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
-
Initializes a
QNMinimizer. - QNMinimizer(double, double, int) - Constructor for class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
-
Initializes a
QNMinimizerwith L1 and L2 parameters. - QNMinimizer(double, double, int, int, int) - Constructor for class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
-
Initializes a
QNMinimizer. - QNMinimizer.Evaluator - Interface in opennlp.tools.ml.maxent.quasinewton
-
Evaluate the quality of training parameters.
- QNMinimizer.L2RegFunction - Class in opennlp.tools.ml.maxent.quasinewton
-
L2-regularized objective
Function. - QNMinimizer.UpdateInfo - Class in opennlp.tools.ml.maxent.quasinewton
-
Class to store vectors for Hessian approximation update.
- QNModel - Class in opennlp.tools.ml.maxent.quasinewton
-
A
maximum entropy modelwhich has been trained via the L-BFGS algorithm , which belongs to the group of Quasi Newton (QN) algorithms. - QNModel(Context[], String[], String[]) - Constructor for class opennlp.tools.ml.maxent.quasinewton.QNModel
-
Initializes a
QNModelwith the specified parameters, predicate/feature labels, and outcome names. - QNModelReader - Class in opennlp.tools.ml.maxent.io
-
The base class for readers of
QN models. - QNModelReader(File) - Constructor for class opennlp.tools.ml.maxent.io.QNModelReader
-
Initializes a
QNModelReadervia aFile. - QNModelReader(DataReader) - Constructor for class opennlp.tools.ml.maxent.io.QNModelReader
-
Initializes a
QNModelReadervia aDataReader. - QNModelWriter - Class in opennlp.tools.ml.maxent.io
-
The base class for writers of
models. - QNModelWriter(AbstractModel) - Constructor for class opennlp.tools.ml.maxent.io.QNModelWriter
- QNTrainer - Class in opennlp.tools.ml.maxent.quasinewton
- QNTrainer() - Constructor for class opennlp.tools.ml.maxent.quasinewton.QNTrainer
-
Initializes a
QNTrainer. - QNTrainer(int) - Constructor for class opennlp.tools.ml.maxent.quasinewton.QNTrainer
-
Initializes a
QNTrainerwith the specified parameterm. - QNTrainer(int, int) - Constructor for class opennlp.tools.ml.maxent.quasinewton.QNTrainer
-
Initializes a
QNTrainerwith the specified parameters. - QNTrainer(TrainingParameters) - Constructor for class opennlp.tools.ml.maxent.quasinewton.QNTrainer
-
Initializes a
QNTrainerwith the specifiedparameters. - QNTrainer.ModelEvaluator - Record Class in opennlp.tools.ml.maxent.quasinewton
-
For measuring model's training accuracy.
- QuarkExtractor(Map<Integer, MascWord>, List<MascWord>) - Constructor for record class opennlp.tools.formats.masc.MascSentence.QuarkExtractor
-
Creates an instance of a
QuarkExtractorrecord class. - quarks - Variable in class opennlp.tools.formats.masc.MascToken
- QUERY_SEPARATOR - Static variable in class opennlp.tools.util.ext.ProviderSpec
- QUOTE - Static variable in class opennlp.tools.formats.ad.ADMetadata
- QuoteCharSequenceNormalizer - Class in opennlp.tools.util.normalizer
-
A
CharSequenceNormalizerthat folds typographic quotation marks to their ASCII forms: the single quotes and apostrophes to'and the double quotes to". - QuoteCharSequenceNormalizer() - Constructor for class opennlp.tools.util.normalizer.QuoteCharSequenceNormalizer
- quotes() - Method in class opennlp.tools.util.normalizer.TextNormalizer.Builder
-
Returns this builder with quotation-mark folding appended.
R
- r - Variable in class opennlp.tools.ml.model.UniformPrior
- r(String) - Method in class opennlp.tools.stemmer.PorterStemmer
- r_adjectival() - Method in class opennlp.tools.stemmer.snowball.russianStemmer
- r_adjective() - Method in class opennlp.tools.stemmer.snowball.russianStemmer
- r_append_U_to_stems_ending_with_d_or_g() - Method in class opennlp.tools.stemmer.snowball.turkishStemmer
- r_attached_pronoun() - Method in class opennlp.tools.stemmer.snowball.catalanStemmer
- r_attached_pronoun() - Method in class opennlp.tools.stemmer.snowball.italianStemmer
- r_attached_pronoun() - Method in class opennlp.tools.stemmer.snowball.spanishStemmer
- r_case() - Method in class opennlp.tools.stemmer.snowball.hungarianStemmer
- r_case_ending() - Method in class opennlp.tools.stemmer.snowball.finnishStemmer
- r_case_other() - Method in class opennlp.tools.stemmer.snowball.hungarianStemmer
- r_case_special() - Method in class opennlp.tools.stemmer.snowball.hungarianStemmer
- r_check_vowel_harmony() - Method in class opennlp.tools.stemmer.snowball.turkishStemmer
- r_Checks1() - Method in class opennlp.tools.stemmer.snowball.arabicStemmer
- r_cleaning() - Method in class opennlp.tools.stemmer.snowball.catalanStemmer
- r_combo_suffix() - Method in class opennlp.tools.stemmer.snowball.romanianStemmer
- r_consonant_pair() - Method in class opennlp.tools.stemmer.snowball.danishStemmer
- r_consonant_pair() - Method in class opennlp.tools.stemmer.snowball.norwegianStemmer
- r_consonant_pair() - Method in class opennlp.tools.stemmer.snowball.swedishStemmer
- r_deriv() - Method in class opennlp.tools.stemmer.snowball.irishStemmer
- r_derivational() - Method in class opennlp.tools.stemmer.snowball.russianStemmer
- r_double() - Method in class opennlp.tools.stemmer.snowball.hungarianStemmer
- r_e_ending() - Method in class opennlp.tools.stemmer.snowball.dutchStemmer
- r_en_ending() - Method in class opennlp.tools.stemmer.snowball.dutchStemmer
- r_exception1() - Method in class opennlp.tools.stemmer.snowball.englishStemmer
- r_exception2() - Method in class opennlp.tools.stemmer.snowball.englishStemmer
- r_exceptions() - Method in class opennlp.tools.stemmer.snowball.italianStemmer
- r_factive() - Method in class opennlp.tools.stemmer.snowball.hungarianStemmer
- r_has_min_length() - Method in class opennlp.tools.stemmer.snowball.greekStemmer
- r_i_plural() - Method in class opennlp.tools.stemmer.snowball.finnishStemmer
- r_i_verb_suffix() - Method in class opennlp.tools.stemmer.snowball.frenchStemmer
- r_initial_morph() - Method in class opennlp.tools.stemmer.snowball.irishStemmer
- r_instrum() - Method in class opennlp.tools.stemmer.snowball.hungarianStemmer
- r_is_reserved_word() - Method in class opennlp.tools.stemmer.snowball.turkishStemmer
- r_KER() - Method in class opennlp.tools.stemmer.snowball.indonesianStemmer
- r_LONG() - Method in class opennlp.tools.stemmer.snowball.finnishStemmer
- r_main_suffix() - Method in class opennlp.tools.stemmer.snowball.danishStemmer
- r_main_suffix() - Method in class opennlp.tools.stemmer.snowball.norwegianStemmer
- r_main_suffix() - Method in class opennlp.tools.stemmer.snowball.swedishStemmer
- r_mark_cAsInA() - Method in class opennlp.tools.stemmer.snowball.turkishStemmer
- r_mark_DA() - Method in class opennlp.tools.stemmer.snowball.turkishStemmer
- r_mark_DAn() - Method in class opennlp.tools.stemmer.snowball.turkishStemmer
- r_mark_DUr() - Method in class opennlp.tools.stemmer.snowball.turkishStemmer
- r_mark_ki() - Method in class opennlp.tools.stemmer.snowball.turkishStemmer
- r_mark_lAr() - Method in class opennlp.tools.stemmer.snowball.turkishStemmer
- r_mark_lArI() - Method in class opennlp.tools.stemmer.snowball.turkishStemmer
- r_mark_nA() - Method in class opennlp.tools.stemmer.snowball.turkishStemmer
- r_mark_ncA() - Method in class opennlp.tools.stemmer.snowball.turkishStemmer
- r_mark_ndA() - Method in class opennlp.tools.stemmer.snowball.turkishStemmer
- r_mark_ndAn() - Method in class opennlp.tools.stemmer.snowball.turkishStemmer
- r_mark_nU() - Method in class opennlp.tools.stemmer.snowball.turkishStemmer
- r_mark_nUn() - Method in class opennlp.tools.stemmer.snowball.turkishStemmer
- r_mark_nUz() - Method in class opennlp.tools.stemmer.snowball.turkishStemmer
- r_mark_possessives() - Method in class opennlp.tools.stemmer.snowball.turkishStemmer
- r_mark_regions() - Method in class opennlp.tools.stemmer.snowball.catalanStemmer
- r_mark_regions() - Method in class opennlp.tools.stemmer.snowball.danishStemmer
- r_mark_regions() - Method in class opennlp.tools.stemmer.snowball.dutchStemmer
- r_mark_regions() - Method in class opennlp.tools.stemmer.snowball.englishStemmer
- r_mark_regions() - Method in class opennlp.tools.stemmer.snowball.finnishStemmer
- r_mark_regions() - Method in class opennlp.tools.stemmer.snowball.frenchStemmer
- r_mark_regions() - Method in class opennlp.tools.stemmer.snowball.germanStemmer
- r_mark_regions() - Method in class opennlp.tools.stemmer.snowball.hungarianStemmer
- r_mark_regions() - Method in class opennlp.tools.stemmer.snowball.irishStemmer
- r_mark_regions() - Method in class opennlp.tools.stemmer.snowball.italianStemmer
- r_mark_regions() - Method in class opennlp.tools.stemmer.snowball.norwegianStemmer
- r_mark_regions() - Method in class opennlp.tools.stemmer.snowball.portugueseStemmer
- r_mark_regions() - Method in class opennlp.tools.stemmer.snowball.romanianStemmer
- r_mark_regions() - Method in class opennlp.tools.stemmer.snowball.russianStemmer
- r_mark_regions() - Method in class opennlp.tools.stemmer.snowball.spanishStemmer
- r_mark_regions() - Method in class opennlp.tools.stemmer.snowball.swedishStemmer
- r_mark_sU() - Method in class opennlp.tools.stemmer.snowball.turkishStemmer
- r_mark_suffix_with_optional_n_consonant() - Method in class opennlp.tools.stemmer.snowball.turkishStemmer
- r_mark_suffix_with_optional_s_consonant() - Method in class opennlp.tools.stemmer.snowball.turkishStemmer
- r_mark_suffix_with_optional_U_vowel() - Method in class opennlp.tools.stemmer.snowball.turkishStemmer
- r_mark_suffix_with_optional_y_consonant() - Method in class opennlp.tools.stemmer.snowball.turkishStemmer
- r_mark_sUn() - Method in class opennlp.tools.stemmer.snowball.turkishStemmer
- r_mark_sUnUz() - Method in class opennlp.tools.stemmer.snowball.turkishStemmer
- r_mark_yA() - Method in class opennlp.tools.stemmer.snowball.turkishStemmer
- r_mark_yDU() - Method in class opennlp.tools.stemmer.snowball.turkishStemmer
- r_mark_yken() - Method in class opennlp.tools.stemmer.snowball.turkishStemmer
- r_mark_ylA() - Method in class opennlp.tools.stemmer.snowball.turkishStemmer
- r_mark_ymUs_() - Method in class opennlp.tools.stemmer.snowball.turkishStemmer
- r_mark_ysA() - Method in class opennlp.tools.stemmer.snowball.turkishStemmer
- r_mark_yU() - Method in class opennlp.tools.stemmer.snowball.turkishStemmer
- r_mark_yUm() - Method in class opennlp.tools.stemmer.snowball.turkishStemmer
- r_mark_yUz() - Method in class opennlp.tools.stemmer.snowball.turkishStemmer
- r_more_than_one_syllable_word() - Method in class opennlp.tools.stemmer.snowball.turkishStemmer
- r_norm() - Method in class opennlp.tools.stemmer.snowball.romanianStemmer
- r_Normalize_post() - Method in class opennlp.tools.stemmer.snowball.arabicStemmer
- r_Normalize_pre() - Method in class opennlp.tools.stemmer.snowball.arabicStemmer
- r_noun() - Method in class opennlp.tools.stemmer.snowball.russianStemmer
- r_noun_sfx() - Method in class opennlp.tools.stemmer.snowball.irishStemmer
- r_other_endings() - Method in class opennlp.tools.stemmer.snowball.finnishStemmer
- r_other_suffix() - Method in class opennlp.tools.stemmer.snowball.danishStemmer
- r_other_suffix() - Method in class opennlp.tools.stemmer.snowball.norwegianStemmer
- r_other_suffix() - Method in class opennlp.tools.stemmer.snowball.swedishStemmer
- r_owned() - Method in class opennlp.tools.stemmer.snowball.hungarianStemmer
- r_particle_etc() - Method in class opennlp.tools.stemmer.snowball.finnishStemmer
- r_perfective_gerund() - Method in class opennlp.tools.stemmer.snowball.russianStemmer
- r_plur_owner() - Method in class opennlp.tools.stemmer.snowball.hungarianStemmer
- r_plural() - Method in class opennlp.tools.stemmer.snowball.hungarianStemmer
- r_possessive() - Method in class opennlp.tools.stemmer.snowball.finnishStemmer
- r_post_process_last_consonants() - Method in class opennlp.tools.stemmer.snowball.turkishStemmer
- r_postlude() - Method in class opennlp.tools.stemmer.snowball.dutchStemmer
- r_postlude() - Method in class opennlp.tools.stemmer.snowball.englishStemmer
- r_postlude() - Method in class opennlp.tools.stemmer.snowball.frenchStemmer
- r_postlude() - Method in class opennlp.tools.stemmer.snowball.germanStemmer
- r_postlude() - Method in class opennlp.tools.stemmer.snowball.italianStemmer
- r_postlude() - Method in class opennlp.tools.stemmer.snowball.portugueseStemmer
- r_postlude() - Method in class opennlp.tools.stemmer.snowball.romanianStemmer
- r_postlude() - Method in class opennlp.tools.stemmer.snowball.spanishStemmer
- r_postlude() - Method in class opennlp.tools.stemmer.snowball.turkishStemmer
- r_Prefix_Step1() - Method in class opennlp.tools.stemmer.snowball.arabicStemmer
- r_Prefix_Step2() - Method in class opennlp.tools.stemmer.snowball.arabicStemmer
- r_Prefix_Step3_Verb() - Method in class opennlp.tools.stemmer.snowball.arabicStemmer
- r_Prefix_Step3a_Noun() - Method in class opennlp.tools.stemmer.snowball.arabicStemmer
- r_Prefix_Step3b_Noun() - Method in class opennlp.tools.stemmer.snowball.arabicStemmer
- r_Prefix_Step4_Verb() - Method in class opennlp.tools.stemmer.snowball.arabicStemmer
- r_prelude() - Method in class opennlp.tools.stemmer.snowball.dutchStemmer
- r_prelude() - Method in class opennlp.tools.stemmer.snowball.englishStemmer
- r_prelude() - Method in class opennlp.tools.stemmer.snowball.frenchStemmer
- r_prelude() - Method in class opennlp.tools.stemmer.snowball.germanStemmer
- r_prelude() - Method in class opennlp.tools.stemmer.snowball.italianStemmer
- r_prelude() - Method in class opennlp.tools.stemmer.snowball.portugueseStemmer
- r_prelude() - Method in class opennlp.tools.stemmer.snowball.romanianStemmer
- r_R1() - Method in class opennlp.tools.stemmer.snowball.catalanStemmer
- r_R1() - Method in class opennlp.tools.stemmer.snowball.dutchStemmer
- r_R1() - Method in class opennlp.tools.stemmer.snowball.englishStemmer
- r_R1() - Method in class opennlp.tools.stemmer.snowball.frenchStemmer
- r_R1() - Method in class opennlp.tools.stemmer.snowball.germanStemmer
- r_R1() - Method in class opennlp.tools.stemmer.snowball.hungarianStemmer
- r_R1() - Method in class opennlp.tools.stemmer.snowball.irishStemmer
- r_R1() - Method in class opennlp.tools.stemmer.snowball.italianStemmer
- r_R1() - Method in class opennlp.tools.stemmer.snowball.porterStemmer
- r_R1() - Method in class opennlp.tools.stemmer.snowball.portugueseStemmer
- r_R1() - Method in class opennlp.tools.stemmer.snowball.romanianStemmer
- r_R1() - Method in class opennlp.tools.stemmer.snowball.spanishStemmer
- r_R2() - Method in class opennlp.tools.stemmer.snowball.catalanStemmer
- r_R2() - Method in class opennlp.tools.stemmer.snowball.dutchStemmer
- r_R2() - Method in class opennlp.tools.stemmer.snowball.englishStemmer
- r_R2() - Method in class opennlp.tools.stemmer.snowball.finnishStemmer
- r_R2() - Method in class opennlp.tools.stemmer.snowball.frenchStemmer
- r_R2() - Method in class opennlp.tools.stemmer.snowball.germanStemmer
- r_R2() - Method in class opennlp.tools.stemmer.snowball.irishStemmer
- r_R2() - Method in class opennlp.tools.stemmer.snowball.italianStemmer
- r_R2() - Method in class opennlp.tools.stemmer.snowball.porterStemmer
- r_R2() - Method in class opennlp.tools.stemmer.snowball.portugueseStemmer
- r_R2() - Method in class opennlp.tools.stemmer.snowball.romanianStemmer
- r_R2() - Method in class opennlp.tools.stemmer.snowball.russianStemmer
- r_R2() - Method in class opennlp.tools.stemmer.snowball.spanishStemmer
- r_reflexive() - Method in class opennlp.tools.stemmer.snowball.russianStemmer
- r_remove_first_order_prefix() - Method in class opennlp.tools.stemmer.snowball.indonesianStemmer
- r_remove_particle() - Method in class opennlp.tools.stemmer.snowball.indonesianStemmer
- r_remove_possessive_pronoun() - Method in class opennlp.tools.stemmer.snowball.indonesianStemmer
- r_remove_proper_noun_suffix() - Method in class opennlp.tools.stemmer.snowball.turkishStemmer
- r_remove_second_order_prefix() - Method in class opennlp.tools.stemmer.snowball.indonesianStemmer
- r_remove_suffix() - Method in class opennlp.tools.stemmer.snowball.indonesianStemmer
- r_residual_form() - Method in class opennlp.tools.stemmer.snowball.portugueseStemmer
- r_residual_suffix() - Method in class opennlp.tools.stemmer.snowball.catalanStemmer
- r_residual_suffix() - Method in class opennlp.tools.stemmer.snowball.frenchStemmer
- r_residual_suffix() - Method in class opennlp.tools.stemmer.snowball.portugueseStemmer
- r_residual_suffix() - Method in class opennlp.tools.stemmer.snowball.spanishStemmer
- r_RV() - Method in class opennlp.tools.stemmer.snowball.frenchStemmer
- r_RV() - Method in class opennlp.tools.stemmer.snowball.irishStemmer
- r_RV() - Method in class opennlp.tools.stemmer.snowball.italianStemmer
- r_RV() - Method in class opennlp.tools.stemmer.snowball.portugueseStemmer
- r_RV() - Method in class opennlp.tools.stemmer.snowball.romanianStemmer
- r_RV() - Method in class opennlp.tools.stemmer.snowball.spanishStemmer
- r_shortv() - Method in class opennlp.tools.stemmer.snowball.englishStemmer
- r_shortv() - Method in class opennlp.tools.stemmer.snowball.porterStemmer
- r_sing_owner() - Method in class opennlp.tools.stemmer.snowball.hungarianStemmer
- r_standard_suffix() - Method in class opennlp.tools.stemmer.snowball.catalanStemmer
- r_standard_suffix() - Method in class opennlp.tools.stemmer.snowball.dutchStemmer
- r_standard_suffix() - Method in class opennlp.tools.stemmer.snowball.frenchStemmer
- r_standard_suffix() - Method in class opennlp.tools.stemmer.snowball.germanStemmer
- r_standard_suffix() - Method in class opennlp.tools.stemmer.snowball.italianStemmer
- r_standard_suffix() - Method in class opennlp.tools.stemmer.snowball.portugueseStemmer
- r_standard_suffix() - Method in class opennlp.tools.stemmer.snowball.romanianStemmer
- r_standard_suffix() - Method in class opennlp.tools.stemmer.snowball.spanishStemmer
- r_stem_nominal_verb_suffixes() - Method in class opennlp.tools.stemmer.snowball.turkishStemmer
- r_stem_noun_suffixes() - Method in class opennlp.tools.stemmer.snowball.turkishStemmer
- r_stem_suffix_chain_before_ki() - Method in class opennlp.tools.stemmer.snowball.turkishStemmer
- r_step_0() - Method in class opennlp.tools.stemmer.snowball.romanianStemmer
- r_step_1() - Method in class opennlp.tools.stemmer.snowball.greekStemmer
- r_Step_1a() - Method in class opennlp.tools.stemmer.snowball.englishStemmer
- r_Step_1a() - Method in class opennlp.tools.stemmer.snowball.porterStemmer
- r_Step_1b() - Method in class opennlp.tools.stemmer.snowball.englishStemmer
- r_Step_1b() - Method in class opennlp.tools.stemmer.snowball.porterStemmer
- r_Step_1c() - Method in class opennlp.tools.stemmer.snowball.englishStemmer
- r_Step_1c() - Method in class opennlp.tools.stemmer.snowball.porterStemmer
- r_Step_2() - Method in class opennlp.tools.stemmer.snowball.englishStemmer
- r_Step_2() - Method in class opennlp.tools.stemmer.snowball.porterStemmer
- r_step_2a() - Method in class opennlp.tools.stemmer.snowball.greekStemmer
- r_step_2b() - Method in class opennlp.tools.stemmer.snowball.greekStemmer
- r_step_2c() - Method in class opennlp.tools.stemmer.snowball.greekStemmer
- r_step_2d() - Method in class opennlp.tools.stemmer.snowball.greekStemmer
- r_step_3() - Method in class opennlp.tools.stemmer.snowball.greekStemmer
- r_Step_3() - Method in class opennlp.tools.stemmer.snowball.englishStemmer
- r_Step_3() - Method in class opennlp.tools.stemmer.snowball.porterStemmer
- r_step_4() - Method in class opennlp.tools.stemmer.snowball.greekStemmer
- r_Step_4() - Method in class opennlp.tools.stemmer.snowball.englishStemmer
- r_Step_4() - Method in class opennlp.tools.stemmer.snowball.porterStemmer
- r_Step_5() - Method in class opennlp.tools.stemmer.snowball.englishStemmer
- r_step_5a() - Method in class opennlp.tools.stemmer.snowball.greekStemmer
- r_Step_5a() - Method in class opennlp.tools.stemmer.snowball.porterStemmer
- r_step_5b() - Method in class opennlp.tools.stemmer.snowball.greekStemmer
- r_Step_5b() - Method in class opennlp.tools.stemmer.snowball.porterStemmer
- r_step_5c() - Method in class opennlp.tools.stemmer.snowball.greekStemmer
- r_step_5d() - Method in class opennlp.tools.stemmer.snowball.greekStemmer
- r_step_5e() - Method in class opennlp.tools.stemmer.snowball.greekStemmer
- r_step_5f() - Method in class opennlp.tools.stemmer.snowball.greekStemmer
- r_step_5g() - Method in class opennlp.tools.stemmer.snowball.greekStemmer
- r_step_5h() - Method in class opennlp.tools.stemmer.snowball.greekStemmer
- r_step_5i() - Method in class opennlp.tools.stemmer.snowball.greekStemmer
- r_step_5j() - Method in class opennlp.tools.stemmer.snowball.greekStemmer
- r_step_5k() - Method in class opennlp.tools.stemmer.snowball.greekStemmer
- r_step_5l() - Method in class opennlp.tools.stemmer.snowball.greekStemmer
- r_step_5m() - Method in class opennlp.tools.stemmer.snowball.greekStemmer
- r_step_6() - Method in class opennlp.tools.stemmer.snowball.greekStemmer
- r_step_7() - Method in class opennlp.tools.stemmer.snowball.greekStemmer
- r_step_s1() - Method in class opennlp.tools.stemmer.snowball.greekStemmer
- r_step_s10() - Method in class opennlp.tools.stemmer.snowball.greekStemmer
- r_step_s2() - Method in class opennlp.tools.stemmer.snowball.greekStemmer
- r_step_s3() - Method in class opennlp.tools.stemmer.snowball.greekStemmer
- r_step_s4() - Method in class opennlp.tools.stemmer.snowball.greekStemmer
- r_step_s5() - Method in class opennlp.tools.stemmer.snowball.greekStemmer
- r_step_s6() - Method in class opennlp.tools.stemmer.snowball.greekStemmer
- r_step_s7() - Method in class opennlp.tools.stemmer.snowball.greekStemmer
- r_step_s8() - Method in class opennlp.tools.stemmer.snowball.greekStemmer
- r_step_s9() - Method in class opennlp.tools.stemmer.snowball.greekStemmer
- r_Suffix_All_alef_maqsura() - Method in class opennlp.tools.stemmer.snowball.arabicStemmer
- r_SUFFIX_AN_OK() - Method in class opennlp.tools.stemmer.snowball.indonesianStemmer
- r_SUFFIX_I_OK() - Method in class opennlp.tools.stemmer.snowball.indonesianStemmer
- r_SUFFIX_KAN_OK() - Method in class opennlp.tools.stemmer.snowball.indonesianStemmer
- r_Suffix_Noun_Step1a() - Method in class opennlp.tools.stemmer.snowball.arabicStemmer
- r_Suffix_Noun_Step1b() - Method in class opennlp.tools.stemmer.snowball.arabicStemmer
- r_Suffix_Noun_Step2a() - Method in class opennlp.tools.stemmer.snowball.arabicStemmer
- r_Suffix_Noun_Step2b() - Method in class opennlp.tools.stemmer.snowball.arabicStemmer
- r_Suffix_Noun_Step2c1() - Method in class opennlp.tools.stemmer.snowball.arabicStemmer
- r_Suffix_Noun_Step2c2() - Method in class opennlp.tools.stemmer.snowball.arabicStemmer
- r_Suffix_Noun_Step3() - Method in class opennlp.tools.stemmer.snowball.arabicStemmer
- r_Suffix_Verb_Step1() - Method in class opennlp.tools.stemmer.snowball.arabicStemmer
- r_Suffix_Verb_Step2a() - Method in class opennlp.tools.stemmer.snowball.arabicStemmer
- r_Suffix_Verb_Step2b() - Method in class opennlp.tools.stemmer.snowball.arabicStemmer
- r_Suffix_Verb_Step2c() - Method in class opennlp.tools.stemmer.snowball.arabicStemmer
- r_t_plural() - Method in class opennlp.tools.stemmer.snowball.finnishStemmer
- r_tidy() - Method in class opennlp.tools.stemmer.snowball.finnishStemmer
- r_tidy_up() - Method in class opennlp.tools.stemmer.snowball.russianStemmer
- r_tolower() - Method in class opennlp.tools.stemmer.snowball.greekStemmer
- r_un_accent() - Method in class opennlp.tools.stemmer.snowball.frenchStemmer
- r_un_double() - Method in class opennlp.tools.stemmer.snowball.frenchStemmer
- r_undouble() - Method in class opennlp.tools.stemmer.snowball.danishStemmer
- r_undouble() - Method in class opennlp.tools.stemmer.snowball.dutchStemmer
- r_undouble() - Method in class opennlp.tools.stemmer.snowball.hungarianStemmer
- r_v_ending() - Method in class opennlp.tools.stemmer.snowball.hungarianStemmer
- r_verb() - Method in class opennlp.tools.stemmer.snowball.russianStemmer
- r_verb_sfx() - Method in class opennlp.tools.stemmer.snowball.irishStemmer
- r_verb_suffix() - Method in class opennlp.tools.stemmer.snowball.catalanStemmer
- r_verb_suffix() - Method in class opennlp.tools.stemmer.snowball.frenchStemmer
- r_verb_suffix() - Method in class opennlp.tools.stemmer.snowball.italianStemmer
- r_verb_suffix() - Method in class opennlp.tools.stemmer.snowball.portugueseStemmer
- r_verb_suffix() - Method in class opennlp.tools.stemmer.snowball.romanianStemmer
- r_verb_suffix() - Method in class opennlp.tools.stemmer.snowball.spanishStemmer
- r_VI() - Method in class opennlp.tools.stemmer.snowball.finnishStemmer
- r_VOWEL() - Method in class opennlp.tools.stemmer.snowball.indonesianStemmer
- r_vowel_suffix() - Method in class opennlp.tools.stemmer.snowball.italianStemmer
- r_vowel_suffix() - Method in class opennlp.tools.stemmer.snowball.romanianStemmer
- r_y_verb_suffix() - Method in class opennlp.tools.stemmer.snowball.spanishStemmer
- RADIX - Static variable in class opennlp.tools.util.normalizer.HexCodePoints
- random - Variable in class opennlp.tools.formats.leipzig.LeipzigLanguageSampleStream
- RANGE_DASH - Static variable in class opennlp.tools.tokenize.TokenizerCharacterPolicy
- RANGE_SEPARATOR - Static variable in class opennlp.tools.tokenize.lattice.MecabDictionary
-
The separator between the two ends of a
char.defcode point range. - RANGE_SEPARATOR - Static variable in class opennlp.tools.tokenize.TokenizerCharacterPolicy
- RANGE_SEPARATOR - Static variable in class opennlp.tools.util.normalizer.HexCodePoints
-
The separator between the first and the last code point of a range.
- rangeCategory - Variable in class opennlp.tools.tokenize.lattice.CategoryTable
- rangeEnd - Variable in class opennlp.tools.tokenize.lattice.CategoryTable
- rangeStart - Variable in class opennlp.tools.tokenize.lattice.CategoryTable
- read() - Method in class opennlp.tools.chunker.ChunkSampleSequenceStream
- read() - Method in class opennlp.tools.chunker.ChunkSampleStream
- read() - Method in class opennlp.tools.depparse.DependencyEventStream
-
Returns the next
ObjectStreamobject. - read() - Method in class opennlp.tools.doccat.DocumentSampleStream
- read() - Method in class opennlp.tools.formats.ad.ADChunkSampleStream
- read() - Method in class opennlp.tools.formats.ad.ADNameSampleStream
- read() - Method in class opennlp.tools.formats.ad.ADPOSSampleStream
- read() - Method in class opennlp.tools.formats.ad.ADSentenceSampleStream
- read() - Method in class opennlp.tools.formats.ad.ADSentenceStream
-
Reads the next sentence.
- read() - Method in class opennlp.tools.formats.BioNLP2004NameSampleStream
- read() - Method in class opennlp.tools.formats.brat.BratAnnotationStream
- read() - Method in class opennlp.tools.formats.brat.BratDocumentStream
- read() - Method in class opennlp.tools.formats.brat.SegmenterObjectStream
- read() - Method in class opennlp.tools.formats.Conll02NameSampleStream
- read() - Method in class opennlp.tools.formats.Conll03NameSampleStream
- read() - Method in class opennlp.tools.formats.conllu.ConlluDependencySampleStream
-
Returns the next
ObjectStreamobject. - read() - Method in class opennlp.tools.formats.conllu.ConlluLemmaSampleStream
- read() - Method in class opennlp.tools.formats.conllu.ConlluPOSSampleStream
- read() - Method in class opennlp.tools.formats.conllu.ConlluSentenceSampleStream
- read() - Method in class opennlp.tools.formats.conllu.ConlluStream
- read() - Method in class opennlp.tools.formats.conllu.ConlluTokenSampleStream
- read() - Method in class opennlp.tools.formats.ConllXPOSSampleStream
- read() - Method in class opennlp.tools.formats.convert.AbstractToSentenceSampleStream
- read() - Method in class opennlp.tools.formats.convert.FileToByteArraySampleStream
- read() - Method in class opennlp.tools.formats.convert.FileToStringSampleStream
- read() - Method in class opennlp.tools.formats.convert.NameToTokenSampleStream
- read() - Method in class opennlp.tools.formats.convert.ParseToPOSSampleStream
- read() - Method in class opennlp.tools.formats.convert.POSToTokenSampleStream
- read() - Method in class opennlp.tools.formats.DirectorySampleStream
- read() - Method in class opennlp.tools.formats.EvalitaNameSampleStream
- read() - Method in class opennlp.tools.formats.frenchtreebank.ConstitParseSampleStream
- read() - Method in class opennlp.tools.formats.GermEval2014NameSampleStream
- read() - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankSentenceStream
- read() - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankTokenSampleStream
- read() - Method in class opennlp.tools.formats.leipzig.LeipzigLanguageSampleStream.LeipzigSentencesStream
- read() - Method in class opennlp.tools.formats.leipzig.LeipzigLanguageSampleStream
- read() - Method in class opennlp.tools.formats.leipzig.SampleShuffleStream
- read() - Method in class opennlp.tools.formats.leipzig.SampleSkipStream
- read() - Method in class opennlp.tools.formats.letsmt.DetokenizeSentenceSampleStream
- read() - Method in class opennlp.tools.formats.letsmt.LetsmtSentenceStream
- read() - Method in class opennlp.tools.formats.masc.MascDocument
- read() - Method in class opennlp.tools.formats.masc.MascDocumentStream
-
Return the next document.
- read() - Method in class opennlp.tools.formats.masc.MascNamedEntitySampleStream
-
Reads the next sample of named entities.
- read() - Method in class opennlp.tools.formats.masc.MascPOSSampleStream
-
Reads the next sample.
- read() - Method in class opennlp.tools.formats.masc.MascSentenceSampleStream
-
Reads a new
sample of sentences. - read() - Method in class opennlp.tools.formats.masc.MascTokenSampleStream
- read() - Method in class opennlp.tools.formats.moses.MosesSentenceSampleStream
- read() - Method in class opennlp.tools.formats.muc.DocumentSplitterStream
- read() - Method in class opennlp.tools.formats.muc.MucNameSampleStream
- read() - Method in class opennlp.tools.formats.NameFinderCensus90NameStream
- read() - Method in class opennlp.tools.formats.nkjp.NKJPSentenceSampleStream
- read() - Method in class opennlp.tools.formats.ontonotes.OntoNotesNameSampleStream
- read() - Method in class opennlp.tools.formats.ontonotes.OntoNotesParseSampleStream
- read() - Method in class opennlp.tools.formats.TwentyNewsgroupSampleStream
- read() - Method in class opennlp.tools.langdetect.LanguageDetectorSampleStream
- read() - Method in class opennlp.tools.lemmatizer.LemmaSampleSequenceStream
- read() - Method in class opennlp.tools.lemmatizer.LemmaSampleStream
- read() - Method in class opennlp.tools.ml.maxent.RealBasicEventStream
-
Returns the next
ObjectStreamobject. - read() - Method in class opennlp.tools.ml.model.ChecksumEventStream
- read() - Method in class opennlp.tools.ml.model.FileEventStream
-
Returns the next
Eventobject. - read() - Method in class opennlp.tools.ml.model.RealValueFileEventStream
-
Returns the next
Eventobject. - read() - Method in class opennlp.tools.ml.model.SequenceStreamEventStream
- read() - Method in class opennlp.tools.ml.model.TwoPassDataIndexer.EventStream
- read() - Method in class opennlp.tools.namefind.NameSampleDataStream
- read() - Method in class opennlp.tools.namefind.NameSampleSequenceStream
- read() - Method in class opennlp.tools.namefind.NameSampleTypeFilter
- read() - Method in class opennlp.tools.namefind.TokenNameFinderCrossValidator.DocumentToNameSampleStream
- read() - Method in class opennlp.tools.namefind.TokenNameFinderCrossValidator.NameToDocumentSampleStream
- read() - Method in class opennlp.tools.parser.ChunkSampleStream
- read() - Method in class opennlp.tools.parser.ParseSampleStream
- read() - Method in class opennlp.tools.parser.PosSampleStream
- read() - Method in class opennlp.tools.postag.POSSampleSequenceStream
- read() - Method in class opennlp.tools.postag.WordTagSampleStream
-
Reads the next tokens and parses it into the next
POSSampleobject. - read() - Method in class opennlp.tools.sentdetect.EmptyLinePreprocessorStream
- read() - Method in class opennlp.tools.sentdetect.SentenceSampleStream
- read() - Method in class opennlp.tools.sentiment.SentimentCrossValidator.DocumentToSentimentSampleStream
-
Reads Document Sample into SentimentSample
- read() - Method in class opennlp.tools.sentiment.SentimentCrossValidator.SentimentToDocumentSampleStream
-
Reads Sentiment Samples to group them as a document
- read() - Method in class opennlp.tools.sentiment.SentimentSampleStream
-
Reads the text.
- read() - Method in class opennlp.tools.sentiment.SentimentSampleTypeFilter
- read() - Method in class opennlp.tools.stopword.StopwordFilterStream
-
Reads the next sample from the wrapped stream and returns it with stopwords removed.
- read() - Method in class opennlp.tools.tokenize.TokenizerStream
- read() - Method in class opennlp.tools.tokenize.TokenSampleStream
- read() - Method in class opennlp.tools.tokenize.WhitespaceTokenStream
- read() - Method in class opennlp.tools.util.AbstractEventStream
- read() - Method in class opennlp.tools.util.AbstractObjectStream
- read() - Method in class opennlp.tools.util.CollectionObjectStream
- read() - Method in class opennlp.tools.util.eval.CrossValidationPartitioner.TestSampleStream
- read() - Method in class opennlp.tools.util.eval.CrossValidationPartitioner.TrainingSampleStream
- read() - Method in class opennlp.tools.util.EventTraceStream
- read() - Method in class opennlp.tools.util.MarkableFileInputStream
- read() - Method in interface opennlp.tools.util.ObjectStream
-
Returns the next
ObjectStreamobject. - read() - Method in class opennlp.tools.util.ParagraphStream
- read() - Method in class opennlp.tools.util.PlainTextByLineStream
- read() - Method in class opennlp.tools.util.ResourceInstaller.BudgetInputStream
- read(byte[]) - Method in class opennlp.tools.util.MarkableFileInputStream
- read(byte[], int, int) - Method in class opennlp.tools.util.MarkableFileInputStream
- read(byte[], int, int) - Method in class opennlp.tools.util.ResourceInstaller.BudgetInputStream
- read(DataInputStream) - Static method in class opennlp.tools.depparse.FeedforwardNetwork.Serializer
-
Reads the network body after any wrapping has been set up.
- read(InputStream) - Static method in class opennlp.tools.util.model.ModelUtil
-
Reads from the provided
InputStreaminto a byte array. - read(String) - Method in class opennlp.tools.formats.ontonotes.DocumentToLineStream
- read(String[][], String, int, int) - Static method in class opennlp.tools.stemmer.hunspell.HunspellAffixTable
-
Checks a table header, entry count, and field counts.
- read(String, int) - Method in interface opennlp.tools.stemmer.hunspell.HunspellCompoundRule.FlagReader
-
Interprets one flag.
- read(URL) - Method in class opennlp.tools.util.ext.Providers
-
Reads one configuration file, without caching its jar, so that an application can be undeployed and its files replaced.
- read(BratDocument) - Method in class opennlp.tools.formats.brat.BratNameSampleStream
- read(S) - Method in class opennlp.tools.formats.brat.SegmenterObjectStream
- readBlock() - Method in class opennlp.tools.util.archive.TarStream
-
Fills the header buffer with the next 512-byte block.
- readBounded(InputStream, int, String) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Reads an input stream into a byte array, failing when more than
maxBytesarrive. - readCharacterDefinition(Path, Charset, Map<String, MecabDictionary.Category>, CategoryTable.Builder) - Static method in class opennlp.tools.tokenize.lattice.MecabDictionary
-
Reads
char.def: the category behavior lines and the code point mapping lines, in file order, so that a later mapping wins over an earlier one. - readCompoundPatterns(String[][], HunspellDictionary.FlagMode) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Parses CHECKCOMPOUNDPATTERN restrictions and replacements.
- readCompoundRules(String[][], HunspellDictionary.FlagMode) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Parses and validates the COMPOUNDRULE table.
- readCompoundSetting(String[], int, HunspellDictionary.AffixFile) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Reads a compound setting: the size limits, the boundary checks, the syllable rules, and the compound switches.
- readConfiguration(ClassLoader) - Method in class opennlp.tools.util.ext.Providers
- readCount(DataInputStream, String) - Static method in class opennlp.tools.depparse.FeedforwardNetwork.Serializer
-
Reads a count and checks it against
ResourceLimits.MAX_ENTRIES. - readData(String[], Class<P>) - Method in class opennlp.tools.formats.AbstractSampleStreamFactory
-
Creates an
ObjectStreamfor the specified arguments and the generic typeP. - readDouble() - Method in class opennlp.tools.ml.model.AbstractModelReader
-
Implement as needed for the format the model is stored in.
- readDouble() - Method in class opennlp.tools.ml.model.BinaryFileDataReader
- readDouble() - Method in interface opennlp.tools.ml.model.DataReader
- readDouble() - Method in class opennlp.tools.ml.model.ObjectDataReader
- readDouble() - Method in class opennlp.tools.ml.model.PlainTextFileDataReader
- reader - Variable in class opennlp.tools.formats.brat.BratAnnotationStream
- reader - Variable in class opennlp.tools.formats.conllu.ConlluDependencySampleStream
- reader - Variable in class opennlp.tools.ml.model.FileEventStream
- readerClazz - Variable in enum class opennlp.tools.ml.AlgorithmType
- readExtensionPayload() - Method in class opennlp.tools.util.archive.TarStream
-
Reads the payload of the extension header just read, leaving the stream positioned on the header that follows it.
- readFile(File) - Static method in class opennlp.tools.formats.convert.FileToByteArraySampleStream
- readFile(File, Charset) - Static method in class opennlp.tools.formats.convert.FileToStringSampleStream
-
Reads the contents of a
textFileto a string. - readFiniteFloat(DataInputStream, String) - Static method in class opennlp.tools.depparse.FeedforwardNetwork.Serializer
-
Reads one weight.
- readFlagAliases(String[][], HunspellDictionary.FlagMode) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Parses the file-wide flag alias table before parsing affix continuation flags.
- readFlagDeclaration(String[], int, HunspellDictionary.AffixFile) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Reads a directive that declares one flag, such as
COMPOUNDFLAGorNEEDAFFIX. - readFlagMode(String[][]) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Finds the file-wide flag mode before parsing directives that contain flags.
- readGeneralSetting(String[], int, HunspellDictionary.AffixFile) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Reads a general setting outside compounding: the affix switches, the sharp-s and warning rules, and the language.
- readHeadRules(BufferedReader) - Method in class opennlp.tools.parser.lang.en.HeadRules
- readHeadRules(BufferedReader) - Method in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules
- readInt() - Method in class opennlp.tools.ml.model.AbstractModelReader
-
Implement as needed for the format the model is stored in.
- readInt() - Method in class opennlp.tools.ml.model.BinaryFileDataReader
- readInt() - Method in interface opennlp.tools.ml.model.DataReader
- readInt() - Method in class opennlp.tools.ml.model.ObjectDataReader
- readInt() - Method in class opennlp.tools.ml.model.PlainTextFileDataReader
- readLexicon(Path, Charset, Map<String, List<MecabDictionary.WordEntry>>, int, int, int[]) - Static method in class opennlp.tools.tokenize.lattice.MecabDictionary
-
Parses one lexicon-format CSV file, rejecting entries with context ids the connection matrix cannot be indexed with.
- readLocalIndex() - Method in class opennlp.tools.util.DownloadUtil.DownloadParser
-
Reads the local copy of the index page.
- readManifest() - Method in class opennlp.tools.tokenize.TokenizerFactory
-
Reads the character policy, or else the alphanumeric pattern, from the model manifest.
- readMatrix(DataInputStream, long, long, long[], String) - Static method in class opennlp.tools.depparse.FeedforwardNetwork.Serializer
-
Reads a matrix written by
FeedforwardNetwork.Serializer.writeMatrix(java.io.DataOutputStream, float[][]), allocating one row at a time. - readMorphologyAliases(String[][]) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Parses the complete AM alias table before entries and affixes.
- readName() - Method in class opennlp.tools.util.archive.TarStream
-
Reads the current header's entry name.
- readObject(ObjectInputStream) - Method in class opennlp.tools.util.model.BaseModel
- readRecords(byte[], boolean) - Method in class opennlp.tools.util.archive.TarStream
-
Reads a pax extended header payload, which is a sequence of
"<length> <keyword>=<value>\n"records. - readResolve() - Method in class opennlp.tools.depparse.DependencyTree
-
Replaces a deserialized instance by a validated one, so the arrays and the cached hash read from a stream pass the same checks as
DependencyTree.of(int[], String[]). - readResolve() - Method in class opennlp.tools.util.normalizer.BulletCharSequenceNormalizer
-
Returns the shared instance, so deserialization keeps the singleton.
- readResolve() - Method in class opennlp.tools.util.normalizer.ConfusableSkeletonCharSequenceNormalizer
-
Returns the shared instance, so deserialization keeps the singleton.
- readResolve() - Method in class opennlp.tools.util.normalizer.DashCharSequenceNormalizer
-
Returns the shared instance, so deserialization keeps the singleton.
- readResolve() - Method in class opennlp.tools.util.normalizer.DigitCharSequenceNormalizer
-
Returns the shared instance, so deserialization keeps the singleton.
- readResolve() - Method in class opennlp.tools.util.normalizer.EmojiCharSequenceNormalizer
-
Returns the shared instance, so deserialization keeps the singleton.
- readResolve() - Method in class opennlp.tools.util.normalizer.EmojiToEmoticonCharSequenceNormalizer
-
Returns the shared instance, so deserialization keeps the singleton.
- readResolve() - Method in class opennlp.tools.util.normalizer.EmoticonToEmojiCharSequenceNormalizer
-
Returns the shared instance, so deserialization keeps the singleton.
- readResolve() - Method in class opennlp.tools.util.normalizer.FullCaseFoldCharSequenceNormalizer
-
Returns the shared instance, so deserialization keeps the singleton.
- readResolve() - Method in class opennlp.tools.util.normalizer.GermanUmlautCharSequenceNormalizer
-
Returns the shared instance, so deserialization keeps the singleton.
- readResolve() - Method in class opennlp.tools.util.normalizer.NfcCharSequenceNormalizer
-
Returns the shared instance, so deserialization keeps the singleton.
- readResolve() - Method in class opennlp.tools.util.normalizer.NfkcCharSequenceNormalizer
-
Returns the shared instance, so deserialization keeps the singleton.
- readResolve() - Method in class opennlp.tools.util.normalizer.ParagraphPreservingWhitespaceCharSequenceNormalizer
- readResolve() - Method in class opennlp.tools.util.normalizer.QuoteCharSequenceNormalizer
-
Returns the shared instance, so deserialization keeps the singleton.
- readSymbol(DataInputStream, String) - Static method in class opennlp.tools.depparse.FeedforwardNetwork.Serializer
-
Reads a symbol written by
FeedforwardNetwork.Serializer.writeSymbol(java.io.DataOutputStream, java.lang.String). - readText(InputStream) - Static method in class opennlp.tools.formats.masc.MascDocument
-
Reads in the corpus file text.
- readTimeout - Variable in class opennlp.tools.util.ResourceInstaller.Limits.Builder
- readTimeout - Variable in record class opennlp.tools.util.ResourceInstaller.Limits
-
The field for the
readTimeoutrecord component. - readTimeout() - Method in record class opennlp.tools.util.ResourceInstaller.Limits
-
Returns the value of the
readTimeoutrecord component. - readTimeout(Duration) - Method in class opennlp.tools.util.ResourceInstaller.Limits.Builder
-
Sets how long to wait for data on an established connection.
- readUTF() - Method in class opennlp.tools.ml.model.AbstractModelReader
-
Implement as needed for the format the model is stored in.
- readUTF() - Method in class opennlp.tools.ml.model.BinaryFileDataReader
- readUTF() - Method in interface opennlp.tools.ml.model.DataReader
- readUTF() - Method in class opennlp.tools.ml.model.ObjectDataReader
- readUTF() - Method in class opennlp.tools.ml.model.PlainTextFileDataReader
- readUTF(DataInputStream) - Static method in class opennlp.tools.ml.model.ModelParameterChunker
-
Reads model parameters from
dis. - readVector(DataInputStream, long, long[], String) - Static method in class opennlp.tools.depparse.FeedforwardNetwork.Serializer
-
Reads a vector written by
FeedforwardNetwork.Serializer.writeVector(java.io.DataOutputStream, float[]). - readVocabulary(DataInputStream, String, long[]) - Static method in class opennlp.tools.depparse.FeedforwardNetwork.Serializer
-
Reads one vocabulary written by
FeedforwardNetwork.Serializer.writeVocabulary(java.io.DataOutputStream, java.util.Map<java.lang.String, java.lang.Integer>). - readWordBreaks(String[][]) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Parses BREAK declarations, using hyphen rules when no table is configured.
- RealBasicEventStream - Class in opennlp.tools.ml.maxent
-
Class for real-valued
eventsas anevent stream. - RealBasicEventStream(ObjectStream<String>) - Constructor for class opennlp.tools.ml.maxent.RealBasicEventStream
-
Instantiates a
RealBasicEventStreamover a stream of event lines. - RealValueFileEventStream - Class in opennlp.tools.ml.model
-
Class for using a file of real-valued
eventsas anevent stream. - RealValueFileEventStream(File) - Constructor for class opennlp.tools.ml.model.RealValueFileEventStream
-
Instantiates a
RealValueFileEventStreamvia aFile. - RealValueFileEventStream(Reader) - Constructor for class opennlp.tools.ml.model.RealValueFileEventStream
-
Instantiates a
RealValueFileEventStreamvia aReader. - RealValueFileEventStream(String) - Constructor for class opennlp.tools.ml.model.RealValueFileEventStream
-
Instantiates a
RealValueFileEventStreamfrom the specified file name. - RealValueFileEventStream(String, String) - Constructor for class opennlp.tools.ml.model.RealValueFileEventStream
-
Instantiates a
RealValueFileEventStreamfrom the specified file name. - recall(Object[], Object[]) - Static method in class opennlp.tools.util.eval.FMeasure
-
Calculates the recall score for the given reference and predicted spans.
- recognize(String) - Static method in class opennlp.tools.util.featuregen.StringPattern
- recursive - Variable in class opennlp.tools.formats.DirectorySampleStream
- recursive - Variable in class opennlp.tools.models.dir.DirectoryModelFinder
- redact(String) - Static method in class opennlp.tools.util.ext.ProviderSpec
- reduceChunks(Parse[], int, Parse) - Static method in class opennlp.tools.parser.chunking.ParserEventStream
- REFERENCE_BYTES - Static variable in class opennlp.tools.depparse.ContributionCache
-
The bytes charged per table slot.
- refine(FeedforwardDependencyModel, ObjectStream<DependencySample>, TrainingParameters) - Static method in class opennlp.tools.depparse.FeedforwardDependencyTrainer
-
Refines a locally trained model with beam search and the early-update method of Collins and Roark (2004).
- refineSentence(DependencySample, int[], Transition[], int) - Method in class opennlp.tools.depparse.FeedforwardDependencyTrainer.Optimizer
-
Decodes one sentence with the beam, updating on the early-update point or the final beam.
- regexMap - Variable in class opennlp.tools.namefind.RegexNameFinder
- RegexNameFinder - Class in opennlp.tools.namefind
-
A
TokenNameFinderimplementation based on a series of regular expressions. - RegexNameFinder(Map<String, Pattern[]>) - Constructor for class opennlp.tools.namefind.RegexNameFinder
-
Initializes a
RegexNameFinderinstance. - RegexNameFinder(Pattern[], String) - Constructor for class opennlp.tools.namefind.RegexNameFinder
-
Initializes a
RegexNameFinderinstance. - RegexNameFinderFactory - Class in opennlp.tools.namefind
-
Returns a
RegexNameFinderbased on a selection of defaults or a configuration and a selection of defaults. - RegexNameFinderFactory() - Constructor for class opennlp.tools.namefind.RegexNameFinderFactory
- RegexNameFinderFactory.DEFAULT_REGEX_NAME_FINDER - Enum Class in opennlp.tools.namefind
-
Enumeration of typical regex expressions available in OpenNLP.
- RegexNameFinderFactory.RegexAble - Interface in opennlp.tools.namefind
- REGION_ID_PREFIX - Static variable in class opennlp.tools.formats.masc.MascIdentifiers
-
The prefix of a segmentation region identifier, as in
seg-r7. - REGIONAL_INDICATOR - Enum constant in enum class opennlp.tools.tokenize.uax29.WordBreak
-
Regional indicator symbols (used in pairs for flag emoji).
- REGIONAL_INDICATOR_ORDINAL - Static variable in class opennlp.tools.tokenize.uax29.WordSegmenter
- regionMatches(CharSequence, int, String) - Static method in class opennlp.tools.util.normalizer.AsciiChars
-
Returns whether the chars of
textatatequalliteralexactly. - register(Map<String, ArtifactSerializer<?>>) - Static method in class opennlp.tools.postag.POSTaggerFactory.POSDictionarySerializer
- register(Map<String, ArtifactSerializer<?>>) - Static method in class opennlp.tools.util.model.DictionarySerializer
-
Registers a new
DictionarySerializerin the givenfactoriesmapping. - register(Map<String, ArtifactSerializer<?>>) - Static method in class opennlp.tools.util.model.GenericModelSerializer
-
Registers a new
GenericModelSerializerin the givenfactoriesmapping. - register(Map<String, ArtifactSerializer<?>>) - Static method in class opennlp.tools.util.model.PropertiesSerializer
-
Registers a new
PropertiesSerializerin the givenfactoriesmapping. - registerAllowedPackage(String) - Static method in class opennlp.tools.util.ext.ExtensionLoader
-
Registers an additional package prefix whose classes are permitted to be loaded as OpenNLP extensions.
- registerFactory() - Static method in class opennlp.tools.formats.ad.ADChunkSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.ad.ADNameSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.ad.ADPOSSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.ad.ADSentenceSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.ad.ADTokenSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.BioNLP2004NameSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.brat.BratNameSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.ChunkerSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.Conll02NameSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.Conll03NameSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.conllu.ConlluDependencySampleStreamFactory
-
Registers the factory as the default and as the
conlluformat fordependency samples. - registerFactory() - Static method in class opennlp.tools.formats.conllu.ConlluLemmaSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.conllu.ConlluPOSSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.conllu.ConlluSentenceSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.conllu.ConlluTokenSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.ConllXPOSSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.ConllXSentenceSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.ConllXTokenSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.convert.NameToSentenceSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.convert.NameToTokenSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.convert.ParseToPOSSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.convert.ParseToSentenceSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.convert.ParseToTokenSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.convert.POSToSentenceSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.convert.POSToTokenSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.DocumentSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.EvalitaNameSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.frenchtreebank.ConstitParseSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.GermEval2014NameSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankSentenceStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankTokenSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.LanguageDetectorSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.leipzig.LeipzigLanguageSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.LemmatizerSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.letsmt.LetsmtSentenceStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.masc.MascNamedEntitySampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.masc.MascPOSSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.masc.MascSentenceSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.masc.MascTokenSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.moses.MosesSentenceSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.muc.Muc6NameSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.NameSampleDataStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.nkjp.NKJPSentenceSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.ontonotes.OntoNotesNameSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.ontonotes.OntoNotesParseSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.ontonotes.OntoNotesPOSSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.ParseSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.SentenceSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.SentimentSampleStreamFactory
-
Registers a SentimentSample stream factory
- registerFactory() - Static method in class opennlp.tools.formats.TokenSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.TwentyNewsgroupSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.WordTagSampleStreamFactory
- registerFactory(Class<T>, String, ObjectStreamFactory<T, P>) - Static method in class opennlp.tools.cmdline.StreamFactoryRegistry
-
Registers
factorywhich reads format namedformatNameand instantiates streams producing objects ofsampleClassclass. - Registration(P, String, int) - Constructor for record class opennlp.tools.util.ext.Providers.Registration
-
Creates an instance of a
Registrationrecord class. - registrations - Variable in record class opennlp.tools.util.ext.Providers.Lookup
-
The field for the
registrationsrecord component. - registrations - Variable in class opennlp.tools.util.ext.Providers
- registrations() - Method in record class opennlp.tools.util.ext.Providers.Lookup
-
Returns the value of the
registrationsrecord component. - registry - Static variable in class opennlp.tools.cmdline.StreamFactoryRegistry
- REJECT - Enum constant in enum class opennlp.tools.document.Document.DuplicateLayerPolicy
-
Reject any layer key present on both documents.
- rejectsCompoundReplacement(String, Predicate<String>) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Tests CHECKCOMPOUNDREP with the configured replacement table.
- rejectsCompoundText(String) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Applies the text-level compound checks to the text every compound level splits: a
CHECKCOMPOUNDREPreplacement or a space inserted at any position must not produce a recognized non-compound form. - rejectsJunction(HunspellStemmer.CompoundPart, HunspellStemmer.CompoundPart, HunspellDictionary.CompoundPattern, boolean) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Applies the junction declarations.
- REL_GRAD_NORM_TOL - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
- RelatedCharacter(int, String, String, String) - Constructor for record class opennlp.tools.util.normalizer.UnicodeWhitespace.RelatedCharacter
-
Creates an instance of a
RelatedCharacterrecord class. - relation - Variable in record class opennlp.tools.depparse.DependencyArc
-
The field for the
relationrecord component. - relation() - Method in record class opennlp.tools.depparse.DependencyArc
-
Returns the value of the
relationrecord component. - RELATION_TYPE - Static variable in class opennlp.tools.formats.brat.AnnotationConfiguration
- RelationAnnotation - Class in opennlp.tools.formats.brat
- RelationAnnotation(String, String, String, String) - Constructor for class opennlp.tools.formats.brat.RelationAnnotation
- RelationAnnotationParser() - Constructor for class opennlp.tools.formats.brat.BratAnnotationStream.RelationAnnotationParser
- relationOf(int) - Method in class opennlp.tools.depparse.DependencyTree
-
Retrieves the relation label of a token.
- relations - Variable in class opennlp.tools.depparse.ArcStandardState
- relations - Variable in class opennlp.tools.depparse.DependencyTree
- Relationship to other thread-safety patterns in this PR - Search tag in class opennlp.tools.util.LastResultOwnerOrThreadLocal
- Section
- relax(LatticeTokenizer.Node, LatticeTokenizer.Node) - Method in class opennlp.tools.tokenize.lattice.LatticeTokenizer
-
Connects a candidate to the cheapest predecessor ending where it starts.
- remaining - Variable in class opennlp.tools.util.archive.TarStream
- remainingBytes - Variable in class opennlp.tools.depparse.ContributionCache
-
The bytes the cache may still spend.
- remainingBytes() - Method in class opennlp.tools.depparse.ContributionCache
- REMOTE_DOWNLOAD_PROPERTY - Static variable in class opennlp.tools.util.DictionaryCatalog
-
System property that must be
truebefore a catalog entry may be fetched. - remove() - Method in class opennlp.tools.tokenize.lang.en.TokenSampleStream
- remove() - Method in class opennlp.tools.util.ReverseListIterator
- remove(int) - Method in class opennlp.tools.parser.Parse
- remove(CharSequence) - Method in class opennlp.tools.ngram.NGramCharModel
-
Removes the specified
ngramis from aNGramCharModel. - remove(String...) - Method in class opennlp.tools.stopword.DictionaryStopwordFilter.Builder
-
Schedules removal of one entry (applied after all adds at
DictionaryStopwordFilter.Builder.build()time). - remove(StringList) - Method in class opennlp.tools.dictionary.Dictionary
-
Removes the given tokens form the current instance.
- remove(StringList) - Method in class opennlp.tools.ngram.NGramModel
-
Removes the specified tokens form the NGram model, they are just dropped.
- removeAffixInCompound(String, HunspellDictionary.Affix, boolean) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Undoes one affix rule on a compound part.
- removeAll(CharSequence) - Method in class opennlp.tools.util.normalizer.CharClass
-
Removes every member code point.
- removeAll(CharSequence) - Static method in class opennlp.tools.util.normalizer.MailAddressScan
-
Replaces each email address with one space.
- removeAll(Collection<String[]>) - Method in class opennlp.tools.stopword.DictionaryStopwordFilter.Builder
-
Schedules a bulk of removals.
- removeAllAligned(CharSequence) - Method in class opennlp.tools.util.normalizer.CharClass
-
Like
CharClass.removeAll(CharSequence)but also produces theAlignmentback to the original text. - removeEldestEntry(Map.Entry<K, V>) - Method in class opennlp.tools.util.Cache
- removeEmoticons(CharSequence) - Method in class opennlp.tools.util.normalizer.SocialMediaCharSequenceNormalizer
-
Replaces each emoticon with one space, including inside words: eyes, then an optional
-nose (tried first when present), then a mouth. - removeEntries - Variable in class opennlp.tools.stopword.DictionaryStopwordFilter.Builder
- removeIfEmpty(Path, Exception) - Static method in class opennlp.tools.util.ResourceInstaller
-
Removes a target directory this installation created when the failed installation left nothing in it, so a failed first attempt leaves the filesystem as it was.
- removeIgnored(String, String) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Removes characters listed in the affix file's IGNORE setting.
- removeLegacyRuns(CharSequence) - Method in class opennlp.tools.util.normalizer.EmojiCharSequenceNormalizer
-
Replaces each maximal run of code points of the legacy set with one space.
- removeLegacyUrls(CharSequence) - Method in class opennlp.tools.util.normalizer.UrlCharSequenceNormalizer
-
Replaces each URL of the legacy output with one space.
- removePrefix(String, HunspellDictionary.Affix) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Undoes one prefix rule: cuts the affix material off the start of the word, restores the strip string the rule removed on application, and checks the rule's condition against the restored stem.
- removePrefixAllowingIdentity(String, HunspellDictionary.Affix) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Undoes a prefix in a continuation sequence, including a rule that changes no material.
- removeRetweetMarkers(CharSequence) - Method in class opennlp.tools.util.normalizer.SocialMediaCharSequenceNormalizer
-
Replaces each sequence of one or more retweet units with one space when the sequence starts on a word boundary.
- removeStaleWorkFiles(Path) - Static method in class opennlp.tools.util.ResourceInstaller
-
Removes download files and staging directories that an earlier installation left in the target because its process ended before cleanup.
- removeSuffix(String, HunspellDictionary.Affix) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Undoes one suffix rule: cuts the affix material off the end of the word, restores the strip string the rule removed on application, and checks the rule's condition against the restored stem.
- removeSuffixAllowingIdentity(String, HunspellDictionary.Affix) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Undoes a suffix in a continuation sequence, including a rule that changes no material.
- removeTagsAndHandles(CharSequence) - Method in class opennlp.tools.util.normalizer.SocialMediaCharSequenceNormalizer
-
Replaces each hashtag or handle with one space: a
#or@matches only if a non-whitespace char follows, and the match then swallows the whole non-whitespace run, including further#and@. - repeat - Variable in class opennlp.tools.stemmer.snowball.SnowballStemmerFactory.ConfinedStemmer
- repeat - Variable in class opennlp.tools.stemmer.snowball.SnowballStemmerFactory
- repetition - Variable in class opennlp.tools.stemmer.hunspell.HunspellCompoundRule
- replace(int, int) - Method in class opennlp.tools.util.normalizer.Alignment.Builder
-
Records a rewritten block:
originalCountoriginal characters that producednormalizedCountnormalized characters. - replace_s(int, int, CharSequence) - Method in class opennlp.tools.stemmer.snowball.SnowballProgram
- replacement - Variable in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.CompoundPattern
-
The field for the
replacementrecord component. - replacement - Variable in class opennlp.tools.util.normalizer.CharClass
- replacement() - Method in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.CompoundPattern
-
Returns the value of the
replacementrecord component. - replacement() - Method in class opennlp.tools.util.normalizer.CharClass
-
Returns the canonical replacement code point.
- REPLACEMENT_CHARACTER - Static variable in class opennlp.tools.tokenize.WordpieceEncoder
- REPLACEMENT_TAG - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
The suggestion table whose replacements
CHECKCOMPOUNDREPapplies to compounds. - replacementFor(int, int) - Method in interface opennlp.tools.util.normalizer.CharClass.RunReplacement
-
Returns the replacement for one member run.
- replacements - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary.AffixFile
- replacements - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- replaceNewLineEscapeTags(String) - Static method in class opennlp.tools.sentdetect.SentenceSampleStream
- replaceWhitespaceWithEquals(String) - Method in class opennlp.tools.formats.ad.ADPOSSampleStream
-
Replaces every run of whitespace, leading and trailing runs included, with a single equals sign.
- reportFailedParse - Variable in class opennlp.tools.parser.AbstractBottomUpParser
-
Specifies whether failed parses should be reported to standard error.
- reportMap - Variable in class opennlp.tools.ml.AbstractTrainer
- reportMap - Variable in class opennlp.tools.ml.model.AbstractDataIndexer
- reportMap - Variable in class opennlp.tools.tokenize.BPETokenizerTrainer
- requireAligned(Document, LayerKey<?>, LayerKey<?>) - Static method in class opennlp.tools.document.DocumentAnnotators
-
Verifies that two layers of a document hold the same number of annotations, so the annotation at each position of one belongs to the annotation at the same position of the other.
- requireArguments(List<String>, Object...) - Static method in class opennlp.tools.util.ext.Providers
-
Checks the arguments of a factory method at once, so that a caller sees every missing one.
- requireColumns(float[][], int, String) - Static method in class opennlp.tools.depparse.FeedforwardNetwork
- requireCombinedVocabularySize(int, int, int) - Static method in class opennlp.tools.depparse.FeedforwardDependencyTrainer
-
Checks the combined vocabulary size the network loader allows, so a trained model always loads.
- requiredId(String) - Method in class opennlp.tools.tokenize.WordpieceEncoder
-
Returns the id of a required special token.
- requireDisjoint(String, CodePointSet, String, CodePointSet) - Static method in class opennlp.tools.tokenize.TokenizerCharacterPolicy
-
Throws if
firstandsecondshare a code point. - requireFactory(StemmerFactory) - Static method in class opennlp.tools.stemmer.DelegatingStemmer
-
Validates a factory argument before it is captured by a subclass supplier, so a
nullfactory fails at construction rather than on first use. - requireFile(Path) - Static method in class opennlp.tools.tokenize.lattice.MecabDictionary
-
Checks that a required dictionary file exists.
- requireFinite(double, String) - Static method in class opennlp.tools.util.ParamChecks
-
Returns
valueif it is finite. - requireInsideTarget(Path) - Static method in class opennlp.tools.util.ResourceInstaller
-
Checks that a selected destination stays beneath the target: it must be relative without a root, non-empty, and normalized without a leading
.., so it has no.or..segments. - requireLayers(Document, LayerKey<?>...) - Static method in class opennlp.tools.document.DocumentAnnotators
-
Verifies that a document is present and carries every given layer.
- requireMarkable(InputStream) - Static method in class opennlp.tools.util.archive.TarStream
-
Rejects a stream that cannot be inspected without consuming it.
- requireNonBlank(String, String) - Static method in class opennlp.tools.util.ParamChecks
-
Returns
valueif it is neithernullnor blank. - requireNonEmpty(T, String) - Static method in class opennlp.tools.util.ParamChecks
-
Returns
valueif it is neithernullnor empty. - requireNonEmptyParallelArrays(Object[], String, Object[], String) - Static method in class opennlp.tools.util.ParamChecks
-
Checks two arrays that hold corresponding values.
- requireNonNegative(double, String) - Static method in class opennlp.tools.util.ParamChecks
-
Returns
valueif it is not negative. - requireNonNegative(int, String) - Static method in class opennlp.tools.util.ParamChecks
-
Returns
valueif it is not negative. - requireNonNegative(long, String) - Static method in class opennlp.tools.util.ParamChecks
-
Returns
valueif it is not negative. - requireNonNullArg(T, String) - Static method in class opennlp.tools.util.ParamChecks
-
Returns
valueif it is notnull. - requireNotBothCaseFolds(Dimension) - Method in class opennlp.tools.util.normalizer.TermAnalyzer.Builder
-
Rejects configuring both
TermAnalyzer.Builder.caseFold()andTermAnalyzer.Builder.fullCaseFold(), since full case folding already includes case folding plus the expanding folds. - requireOffset(CharSequence, int) - Static method in class opennlp.tools.util.StringUtil
-
Validates a text and an offset into it.
- requirePositive(double, String) - Static method in class opennlp.tools.util.ParamChecks
-
Returns
valueif it is greater than zero. - requirePositive(int, String) - Static method in class opennlp.tools.util.ParamChecks
-
Returns
valueif it is greater than zero. - requirePositiveFraction(double, String) - Static method in class opennlp.tools.util.ParamChecks
-
Returns
valueif it is in (0, 1]. - requires() - Method in class opennlp.tools.chunker.ChunkerAnnotator
- requires() - Method in interface opennlp.tools.document.DocumentAnnotator
- requires() - Method in class opennlp.tools.lemmatizer.LemmatizerAnnotator
- requires() - Method in class opennlp.tools.namefind.NameFinderAnnotator
- requires() - Method in class opennlp.tools.parser.ParserAnnotator
- requires() - Method in class opennlp.tools.postag.POSTaggerAnnotator
- requires() - Method in class opennlp.tools.stemmer.StemmerAnnotator
- requires() - Method in class opennlp.tools.termvector.TermVectorAnnotator
- requireStorable(String, String) - Static method in class opennlp.tools.depparse.FeedforwardNetwork
-
Checks that a symbol fits the length the
FeedforwardNetwork.Serializerreads back. - requireTextAndParagraph(String) - Static method in class opennlp.tools.formats.ad.ADMetadata
-
Parses the text id and the paragraph id as
ADMetadata.parseTextAndParagraph(String)does. - requireValid(int) - Static method in class opennlp.tools.util.normalizer.CodePointSet
-
Validates that
codePointis a Unicode code point. - requireWithinCellLimit(int, int, int, int) - Static method in class opennlp.tools.depparse.FeedforwardDependencyTrainer
- requireWithinMaxEntries(long, String) - Static method in class opennlp.tools.util.ResourceLimits
-
Checks a count read from a resource against
ResourceLimits.MAX_ENTRIES. - requireWithinMaxEntries(long, String, Function<String, E>) - Static method in class opennlp.tools.util.ResourceLimits
-
Checks a count read from a resource against
ResourceLimits.MAX_ENTRIESand reports a violation through an exception of the caller's choice. - reserve() - Method in class opennlp.tools.depparse.ContributionCache
-
Reserves the bytes of one contribution vector.
- reserveCells(long[], long, String) - Static method in class opennlp.tools.depparse.FeedforwardNetwork.Serializer
-
Reserves float cells before allocating a matrix or vector.
- RESERVED_LABEL_SYMBOLS - Static variable in class opennlp.tools.depparse.FeedforwardNetwork
-
The reserved label symbols, in the order of their embedding rows.
- RESERVED_ROWS - Static variable in class opennlp.tools.depparse.FeedforwardNetwork
-
The embedding rows the reserved symbols of all three vocabularies take.
- RESERVED_TAG_SYMBOLS - Static variable in class opennlp.tools.depparse.FeedforwardNetwork
-
The reserved tag symbols, in the order of their embedding rows.
- RESERVED_WORD_SYMBOLS - Static variable in class opennlp.tools.depparse.FeedforwardNetwork
-
The reserved word symbols, in the order of their embedding rows.
- reset() - Method in class opennlp.tools.chunker.ChunkSampleSequenceStream
- reset() - Method in class opennlp.tools.depparse.DependencyEventStream
-
Repositions the stream at the beginning and the previously seen object sequence will be repeated exactly.
- reset() - Method in class opennlp.tools.formats.ad.ADChunkSampleStream
- reset() - Method in class opennlp.tools.formats.ad.ADNameSampleStream
-
Repositions the stream at the beginning and the previously seen object sequence will be repeated exactly.
- reset() - Method in class opennlp.tools.formats.ad.ADPOSSampleStream
- reset() - Method in class opennlp.tools.formats.ad.ADSentenceSampleStream
- reset() - Method in class opennlp.tools.formats.BioNLP2004NameSampleStream
- reset() - Method in class opennlp.tools.formats.brat.BratAnnotationStream
- reset() - Method in class opennlp.tools.formats.brat.BratDocumentStream
- reset() - Method in class opennlp.tools.formats.Conll02NameSampleStream
- reset() - Method in class opennlp.tools.formats.Conll03NameSampleStream
- reset() - Method in class opennlp.tools.formats.conllu.ConlluDependencySampleStream
-
Repositions the stream at the beginning and the previously seen object sequence will be repeated exactly.
- reset() - Method in class opennlp.tools.formats.conllu.ConlluStream
- reset() - Method in class opennlp.tools.formats.DirectorySampleStream
- reset() - Method in class opennlp.tools.formats.EvalitaNameSampleStream
- reset() - Method in class opennlp.tools.formats.GermEval2014NameSampleStream
- reset() - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankSentenceStream
- reset() - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankTokenSampleStream
- reset() - Method in class opennlp.tools.formats.leipzig.LeipzigLanguageSampleStream
- reset() - Method in class opennlp.tools.formats.leipzig.SampleShuffleStream
- reset() - Method in class opennlp.tools.formats.leipzig.SampleSkipStream
- reset() - Method in class opennlp.tools.formats.letsmt.LetsmtSentenceStream
- reset() - Method in class opennlp.tools.formats.masc.MascDocument
-
Resets the reading of sentences to the beginning of the document.
- reset() - Method in class opennlp.tools.formats.masc.MascDocumentStream
-
Reset the reading of all documents to the first sentence.
- reset() - Method in class opennlp.tools.formats.masc.MascNamedEntitySampleStream
- reset() - Method in class opennlp.tools.formats.masc.MascPOSSampleStream
- reset() - Method in class opennlp.tools.formats.masc.MascSentenceSampleStream
- reset() - Method in class opennlp.tools.formats.masc.MascTokenSampleStream
- reset() - Method in class opennlp.tools.formats.NameFinderCensus90NameStream
- reset() - Method in class opennlp.tools.formats.nkjp.NKJPSentenceSampleStream
- reset() - Method in class opennlp.tools.formats.TwentyNewsgroupSampleStream
- reset() - Method in class opennlp.tools.lemmatizer.LemmaSampleSequenceStream
- reset() - Method in class opennlp.tools.ml.maxent.RealBasicEventStream
- reset() - Method in class opennlp.tools.ml.model.FileEventStream
- reset() - Method in class opennlp.tools.ml.model.SequenceStreamEventStream
- reset() - Method in class opennlp.tools.ml.model.TwoPassDataIndexer.EventStream
- reset() - Method in class opennlp.tools.namefind.NameSampleSequenceStream
- reset() - Method in class opennlp.tools.namefind.TokenNameFinderCrossValidator.NameToDocumentSampleStream
- reset() - Method in class opennlp.tools.postag.POSSampleSequenceStream
- reset() - Method in class opennlp.tools.sentiment.SentimentCrossValidator.SentimentToDocumentSampleStream
-
Performs a reset
- reset() - Method in class opennlp.tools.stemmer.PorterStemmer
-
reset() resets the stemmer so it can stem another word.
- reset() - Method in class opennlp.tools.tokenize.TokenizerStream
- reset() - Method in class opennlp.tools.util.AbstractEventStream
- reset() - Method in class opennlp.tools.util.AbstractObjectStream
- reset() - Method in class opennlp.tools.util.CollectionObjectStream
- reset() - Static method in enum class opennlp.tools.util.CompatibilityMode
-
Discards any override set via
CompatibilityMode.setActive(CompatibilityMode)and re-resolves the active mode from the "opennlp.compat.mode" system property. - reset() - Method in class opennlp.tools.util.eval.CrossValidationPartitioner.TestSampleStream
- reset() - Method in class opennlp.tools.util.eval.CrossValidationPartitioner.TrainingSampleStream
-
Resets the training sample.
- reset() - Method in class opennlp.tools.util.FilterObjectStream
- reset() - Method in class opennlp.tools.util.MarkableFileInputStream
- reset() - Method in interface opennlp.tools.util.ObjectStream
-
Repositions the stream at the beginning and the previously seen object sequence will be repeated exactly.
- reset() - Method in class opennlp.tools.util.PlainTextByLineStream
-
Repositions the stream at the beginning and the previously seen object sequence will be repeated exactly.
- reset() - Method in interface opennlp.tools.util.ResetableIterator
-
Sets the
Iteratorback to the first retrieved element. - reset() - Static method in enum class opennlp.tools.util.WhitespaceMode
-
Discards any override set via
WhitespaceMode.setActive(WhitespaceMode)and re-resolves the active mode from the "opennlp.whitespace.mode" system property. - ResetableIterator<E> - Interface in opennlp.tools.util
-
This interface makes an
Iteratorresettable. - resetOwner - Variable in class opennlp.tools.util.OwnerOrPerThreadState
- resolve() - Method in class opennlp.tools.tokenize.TokenizerFactory
-
Sets the character policy or the alphanumeric pattern from the model manifest if neither is set yet, and falls back to the policy of the language.
- resolve(String[], Map<String, MecabDictionary.Category>, Map<String[], CategoryTable.CategoryAssignment>, int) - Method in class opennlp.tools.tokenize.lattice.CategoryTable.Builder
-
Resolves mapped category names using the defined categories.
- resolveLoader(ClassLoader) - Method in class opennlp.tools.util.ext.Providers
-
Resolves the class loader to look providers up with: the thread context class loader when it sees this SPI, the class loader of the SPI otherwise.
- resolveRedirect(URI, String) - Static method in class opennlp.tools.util.ResourceInstaller
-
Resolves a redirect location against the redirected request and enforces the redirect policy: the target must be an http or https location, and an https request must not be redirected to plain http.
- resource - Variable in record class opennlp.tools.util.ext.Providers.ConfigurationFile
-
The field for the
resourcerecord component. - resource() - Method in record class opennlp.tools.util.ext.Providers.ConfigurationFile
-
Returns the value of the
resourcerecord component. - RESOURCE - Static variable in class opennlp.tools.tokenize.uax29.ExtendedPictographic
- RESOURCE - Static variable in class opennlp.tools.tokenize.uax29.WordBreakProperty
- RESOURCE - Static variable in class opennlp.tools.util.normalizer.Confusables
- RESOURCE - Static variable in class opennlp.tools.util.normalizer.EmojiAnnotations
- RESOURCE - Static variable in class opennlp.tools.util.normalizer.EmojiEmoticons
- RESOURCE - Static variable in class opennlp.tools.util.normalizer.FullCaseFoldCharSequenceNormalizer
- RESOURCE - Static variable in class opennlp.tools.util.normalizer.UnicodeEmojiSequences
- RESOURCE_PATH_PREFIX - Static variable in class opennlp.tools.stopword.StopwordLists
- ResourceAsStreamFactory - Class in opennlp.tools.formats
- ResourceAsStreamFactory(Class<?>, String) - Constructor for class opennlp.tools.formats.ResourceAsStreamFactory
- ResourceInstaller - Class in opennlp.tools.util
-
Fetches a third-party resource, such as a training corpus, a dictionary archive, or a lexicon, into a local directory.
- ResourceInstaller() - Constructor for class opennlp.tools.util.ResourceInstaller
-
Prevents construction of this utility class.
- ResourceInstaller.Budget - Class in opennlp.tools.util
-
A unit budget, counting bytes or archive entries:
ResourceInstaller.Budget.spend(long)accumulates spent units and fails once the limit is crossed. - ResourceInstaller.BudgetInputStream - Class in opennlp.tools.util
-
Charges every byte read or skipped from an expanded stream against a shared budget.
- ResourceInstaller.Limits - Record Class in opennlp.tools.util
-
Safety limits and network behavior for one installation.
- ResourceInstaller.Limits.Builder - Class in opennlp.tools.util
-
Collects limit values and validates them on
ResourceInstaller.Limits.Builder.build(). - ResourceInstaller.StagingStep - Interface in opennlp.tools.util
-
Writes content into the staging directory of
ResourceInstaller.installSelected(Path, StagingStep, Function). - ResourceLimits - Class in opennlp.tools.util
-
Shared upper bounds for counts read from user-supplied resources, so a crafted file cannot force an outsized allocation before validation completes.
- ResourceLimits() - Constructor for class opennlp.tools.util.ResourceLimits
- resourceManager - Variable in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- resourceName - Variable in class opennlp.tools.util.featuregen.WordClusterFeatureGenerator
- resources - Variable in class opennlp.tools.namefind.TokenNameFinderCrossValidator
- resources - Variable in class opennlp.tools.namefind.TokenNameFinderFactory
- resources - Variable in class opennlp.tools.postag.POSTaggerCrossValidator
- resources - Variable in class opennlp.tools.postag.POSTaggerFactory
- result - Variable in class opennlp.tools.stemmer.snowball.Among
- Results(boolean) - Constructor for class opennlp.tools.stemmer.hunspell.HunspellStemmer.Results
-
Selects the output representation.
- rethrowFatal(Throwable) - Method in class opennlp.tools.util.ext.Providers
-
Rethrows a
VirtualMachineError, such as anOutOfMemoryErroror aStackOverflowError, that a provider or a class loader ran into. - ReverseListIterator<T> - Class in opennlp.tools.util
-
An iterator for a list which returns values in the opposite order as the typical list iterator.
- ReverseListIterator(List<T>) - Constructor for class opennlp.tools.util.ReverseListIterator
- revision - Variable in class opennlp.tools.util.Version
- rho - Variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer.UpdateInfo
- RHO - Static variable in class opennlp.tools.ml.maxent.quasinewton.LineSearch
- right - Variable in record class opennlp.tools.tokenize.BPETokenizer.SymbolPair
-
The field for the
rightrecord component. - right - Variable in record class opennlp.tools.tokenize.lattice.DoubleArrayLexicon.Builder.PendingNode
-
The field for the
rightrecord component. - right() - Method in record class opennlp.tools.tokenize.BPETokenizer.SymbolPair
-
Returns the value of the
rightrecord component. - right() - Method in record class opennlp.tools.tokenize.lattice.DoubleArrayLexicon.Builder.PendingNode
-
Returns the value of the
rightrecord component. - RIGHT_ARC - Enum constant in enum class opennlp.tools.depparse.Transition.Type
-
Attaches the top stack token to the second one and removes the top.
- RIGHT_CURLY - Static variable in class opennlp.tools.tokenize.lang.en.TokenSampleStream
- RIGHT_LEFT_MATCHING - Enum constant in enum class opennlp.tools.tokenize.DetokenizationDictionary.Operation
-
Attaches the token to the right token on first occurrence, and to the token on the left side on the second occurrence.
- RIGHT_PAREN - Static variable in class opennlp.tools.tokenize.lang.en.TokenSampleStream
- rightArc(String) - Static method in record class opennlp.tools.depparse.Transition
-
Creates a right-arc transition.
- rightId - Variable in record class opennlp.tools.tokenize.lattice.MecabDictionary.WordEntry
-
The field for the
rightIdrecord component. - rightId() - Method in record class opennlp.tools.tokenize.lattice.MecabDictionary.WordEntry
-
Returns the value of the
rightIdrecord component. - rightmost(ArcStandardState, int) - Static method in class opennlp.tools.depparse.FeedforwardContext
- rightmostDependent(int) - Method in class opennlp.tools.depparse.ArcStandardState
-
Retrieves the rightmost dependent attached to a token so far.
- rightmostDependents - Variable in class opennlp.tools.depparse.ArcStandardState
- rightSize - Variable in class opennlp.tools.tokenize.lattice.MecabDictionary
- ROBERTA_CLS_TOKEN - Static variable in class opennlp.tools.tokenize.WordpieceTokenizer
-
RoBERTa classification token:
<s>. - ROBERTA_SEP_TOKEN - Static variable in class opennlp.tools.tokenize.WordpieceTokenizer
-
RoBERTa separator token.
- ROBERTA_UNK_TOKEN - Static variable in class opennlp.tools.tokenize.WordpieceTokenizer
-
RoBERTa unknown token.
- ROMANIAN - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- romanianStemmer - Class in opennlp.tools.stemmer.snowball
-
This class implements the stemming algorithm defined by a snowball script.
- romanianStemmer() - Constructor for class opennlp.tools.stemmer.snowball.romanianStemmer
- root - Variable in class opennlp.tools.depparse.DependencyTree
- root - Variable in record class opennlp.tools.formats.ad.ADSentenceStream.Sentence
-
The field for the
rootrecord component. - root - Variable in record class opennlp.tools.stemmer.hunspell.HunspellStemmer.CompoundPart
-
The field for the
rootrecord component. - root - Variable in class opennlp.tools.tokenize.WordpieceEncoder.VocabularyTrie
- root - Variable in class opennlp.tools.util.normalizer.UnicodeEmojiSequences
- root() - Method in class opennlp.tools.depparse.DependencyTree
- root() - Method in record class opennlp.tools.formats.ad.ADSentenceStream.Sentence
-
Returns the value of the
rootrecord component. - root() - Method in record class opennlp.tools.stemmer.hunspell.HunspellStemmer.CompoundPart
-
Returns the value of the
rootrecord component. - ROOT - Static variable in class opennlp.tools.depparse.ArcStandardState
-
The stack value representing the artificial root node.
- ROOT - Static variable in class opennlp.tools.tokenize.lattice.DoubleArrayLexicon.Builder
- ROOT_HEAD - Static variable in record class opennlp.tools.depparse.DependencyArc
-
The
headvalue marking an arc from the artificial root node. - ROOT_HEAD_ID - Static variable in class opennlp.tools.formats.conllu.ConlluDependencySampleStream
-
The HEAD column value of the root word, which has no governing word.
- ROOT_OFFSET - Static variable in class opennlp.tools.depparse.FeedforwardNetwork
-
The embedding row of the root symbol in the word and tag blocks.
- ROOT_VALUE - Static variable in class opennlp.tools.depparse.DependencyContextGenerator
-
The feature value standing for the artificial root position.
- rootTagRow() - Method in class opennlp.tools.depparse.FeedforwardNetwork
- rootWordRow() - Method in class opennlp.tools.depparse.FeedforwardNetwork
- Rule(String, String, boolean, boolean) - Constructor for record class opennlp.tools.stemmer.hunspell.HunspellConversion.Rule
-
Creates an instance of a
Rulerecord class. - ruleParts(String, String, boolean) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Finds selected dictionary entries for a compound-rule part.
- rules - Variable in class opennlp.tools.parser.AbstractParserEventStream
- rules - Variable in class opennlp.tools.stemmer.hunspell.HunspellConversion
- RUSSIAN - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- russianStemmer - Class in opennlp.tools.stemmer.snowball
-
This class implements the stemming algorithm defined by a snowball script.
- russianStemmer() - Constructor for class opennlp.tools.stemmer.snowball.russianStemmer
S
- s - Variable in record class opennlp.tools.langdetect.LanguageDetectorME.StringCPLengthPair
-
The field for the
srecord component. - s - Variable in class opennlp.tools.stemmer.snowball.Among
- s() - Method in record class opennlp.tools.langdetect.LanguageDetectorME.StringCPLengthPair
-
Returns the value of the
srecord component. - S - Variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer.UpdateInfo
- S_ch - Variable in class opennlp.tools.stemmer.snowball.danishStemmer
- S_x - Variable in class opennlp.tools.stemmer.snowball.finnishStemmer
- S0_DEPENDENTS - Static variable in class opennlp.tools.depparse.DependencyContextGenerator
-
Feature prefix: dependent count of the stack top.
- S0_LEFT_DEPENDENT_RELATION - Static variable in class opennlp.tools.depparse.DependencyContextGenerator
-
Feature prefix: relation of the leftmost dependent of the stack top.
- S0_LEFT_DEPENDENT_TAG - Static variable in class opennlp.tools.depparse.DependencyContextGenerator
-
Feature prefix: tag of the leftmost dependent of the stack top.
- S0_RIGHT_DEPENDENT_RELATION - Static variable in class opennlp.tools.depparse.DependencyContextGenerator
-
Feature prefix: relation of the rightmost dependent of the stack top.
- S0_RIGHT_DEPENDENT_TAG - Static variable in class opennlp.tools.depparse.DependencyContextGenerator
-
Feature prefix: tag of the rightmost dependent of the stack top.
- S0_TAG - Static variable in class opennlp.tools.depparse.DependencyContextGenerator
-
Feature prefix: the tag on top of the stack.
- S0_TAG_B0_TAG - Static variable in class opennlp.tools.depparse.DependencyContextGenerator
-
Feature prefix: stack top tag with first buffer tag.
- S0_TAG_B0_TAG_B1_TAG - Static variable in class opennlp.tools.depparse.DependencyContextGenerator
-
Feature prefix: stack top, first and second buffer tags.
- S0_TAG_B0_WORD - Static variable in class opennlp.tools.depparse.DependencyContextGenerator
-
Feature prefix: stack top tag with first buffer word.
- S0_TAG_S0_LEFT_DEPENDENT_TAG_B0_TAG - Static variable in class opennlp.tools.depparse.DependencyContextGenerator
-
Feature prefix: stack top tag, its leftmost dependent tag, and first buffer tag.
- S0_WORD - Static variable in class opennlp.tools.depparse.DependencyContextGenerator
-
Feature prefix: the word on top of the stack.
- S0_WORD_B0_TAG - Static variable in class opennlp.tools.depparse.DependencyContextGenerator
-
Feature prefix: stack top word with first buffer tag.
- S0_WORD_B0_WORD - Static variable in class opennlp.tools.depparse.DependencyContextGenerator
-
Feature prefix: stack top word with first buffer word.
- S0_WORD_TAG - Static variable in class opennlp.tools.depparse.DependencyContextGenerator
-
Feature prefix: word and tag on top of the stack.
- S0_WORD_TAG_B0_TAG - Static variable in class opennlp.tools.depparse.DependencyContextGenerator
-
Feature prefix: stack top word and tag with first buffer tag.
- S1_DEPENDENTS - Static variable in class opennlp.tools.depparse.DependencyContextGenerator
-
Feature prefix: dependent count of the second stack position.
- S1_LEFT_DEPENDENT_TAG - Static variable in class opennlp.tools.depparse.DependencyContextGenerator
-
Feature prefix: tag of the leftmost dependent of the second stack position.
- S1_RIGHT_DEPENDENT_RELATION - Static variable in class opennlp.tools.depparse.DependencyContextGenerator
-
Feature prefix: relation of the rightmost dependent of the second stack position.
- S1_RIGHT_DEPENDENT_TAG - Static variable in class opennlp.tools.depparse.DependencyContextGenerator
-
Feature prefix: tag of the rightmost dependent of the second stack position.
- S1_TAG - Static variable in class opennlp.tools.depparse.DependencyContextGenerator
-
Feature prefix: the second stack tag.
- S1_TAG_S0_TAG - Static variable in class opennlp.tools.depparse.DependencyContextGenerator
-
Feature prefix: second stack tag with stack top tag.
- S1_TAG_S0_TAG_B0_TAG - Static variable in class opennlp.tools.depparse.DependencyContextGenerator
-
Feature prefix: second stack, stack top and first buffer tags.
- S1_TAG_S0_WORD - Static variable in class opennlp.tools.depparse.DependencyContextGenerator
-
Feature prefix: second stack tag with stack top word.
- S1_TAG_S1_RIGHT_DEPENDENT_TAG_S0_TAG - Static variable in class opennlp.tools.depparse.DependencyContextGenerator
-
Feature prefix: second stack tag, its rightmost dependent tag, and stack top tag.
- S1_WORD - Static variable in class opennlp.tools.depparse.DependencyContextGenerator
-
Feature prefix: the second stack word.
- S1_WORD_S0_TAG - Static variable in class opennlp.tools.depparse.DependencyContextGenerator
-
Feature prefix: second stack word with stack top tag.
- S1_WORD_TAG - Static variable in class opennlp.tools.depparse.DependencyContextGenerator
-
Feature prefix: word and tag of the second stack position.
- S2_TAG - Static variable in class opennlp.tools.depparse.DependencyContextGenerator
-
Feature prefix: the third stack tag.
- S2_TAG_S1_TAG_S0_TAG - Static variable in class opennlp.tools.depparse.DependencyContextGenerator
-
Feature prefix: the three topmost stack tags.
- safeChild(Path, String) - Static method in class opennlp.tools.util.ResourceInstaller
-
Resolves an archive entry inside the staging directory, rejecting escaping paths.
- SAME_PRIORITY - Static variable in class opennlp.tools.util.ext.Providers
- sample - Variable in record class opennlp.tools.depparse.FeedforwardDependencyTrainer.Derivation
-
The field for the
samplerecord component. - sample() - Method in record class opennlp.tools.depparse.FeedforwardDependencyTrainer.Derivation
-
Returns the value of the
samplerecord component. - Sample - Interface in opennlp.tools.commons
-
Represents a generic type of processable elements.
- sampleIt - Variable in class opennlp.tools.formats.brat.SegmenterObjectStream
- sampleIt - Variable in class opennlp.tools.formats.leipzig.SampleShuffleStream
- samples - Variable in class opennlp.tools.chunker.ChunkSampleSequenceStream
- samples - Variable in class opennlp.tools.depparse.DependencyEventStream
- samples - Variable in class opennlp.tools.formats.leipzig.SampleSkipStream
- samples - Variable in class opennlp.tools.lemmatizer.LemmaSampleSequenceStream
- samples - Variable in record class opennlp.tools.namefind.TokenNameFinderCrossValidator.DocumentSample
-
The field for the
samplesrecord component. - samples - Variable in class opennlp.tools.sentiment.SentimentCrossValidator.DocumentSample
- samples - Variable in class opennlp.tools.util.AbstractEventStream
- samples - Variable in class opennlp.tools.util.FilterObjectStream
- samples() - Method in record class opennlp.tools.namefind.TokenNameFinderCrossValidator.DocumentSample
-
Returns the value of the
samplesrecord component. - SampleShuffleStream<T> - Class in opennlp.tools.formats.leipzig
-
A specialization of
ObjectStreamthat shuffles samples. - SampleShuffleStream(ObjectStream<T>) - Constructor for class opennlp.tools.formats.leipzig.SampleShuffleStream
-
Initializes a
SampleShuffleStreamwith the specified parameters. - SampleSkipStream<T> - Class in opennlp.tools.formats.leipzig
-
A specialization of
ObjectStreamthat skips a number of samples. - SampleSkipStream(ObjectStream<T>, int) - Constructor for class opennlp.tools.formats.leipzig.SampleSkipStream
-
Initializes a
SampleSkipStreamwith the specified parameters. - samplesToSkip - Variable in class opennlp.tools.formats.leipzig.SampleSkipStream
- sampleStream - Variable in class opennlp.tools.formats.leipzig.LeipzigLanguageSampleStream
- sampleStream - Variable in class opennlp.tools.util.eval.CrossValidationPartitioner
-
An
streamover the whole set of data samples which are used for the cross validation. - sampleStream - Variable in class opennlp.tools.util.eval.CrossValidationPartitioner.TestSampleStream
- sampleStream - Variable in class opennlp.tools.util.eval.CrossValidationPartitioner.TrainingSampleStream
- saxParser - Variable in class opennlp.tools.formats.frenchtreebank.ConstitParseSampleStream
- saxParser - Variable in class opennlp.tools.formats.masc.MascDocumentStream
- SB - Variable in class opennlp.tools.postag.DefaultPOSContextGenerator
- SB - Static variable in class opennlp.tools.util.featuregen.PosTaggerFeatureGenerator
- scanLeafEnd(String, int, ADSentenceStream.SentenceParser.LineScan) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
-
Scans the end of a leaf line: optional whitespace, an optional morphological tag up to the first closing parenthesis, that parenthesis, whitespace, and the lexeme.
- scanLevelAndTag(String, int, char, int) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
-
Scans the tag at the start of a line after the level prefix.
- scanLexemeStart(String, int) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
-
Finds the lexeme after the closing parenthesis: whitespace, then the rest of the line.
- scanLock - Variable in class opennlp.tools.models.AbstractClassPathModelFinder
- scanModels() - Method in class opennlp.tools.models.AbstractClassPathModelFinder
-
Scans the classpath for models and pairs each model with the
model.propertiesof its jar. - scanner - Variable in class opennlp.tools.sentdetect.SDEventStream
- scanner - Variable in class opennlp.tools.sentdetect.SentenceDetectorME
-
The
EndOfSentenceScannerto use when scanning for end of sentence offsets. - scanSecondaryTags(String, int, ADSentenceStream.SentenceParser.LineScan) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
-
Scans secondary tags and the end of a leaf line after them.
- scanTag(String, int, char) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
-
Scans a tag: one or more characters other than a colon or an equals sign, the separator, and one or more characters that are neither an opening parenthesis nor whitespace.
- scanTextAndParagraph(String) - Static method in class opennlp.tools.formats.ad.ADMetadata
-
Scans the text id and the paragraph id, see
ADMetadata.parseTextAndParagraph(String). - SCHEME_BODY - Static variable in class opennlp.tools.util.normalizer.UrlCharSequenceNormalizer
-
The characters a scheme continues with after its first letter, per RFC 3986.
- SCHEME_FILE - Static variable in class opennlp.tools.util.ResourceInstaller
- SCHEME_HTTP - Static variable in class opennlp.tools.util.ResourceInstaller
- SCHEME_HTTPS - Static variable in class opennlp.tools.util.ResourceInstaller
- SCHEME_NEIGHBORS - Static variable in class opennlp.tools.util.normalizer.UrlCharSequenceNormalizer
-
Code points that, before the scheme, make it part of a larger token.
- SCHEME_SEPARATOR - Static variable in class opennlp.tools.util.normalizer.UrlCharSequenceNormalizer
- schemeEnd(CharSequence, int) - Method in class opennlp.tools.util.normalizer.UrlCharSequenceNormalizer
-
Finds the end of a scheme and its separator that start at an index.
- SCIENTIFIC_PREFIX - Static variable in class opennlp.tools.formats.ad.ADNameSampleStream
- scope - Variable in class opennlp.tools.document.LayerKey
- scope() - Method in class opennlp.tools.document.LayerKey
- Scope() - Constructor for enum class opennlp.tools.document.LayerKey.Scope
- score - Variable in class opennlp.tools.depparse.ArcStandardBeam.Node
- score - Variable in class opennlp.tools.ml.BeamSearch.SearchNode
- score - Variable in class opennlp.tools.util.Sequence
- score(int[], ContributionCache, double[], double[]) - Method in class opennlp.tools.depparse.FeedforwardNetwork
-
Scores every transition for a configuration described by embedding rows.
- scoreMap - Variable in class opennlp.tools.entitylinker.BaseLink
- scoreMap(String[]) - Method in interface opennlp.tools.doccat.DocumentCategorizer
-
Retrieves a
Mapin which the key is the category name and the value is the score. - scoreMap(String[]) - Method in class opennlp.tools.doccat.DocumentCategorizerME
- scores - Variable in class opennlp.tools.depparse.DependencyCrossValidator
- scores - Variable in class opennlp.tools.depparse.DependencyEvaluator
- scores - Variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer.Optimizer
- scores() - Method in class opennlp.tools.depparse.DependencyEvaluator
- SCORING_ONLY - Enum constant in enum class opennlp.tools.termvector.TermVectorAnnotator.Mode
-
Counts occurrences only; the emitted
term vectorscarry no spans, so scoring-only consumers do not pay for offset storage. - scriptType(int) - Static method in enum class opennlp.tools.tokenize.uax29.WordType
- SDContextGenerator - Interface in opennlp.tools.sentdetect
-
Interface for
SentenceDetectorcontext generators. - SDCrossValidator - Class in opennlp.tools.sentdetect
-
A cross validator for
sentence detectors. - SDCrossValidator(String, TrainingParameters, SentenceDetectorFactory, SentenceDetectorEvaluationMonitor...) - Constructor for class opennlp.tools.sentdetect.SDCrossValidator
- SDEventStream - Class in opennlp.tools.sentdetect
- SDEventStream(ObjectStream<SentenceSample>, SDContextGenerator, EndOfSentenceScanner) - Constructor for class opennlp.tools.sentdetect.SDEventStream
-
Initializes the current instance.
- sdFactory - Variable in class opennlp.tools.sentdetect.SDCrossValidator
- SE - Variable in class opennlp.tools.postag.DefaultPOSContextGenerator
- search(String, String, int[], int, List<HunspellStemmer.CompoundPart>, HunspellStemmer.Results, int[], List<HunspellStemmer.Junction>, byte[]) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Extends a partial decomposition with the part starting at
fromPoint, trying every admissible length and recursing on the remainder. - SearchNode() - Constructor for class opennlp.tools.ml.BeamSearch.SearchNode
-
Creates the root node: the empty candidate with score
0. - SearchNode(BeamSearch.SearchNode, String, double) - Constructor for class opennlp.tools.ml.BeamSearch.SearchNode
-
Creates a candidate extending
parentby one outcome. - searchRule(String, String, int, HunspellCompoundRule, List<HunspellStemmer.CompoundPart>, List<int[]>, HunspellStemmer.Results, int[]) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Searches compound-rule paths without combining flags from different homonyms.
- searchSpelling(String, String, HunspellStemmer.Results, int[], List<HunspellStemmer.Junction>) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Searches one spelling, optionally requiring a restored compound junction.
- searchTerm - Variable in class opennlp.tools.entitylinker.LinkedSpan
- searchTriples(String, String, int, List<HunspellStemmer.Junction>, HunspellStemmer.Results, int[]) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Restores simplified triple letters at independently checked boundaries.
- secondaryTag - Variable in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
- secondPredictionPrefix - Variable in class opennlp.tools.chunker.DefaultChunkerContextGenerator
- seed - Variable in record class opennlp.tools.depparse.FeedforwardDependencyTrainer.Settings
-
The field for the
seedrecord component. - seed() - Method in record class opennlp.tools.depparse.FeedforwardDependencyTrainer.Settings
-
Returns the value of the
seedrecord component. - SEED_PARAM - Static variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer
-
The training parameter key of the random seed, read as an
int; default 17. - seen - Variable in class opennlp.tools.ml.model.ComparableEvent
- seenEnough(List<Language[]>, Language[], Map<CharSequence, MutableInt>, LanguageDetectorConfig) - Method in class opennlp.tools.langdetect.LanguageDetectorME
-
Overriding this for different behavior to determine if there is enough confidence in the predictions to stop.
- SEG - Static variable in class opennlp.tools.formats.nkjp.NKJPSegmentationDocument
- SegmenterObjectStream<S,
T> - Class in opennlp.tools.formats.brat - SegmenterObjectStream(ObjectStream<S>) - Constructor for class opennlp.tools.formats.brat.SegmenterObjectStream
- segmentIt - Variable in class opennlp.tools.formats.nkjp.NKJPSentenceSampleStream
- segments - Variable in class opennlp.tools.formats.nkjp.NKJPSegmentationDocument
- segments - Variable in class opennlp.tools.formats.nkjp.NKJPSentenceSampleStream
- segments(CharSequence) - Static method in class opennlp.tools.tokenize.uax29.WordSegmenter
-
Returns the word segments of
textas spans between consecutive boundaries. - select(ProviderSpec) - Method in class opennlp.tools.util.ext.Providers
- selected - Variable in class opennlp.tools.util.eval.FMeasure
-
|selected| = true positives + false positives
the count of selected (or retrieved) items. - sent - Variable in class opennlp.tools.formats.ad.ADSentenceSampleStream
- SENT_ELEMENT_NAME - Static variable in class opennlp.tools.formats.frenchtreebank.ConstitDocumentHandler
- SENT_TYPE_NAME - Static variable in class opennlp.tools.formats.frenchtreebank.ConstitDocumentHandler
- sentDetect(CharSequence) - Method in class opennlp.tools.sentdetect.NewlineSentenceDetector
- sentDetect(CharSequence) - Method in interface opennlp.tools.sentdetect.SentenceDetector
-
Detects sentences in a character sequence.
- sentDetect(CharSequence) - Method in class opennlp.tools.sentdetect.SentenceDetectorME
-
Detects sentences in given input
CharSequence.. - sentDetect(CharSequence) - Method in class opennlp.tools.sentdetect.ThreadSafeSentenceDetectorME
-
Deprecated.
- sentDetector - Variable in class opennlp.tools.formats.brat.BratDocumentParser
- sentence - Variable in class opennlp.tools.chunker.ChunkSample
- sentence - Variable in class opennlp.tools.namefind.NameSample
- sentence - Variable in class opennlp.tools.postag.POSSample
- sentence - Variable in class opennlp.tools.sentiment.SentimentSample
- Sentence(String, ADSentenceStream.SentenceParser.Node, String) - Constructor for record class opennlp.tools.formats.ad.ADSentenceStream.Sentence
-
Creates an instance of a
Sentencerecord class. - SENTENCE_DETECTOR - Enum constant in enum class opennlp.tools.models.ModelType
- SENTENCE_ELEMENT - Static variable in class opennlp.tools.formats.muc.MucElementNames
- SENTENCE_TAG - Static variable in class opennlp.tools.formats.ad.ADSentenceStream
- sentenceAnchors - Variable in class opennlp.tools.formats.masc.MascSentenceParser
- SentenceContextGenerator - Class in opennlp.tools.sentdetect.lang.th
-
Creates contexts/features for end-of-sentence detection in Thai text.
- SentenceContextGenerator() - Constructor for class opennlp.tools.sentdetect.lang.th.SentenceContextGenerator
- sentenceDetector - Variable in class opennlp.tools.sentdetect.SentenceDetectorEvaluator
-
The
SentenceDetectorused to predict sentences. - SentenceDetector - Interface in opennlp.tools.sentdetect
-
The interface for sentence detectors, which find the sentence boundaries in a text.
- SentenceDetectorAnnotator - Class in opennlp.tools.sentdetect
-
Adapts a
SentenceDetectorto the document pipeline: providesLayers.SENTENCESfrom the document text. - SentenceDetectorAnnotator(SentenceDetector) - Constructor for class opennlp.tools.sentdetect.SentenceDetectorAnnotator
-
Initializes the adapter.
- SentenceDetectorEvaluationMonitor - Interface in opennlp.tools.sentdetect
- SentenceDetectorEvaluator - Class in opennlp.tools.sentdetect
-
The
SentenceDetectorEvaluatormeasures the performance of the givenSentenceDetectorwith the provided referenceSentenceSamples. - SentenceDetectorEvaluator(SentenceDetector, SentenceDetectorEvaluationMonitor...) - Constructor for class opennlp.tools.sentdetect.SentenceDetectorEvaluator
-
Initializes the current instance.
- SentenceDetectorFactory - Class in opennlp.tools.sentdetect
-
The factory that provides
SentenceDetectordefault implementations and resources - SentenceDetectorFactory() - Constructor for class opennlp.tools.sentdetect.SentenceDetectorFactory
-
Creates a
SentenceDetectorFactorythat provides the default implementation of the resources. - SentenceDetectorFactory(String, boolean, Dictionary, char[]) - Constructor for class opennlp.tools.sentdetect.SentenceDetectorFactory
-
Creates a
SentenceDetectorFactory. - SentenceDetectorME - Class in opennlp.tools.sentdetect
-
A sentence detector for splitting up raw text into sentences.
- SentenceDetectorME(String) - Constructor for class opennlp.tools.sentdetect.SentenceDetectorME
-
Initializes the sentence detector by downloading a default model.
- SentenceDetectorME(SentenceModel) - Constructor for class opennlp.tools.sentdetect.SentenceDetectorME
-
Initializes the current instance.
- SentenceDetectorME(SentenceModel, Dictionary) - Constructor for class opennlp.tools.sentdetect.SentenceDetectorME
-
Instantiates a
SentenceDetectorMEwith an existingSentenceModel. - SentenceDetectorME(SentenceModel, Factory) - Constructor for class opennlp.tools.sentdetect.SentenceDetectorME
-
Deprecated.Use a
SentenceDetectorFactoryto extend SentenceDetector functionality. - SentenceDetectorME.AbbreviationIndex - Class in opennlp.tools.sentdetect
-
An immutable, length-bucketed index over an abbreviation
Dictionary. - SentenceDetectorME.SentenceDetectorState - Class in opennlp.tools.sentdetect
- SentenceDetectorState() - Constructor for class opennlp.tools.sentdetect.SentenceDetectorME.SentenceDetectorState
- SentenceFeatureGenerator - Class in opennlp.tools.util.featuregen
-
This feature generator creates sentence begin and end features.
- SentenceFeatureGenerator(boolean, boolean) - Constructor for class opennlp.tools.util.featuregen.SentenceFeatureGenerator
- SentenceFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
A
GeneratorFactorythat producesSentenceFeatureGeneratorinstances whenSentenceFeatureGeneratorFactory.create()is called. - SentenceFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.SentenceFeatureGeneratorFactory
- sentenceid - Variable in class opennlp.tools.entitylinker.LinkedSpan
- sentenceIdComment - Variable in class opennlp.tools.formats.conllu.ConlluSentence
- sentenceIt - Variable in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankSentenceStream
- sentenceIt - Variable in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankTokenSampleStream
- sentenceIt - Variable in class opennlp.tools.formats.letsmt.LetsmtSentenceStream
- sentenceIterator - Variable in class opennlp.tools.formats.masc.MascDocument
- SentenceModel - Class in opennlp.tools.sentdetect
-
The
SentenceModelis the model used by a learnableSentenceDetector. - SentenceModel(File) - Constructor for class opennlp.tools.sentdetect.SentenceModel
-
Initializes a
SentenceModelinstance via a validFile. - SentenceModel(InputStream) - Constructor for class opennlp.tools.sentdetect.SentenceModel
-
Initializes a
SentenceModelinstance via a validInputStream. - SentenceModel(String, MaxentModel, Map<String, String>, SentenceDetectorFactory) - Constructor for class opennlp.tools.sentdetect.SentenceModel
-
Initializes a
SentenceModelinstance via given parameters. - SentenceModel(URL) - Constructor for class opennlp.tools.sentdetect.SentenceModel
-
Initializes a
SentenceModelinstance via a validURL. - SentenceModel(Path) - Constructor for class opennlp.tools.sentdetect.SentenceModel
-
Initializes a
SentenceModelinstance via a validPath. - SentenceParser() - Constructor for class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
- sentences - Variable in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument
- sentences - Variable in class opennlp.tools.formats.letsmt.LetsmtDocument.LetsmtDocumentHandler
- sentences - Variable in class opennlp.tools.formats.letsmt.LetsmtDocument
- sentences - Variable in class opennlp.tools.formats.masc.MascDocument
- sentences - Variable in class opennlp.tools.sentdetect.SentenceSample
- SENTENCES - Static variable in class opennlp.tools.document.Layers
-
Sentence boundaries; each annotation covers one sentence and carries its text.
- SentenceSample - Class in opennlp.tools.sentdetect
-
A
SentenceSamplecontains a document with begin indexes of the individual sentences. - SentenceSample(CharSequence, Span...) - Constructor for class opennlp.tools.sentdetect.SentenceSample
-
Initializes the current instance.
- SentenceSample(Detokenizer, String[][]) - Constructor for class opennlp.tools.sentdetect.SentenceSample
- SentenceSampleStream - Class in opennlp.tools.sentdetect
-
This class is a stream filter which reads a sentence by line samples from an
ObjectStreamand converts them intoSentenceSampleobjects. - SentenceSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.sentdetect.SentenceSampleStream
- SentenceSampleStreamFactory - Class in opennlp.tools.formats
-
Factory producing OpenNLP
SentenceSampleStreams. - SentenceSampleStreamFactory(Class<SentenceSampleStreamFactory.Parameters>) - Constructor for class opennlp.tools.formats.SentenceSampleStreamFactory
- SentenceSampleStreamFactory.Parameters - Interface in opennlp.tools.formats
- sentencesFiles - Variable in class opennlp.tools.formats.leipzig.LeipzigLanguageSampleStream
- sentencesFilesIt - Variable in class opennlp.tools.formats.leipzig.LeipzigLanguageSampleStream
- sentencesPerSample - Variable in class opennlp.tools.formats.conllu.ConlluSentenceSampleStream
- sentencesPerSample - Variable in class opennlp.tools.formats.leipzig.LeipzigLanguageSampleStream
- sentencesPerSample - Variable in class opennlp.tools.formats.masc.MascSentenceSampleStream
- sentenceStream - Variable in class opennlp.tools.formats.conllu.ConlluStream
- sentenceTokens - Variable in class opennlp.tools.formats.masc.MascSentence
- sentiment - Variable in class opennlp.tools.sentiment.SentimentEvaluator
- sentiment - Variable in class opennlp.tools.sentiment.SentimentSample
- sentiment() - Method in record class opennlp.tools.util.normalizer.EmojiAnnotation
-
Returns the project-authored coarse sentiment score in -2..2, or empty when not annotated.
- SENTIMENT - Static variable in record class opennlp.tools.util.normalizer.EmojiAnnotation
-
The attribute key of the project-authored coarse sentiment score, an integer in -2..2.
- SENTIMENT_MODEL_ENTRY_NAME - Static variable in class opennlp.tools.sentiment.SentimentModel
- SentimentContextGenerator - Class in opennlp.tools.sentiment
-
Class for using a Context Generator for Sentiment Analysis.
- SentimentContextGenerator() - Constructor for class opennlp.tools.sentiment.SentimentContextGenerator
- SentimentContextGenerator(AdaptiveFeatureGenerator[]) - Constructor for class opennlp.tools.sentiment.SentimentContextGenerator
- SentimentCrossValidator - Class in opennlp.tools.sentiment
-
Class for performing cross validation on the Sentiment Analysis Parser.
- SentimentCrossValidator(String, TrainingParameters, SentimentFactory, SentimentEvaluationMonitor[]) - Constructor for class opennlp.tools.sentiment.SentimentCrossValidator
-
Constructor
- SentimentCrossValidator.DocumentSample - Class in opennlp.tools.sentiment
-
Class for creating a document sample
- SentimentCrossValidator.DocumentToSentimentSampleStream - Class in opennlp.tools.sentiment
-
Splits DocumentSample into SentimentSamples.
- SentimentCrossValidator.SentimentToDocumentSampleStream - Class in opennlp.tools.sentiment
-
Reads Sentiment Samples to group them as a document based on the clear adaptive data flag.
- SentimentDetector - Interface in opennlp.tools.sentiment
- SentimentEvaluationMonitor - Interface in opennlp.tools.sentiment
-
An sentiment specific
EvaluationMonitorto be used by the evaluator. - SentimentEvaluator - Class in opennlp.tools.sentiment
-
The
SentimentEvaluatormeasures the performance of the givenSentimentMEwith the provided referenceSentimentSamples. - SentimentEvaluator(SentimentME, SentimentEvaluationMonitor...) - Constructor for class opennlp.tools.sentiment.SentimentEvaluator
-
Initializes the current instance.
- SentimentEventStream - Class in opennlp.tools.sentiment
-
Class for creating events for Sentiment Analysis that is later sent to MaxEnt.
- SentimentEventStream(ObjectStream<SentimentSample>, SentimentContextGenerator) - Constructor for class opennlp.tools.sentiment.SentimentEventStream
-
Instantiates a
event stream. - SentimentFactory - Class in opennlp.tools.sentiment
-
Class for creating sentiment factories for training.
- SentimentFactory() - Constructor for class opennlp.tools.sentiment.SentimentFactory
- SentimentME - Class in opennlp.tools.sentiment
-
A
SentimentDetectorimplementation for creating and using maximum-entropy-based Sentiment Analysis models. - SentimentME(SentimentModel) - Constructor for class opennlp.tools.sentiment.SentimentME
-
Instantiates a
SentimentMEwith the specified model. - SentimentModel - Class in opennlp.tools.sentiment
-
Class for the basis of the Sentiment Analysis model.
- SentimentModel(File) - Constructor for class opennlp.tools.sentiment.SentimentModel
-
Instantiates a
SentimentModelmodel via aFilereference. - SentimentModel(InputStream) - Constructor for class opennlp.tools.sentiment.SentimentModel
-
Instantiates a
SentimentModelmodel via aInputStreamreference. - SentimentModel(String, MaxentModel, Map<String, String>, SentimentFactory) - Constructor for class opennlp.tools.sentiment.SentimentModel
-
Instantiates a
SentimentModelmodel. - SentimentModel(URL) - Constructor for class opennlp.tools.sentiment.SentimentModel
-
Instantiates a
SentimentModelmodel via aURLreference. - SentimentSample - Class in opennlp.tools.sentiment
-
Class for holding text used for sentiment analysis.
- SentimentSample(String, String[]) - Constructor for class opennlp.tools.sentiment.SentimentSample
-
Instantiates a
SentimentSampleobject. - SentimentSample(String, String[], boolean) - Constructor for class opennlp.tools.sentiment.SentimentSample
- SentimentSampleStream - Class in opennlp.tools.sentiment
-
Class for converting Strings through Data Stream to
SentimentSampleusing tokenised text. - SentimentSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.sentiment.SentimentSampleStream
-
Instantiates a
SentimentSampleStreamobject. - SentimentSampleStreamFactory<P> - Class in opennlp.tools.formats
-
Factory for creating a sample stream factory for sentiment analysis.
- SentimentSampleStreamFactory(Class<P>) - Constructor for class opennlp.tools.formats.SentimentSampleStreamFactory
-
Instantiates a
SentimentSampleStreamFactoryobject. - SentimentSampleTypeFilter - Class in opennlp.tools.sentiment
-
Class for creating a type filter.
- SentimentSampleTypeFilter(String[], ObjectStream<SentimentSample>) - Constructor for class opennlp.tools.sentiment.SentimentSampleTypeFilter
-
Constructor
- SentimentSampleTypeFilter(Set<String>, ObjectStream<SentimentSample>) - Constructor for class opennlp.tools.sentiment.SentimentSampleTypeFilter
-
Instantiates a
SentimentSampleTypeFilterobject. - SentimentToDocumentSampleStream(ObjectStream<SentimentSample>) - Constructor for class opennlp.tools.sentiment.SentimentCrossValidator.SentimentToDocumentSampleStream
-
Constructor
- sentPosDetect(CharSequence) - Method in class opennlp.tools.sentdetect.NewlineSentenceDetector
- sentPosDetect(CharSequence) - Method in interface opennlp.tools.sentdetect.SentenceDetector
-
Detects sentences in a character sequence.
- sentPosDetect(CharSequence) - Method in class opennlp.tools.sentdetect.SentenceDetectorME
-
Detects the position of the first words of sentences in a
CharSequence. - sentPosDetect(CharSequence) - Method in class opennlp.tools.sentdetect.ThreadSafeSentenceDetectorME
-
Deprecated.
- sentProbs - Variable in class opennlp.tools.sentdetect.SentenceDetectorME.SentenceDetectorState
- separator - Variable in record class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Tag
-
The field for the
separatorrecord component. - separator - Variable in class opennlp.tools.ml.maxent.BasicContextGenerator
-
The separator, or
nullto split on whitespace. - separator - Variable in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.WordBreak
-
The field for the
separatorrecord component. - separator() - Method in record class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Tag
-
Returns the value of the
separatorrecord component. - separator() - Method in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.WordBreak
-
Returns the value of the
separatorrecord component. - SEPARATOR - Static variable in record class opennlp.tools.depparse.Transition
-
Separates the type name from the label in an encoded arc transition.
- separatorChars - Static variable in class opennlp.tools.tokenize.TokenSample
- separatorChars - Variable in class opennlp.tools.tokenize.TokenSampleStream
- separatorId - Variable in class opennlp.tools.tokenize.WordpieceEncoder
- SEPARATORS - Static variable in class opennlp.tools.ml.model.EventFields
-
Space, tab, carriage return, line feed and form feed.
- separatorToken - Variable in class opennlp.tools.tokenize.WordpieceEncoder
- separatorToken - Variable in class opennlp.tools.tokenize.WordpieceTokenizer
- seqCodec - Variable in class opennlp.tools.namefind.NameFinderME
- seqCodec - Variable in class opennlp.tools.namefind.NameSampleSequenceStream
- seqCodec - Variable in class opennlp.tools.namefind.TokenNameFinderFactory
- Sequence<T> - Class in opennlp.tools.ml.model
-
Class which models a sequence.
- Sequence - Class in opennlp.tools.util
-
Represents a weighted sequence of outcomes.
- Sequence() - Constructor for class opennlp.tools.util.Sequence
-
Initializes a new
Sequenceof outcomes. - Sequence(List<String>) - Constructor for class opennlp.tools.util.Sequence
-
Initializes a new
Sequenceof outcomes from a list ofoutcomes. - Sequence(Event[], T) - Constructor for class opennlp.tools.ml.model.Sequence
-
Initializes
Sequencemade up of the specified events and derived from the specified source. - Sequence(Sequence) - Constructor for class opennlp.tools.util.Sequence
- Sequence(Sequence, String, double) - Constructor for class opennlp.tools.util.Sequence
- SEQUENCE_CODEC_CLASS_NAME_PARAMETER - Static variable in class opennlp.tools.namefind.TokenNameFinderModel
- SEQUENCE_RECORD - Static variable in class opennlp.tools.util.normalizer.UnicodeEmojiSequences
-
Prefix of a record holding one qualified sequence.
- SEQUENCE_TRAINER - Enum constant in enum class opennlp.tools.ml.TrainerFactory.TrainerType
- SEQUENCE_VALUE - Static variable in interface opennlp.tools.ml.EventModelSequenceTrainer
- SEQUENCE_VALUE - Static variable in interface opennlp.tools.ml.SequenceTrainer
- SequenceClassificationModel - Interface in opennlp.tools.ml.model
-
A classification model that can label an input
Sequence. - SequenceCodec<T> - Interface in opennlp.tools.util
-
A codec for sequences of type
SequenceCodec. - sequenceCount - Variable in class opennlp.tools.util.normalizer.UnicodeEmojiSequences
- sequenceCount() - Method in class opennlp.tools.util.normalizer.UnicodeEmojiSequences
-
Returns the number of sequence records that were loaded.
- sequenceStream - Variable in class opennlp.tools.ml.model.SequenceStreamEventStream
- sequenceStream - Variable in class opennlp.tools.ml.perceptron.SimplePerceptronSequenceTrainer
- SequenceStream<S> - Interface in opennlp.tools.ml.model
-
Interface for streams of
sequencesused to train sequence models. - SequenceStreamEventStream - Class in opennlp.tools.ml.model
-
Class which turns a
SequenceStreaminto an event stream. - SequenceStreamEventStream(SequenceStream<Event>) - Constructor for class opennlp.tools.ml.model.SequenceStreamEventStream
- SequenceTrainer<P> - Interface in opennlp.tools.ml
- sequenceValidator - Variable in class opennlp.tools.chunker.ChunkerME
- sequenceValidator - Variable in class opennlp.tools.lemmatizer.LemmatizerME
- sequenceValidator - Variable in class opennlp.tools.namefind.NameFinderME
- sequenceValidator - Variable in class opennlp.tools.postag.POSTaggerME
- SequenceValidator<T> - Interface in opennlp.tools.util
- SerializableArtifact - Interface in opennlp.tools.util.model
-
A marker interface so that implementing classes can refer to the corresponding
ArtifactSerializerimplementation. - serialize(byte[], OutputStream) - Method in class opennlp.tools.util.model.ByteArraySerializer
- serialize(File) - Method in class opennlp.tools.util.model.BaseModel
-
Serializes the model to the specified
File. - serialize(OutputStream) - Method in class opennlp.tools.dictionary.Dictionary
-
Writes the current instance to the given
OutputStream. - serialize(OutputStream) - Method in class opennlp.tools.ngram.NGramModel
-
Writes the ngram instance to the given
OutputStream. - serialize(OutputStream) - Method in class opennlp.tools.postag.POSDictionary
-
Writes the
POSDictionaryto the givenOutputStream; - serialize(OutputStream) - Method in class opennlp.tools.tokenize.DetokenizationDictionary
-
Serializes the current state of a
DetokenizationDictionaryvia anoutput stream. - serialize(OutputStream) - Method in class opennlp.tools.util.featuregen.BrownCluster
- serialize(OutputStream) - Method in class opennlp.tools.util.featuregen.WordClusterDictionary
- serialize(OutputStream) - Method in class opennlp.tools.util.model.BaseModel
-
Serializes the model to the given
OutputStream. - serialize(OutputStream) - Method in interface opennlp.tools.util.Parameters
-
Serializes a
Parametersinstance via a specifiedOutputStream. - serialize(OutputStream) - Method in class opennlp.tools.util.TrainingParameters
- serialize(OutputStream, Iterator<Entry>, boolean) - Static method in class opennlp.tools.dictionary.serializer.DictionaryEntryPersistor
-
Serializes the given entries to the given
OutputStream. - serialize(Writer) - Method in class opennlp.tools.parser.lang.en.HeadRules
-
Serializes the head rules via a
Writerin a format suitable for loading the head rules again. - serialize(Writer) - Method in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules
-
Serializes the head rules via a
Writerin a format suitable for loading the head rules again. - serialize(Path) - Method in class opennlp.tools.util.model.BaseModel
-
Serializes the model to the specified
Path. - serialize(List<BPETokenizer.SymbolPair>, OutputStream) - Method in class opennlp.tools.tokenize.BPETokenizerFactory.BPEMergesSerializer
-
Serializes the merge rules to the given
OutputStream. - serialize(Properties, OutputStream) - Method in class opennlp.tools.util.model.PropertiesSerializer
- serialize(ChunkerModel, OutputStream) - Method in class opennlp.tools.util.model.ChunkerModelSerializer
- serialize(FeedforwardNetwork, OutputStream) - Method in class opennlp.tools.depparse.FeedforwardNetwork.Serializer
-
Serializes an artifact to the provided
OutputStream. - serialize(Dictionary, OutputStream) - Method in class opennlp.tools.util.model.DictionarySerializer
- serialize(AbstractModel, OutputStream) - Method in class opennlp.tools.util.model.GenericModelSerializer
-
Serializes an artifact to the provided
OutputStream. - serialize(HeadRules, OutputStream) - Method in class opennlp.tools.parser.lang.en.HeadRules.HeadRulesSerializer
- serialize(HeadRules, OutputStream) - Method in class opennlp.tools.parser.ParserModel.HeadRulesSerializer
- serialize(AncoraSpanishHeadRules, OutputStream) - Method in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules.HeadRulesSerializer
- serialize(POSDictionary, OutputStream) - Method in class opennlp.tools.postag.POSTaggerFactory.POSDictionarySerializer
- serialize(POSModel, OutputStream) - Method in class opennlp.tools.util.model.POSModelSerializer
- serialize(BrownCluster, OutputStream) - Method in class opennlp.tools.util.featuregen.BrownCluster.BrownClusterSerializer
- serialize(WordClusterDictionary, OutputStream) - Method in class opennlp.tools.util.featuregen.WordClusterDictionary.WordClusterDictionarySerializer
- serialize(T, OutputStream) - Method in interface opennlp.tools.util.model.ArtifactSerializer
-
Serializes an artifact to the provided
OutputStream. - serializeEntry(TransformerHandler, Entry) - Static method in class opennlp.tools.dictionary.serializer.DictionaryEntryPersistor
- Serializer() - Constructor for class opennlp.tools.depparse.FeedforwardNetwork.Serializer
- SERIALIZER_CLASS_NAME_PREFIX - Static variable in class opennlp.tools.util.model.BaseModel
- serialVersionUID - Static variable in class opennlp.tools.chunker.ChunkerModel
- serialVersionUID - Static variable in class opennlp.tools.chunker.ChunkSample
- serialVersionUID - Static variable in exception class opennlp.tools.cmdline.TerminateToolException
- serialVersionUID - Static variable in class opennlp.tools.depparse.DependencyModel
- serialVersionUID - Static variable in class opennlp.tools.depparse.DependencySample
- serialVersionUID - Static variable in class opennlp.tools.depparse.DependencyTree
- serialVersionUID - Static variable in class opennlp.tools.depparse.FeedforwardDependencyModel
- serialVersionUID - Static variable in class opennlp.tools.doccat.DoccatModel
- serialVersionUID - Static variable in class opennlp.tools.doccat.DocumentSample
- serialVersionUID - Static variable in exception class opennlp.tools.embeddings.EmbeddingException
- serialVersionUID - Static variable in class opennlp.tools.entitylinker.LinkedSpan
- serialVersionUID - Static variable in class opennlp.tools.formats.masc.MascSentence
- serialVersionUID - Static variable in class opennlp.tools.formats.masc.MascToken
- serialVersionUID - Static variable in class opennlp.tools.formats.masc.MascWord
- serialVersionUID - Static variable in class opennlp.tools.langdetect.DefaultLanguageDetectorContextGenerator
- serialVersionUID - Static variable in class opennlp.tools.langdetect.Language
- serialVersionUID - Static variable in class opennlp.tools.langdetect.LanguageDetectorModel
- serialVersionUID - Static variable in record class opennlp.tools.langdetect.LanguageSample
- serialVersionUID - Static variable in class opennlp.tools.lemmatizer.LemmaSample
- serialVersionUID - Static variable in class opennlp.tools.lemmatizer.LemmatizerModel
- serialVersionUID - Static variable in exception class opennlp.tools.models.ClassPathLoaderException
- serialVersionUID - Static variable in class opennlp.tools.namefind.NameSample
- serialVersionUID - Static variable in record class opennlp.tools.namefind.TokenNameFinderCrossValidator.DocumentSample
- serialVersionUID - Static variable in exception class opennlp.tools.namefind.TokenNameFinderModel.FeatureGeneratorCreationError
- serialVersionUID - Static variable in class opennlp.tools.namefind.TokenNameFinderModel
- serialVersionUID - Static variable in class opennlp.tools.parser.ParserModel
- serialVersionUID - Static variable in class opennlp.tools.postag.POSModel
- serialVersionUID - Static variable in class opennlp.tools.postag.POSSample
- serialVersionUID - Static variable in class opennlp.tools.sentdetect.SentenceModel
- serialVersionUID - Static variable in class opennlp.tools.sentdetect.SentenceSample
- serialVersionUID - Static variable in class opennlp.tools.sentiment.SentimentSample
- serialVersionUID - Static variable in class opennlp.tools.stemmer.snowball.AbstractSnowballStemmer
- serialVersionUID - Static variable in class opennlp.tools.stemmer.snowball.arabicStemmer
- serialVersionUID - Static variable in class opennlp.tools.stemmer.snowball.catalanStemmer
- serialVersionUID - Static variable in class opennlp.tools.stemmer.snowball.danishStemmer
- serialVersionUID - Static variable in class opennlp.tools.stemmer.snowball.dutchStemmer
- serialVersionUID - Static variable in class opennlp.tools.stemmer.snowball.englishStemmer
- serialVersionUID - Static variable in class opennlp.tools.stemmer.snowball.finnishStemmer
- serialVersionUID - Static variable in class opennlp.tools.stemmer.snowball.frenchStemmer
- serialVersionUID - Static variable in class opennlp.tools.stemmer.snowball.germanStemmer
- serialVersionUID - Static variable in class opennlp.tools.stemmer.snowball.greekStemmer
- serialVersionUID - Static variable in class opennlp.tools.stemmer.snowball.hungarianStemmer
- serialVersionUID - Static variable in class opennlp.tools.stemmer.snowball.indonesianStemmer
- serialVersionUID - Static variable in class opennlp.tools.stemmer.snowball.irishStemmer
- serialVersionUID - Static variable in class opennlp.tools.stemmer.snowball.italianStemmer
- serialVersionUID - Static variable in class opennlp.tools.stemmer.snowball.norwegianStemmer
- serialVersionUID - Static variable in class opennlp.tools.stemmer.snowball.porterStemmer
- serialVersionUID - Static variable in class opennlp.tools.stemmer.snowball.portugueseStemmer
- serialVersionUID - Static variable in class opennlp.tools.stemmer.snowball.romanianStemmer
- serialVersionUID - Static variable in class opennlp.tools.stemmer.snowball.russianStemmer
- serialVersionUID - Static variable in class opennlp.tools.stemmer.snowball.SnowballProgram
- serialVersionUID - Static variable in class opennlp.tools.stemmer.snowball.spanishStemmer
- serialVersionUID - Static variable in class opennlp.tools.stemmer.snowball.swedishStemmer
- serialVersionUID - Static variable in class opennlp.tools.stemmer.snowball.turkishStemmer
- serialVersionUID - Static variable in class opennlp.tools.tokenize.BPEModel
- serialVersionUID - Static variable in class opennlp.tools.tokenize.TokenizerModel
- serialVersionUID - Static variable in class opennlp.tools.tokenize.TokenSample
- serialVersionUID - Static variable in class opennlp.tools.util.Cache
- serialVersionUID - Static variable in exception class opennlp.tools.util.ext.AmbiguousProviderException
- serialVersionUID - Static variable in exception class opennlp.tools.util.ext.ProviderResolutionException
- serialVersionUID - Static variable in exception class opennlp.tools.util.ext.UnsatisfiedProviderException
- serialVersionUID - Static variable in class opennlp.tools.util.model.BaseModel
- serialVersionUID - Static variable in class opennlp.tools.util.normalizer.AccentFoldCharSequenceNormalizer
- serialVersionUID - Static variable in class opennlp.tools.util.normalizer.AggregateCharSequenceNormalizer
- serialVersionUID - Static variable in class opennlp.tools.util.normalizer.AlignedAggregateCharSequenceNormalizer
- serialVersionUID - Static variable in class opennlp.tools.util.normalizer.BulletCharSequenceNormalizer
- serialVersionUID - Static variable in class opennlp.tools.util.normalizer.CaseFoldCharSequenceNormalizer
- serialVersionUID - Static variable in class opennlp.tools.util.normalizer.ConfusableSkeletonCharSequenceNormalizer
- serialVersionUID - Static variable in class opennlp.tools.util.normalizer.DashCharSequenceNormalizer
- serialVersionUID - Static variable in class opennlp.tools.util.normalizer.DigitCharSequenceNormalizer
- serialVersionUID - Static variable in class opennlp.tools.util.normalizer.EllipsisCharSequenceNormalizer
- serialVersionUID - Static variable in class opennlp.tools.util.normalizer.EmojiCharSequenceNormalizer
- serialVersionUID - Static variable in class opennlp.tools.util.normalizer.EmojiToEmoticonCharSequenceNormalizer
- serialVersionUID - Static variable in class opennlp.tools.util.normalizer.EmoticonToEmojiCharSequenceNormalizer
- serialVersionUID - Static variable in class opennlp.tools.util.normalizer.FullCaseFoldCharSequenceNormalizer
- serialVersionUID - Static variable in class opennlp.tools.util.normalizer.GermanUmlautCharSequenceNormalizer
- serialVersionUID - Static variable in class opennlp.tools.util.normalizer.InvisibleCharSequenceNormalizer
- serialVersionUID - Static variable in class opennlp.tools.util.normalizer.LineBreakPreservingWhitespaceCharSequenceNormalizer
- serialVersionUID - Static variable in class opennlp.tools.util.normalizer.NfcCharSequenceNormalizer
- serialVersionUID - Static variable in class opennlp.tools.util.normalizer.NfkcCharSequenceNormalizer
- serialVersionUID - Static variable in class opennlp.tools.util.normalizer.NumberCharSequenceNormalizer
- serialVersionUID - Static variable in class opennlp.tools.util.normalizer.ParagraphPreservingWhitespaceCharSequenceNormalizer
- serialVersionUID - Static variable in class opennlp.tools.util.normalizer.QuoteCharSequenceNormalizer
- serialVersionUID - Static variable in class opennlp.tools.util.normalizer.ShrinkCharSequenceNormalizer
- serialVersionUID - Static variable in class opennlp.tools.util.normalizer.SocialMediaCharSequenceNormalizer
- serialVersionUID - Static variable in class opennlp.tools.util.normalizer.UrlCharSequenceNormalizer
- serialVersionUID - Static variable in class opennlp.tools.util.normalizer.WhitespaceCharSequenceNormalizer
- serialVersionUID - Static variable in class opennlp.tools.util.Span
- SERVICE_PREFIX - Static variable in class opennlp.tools.util.ext.Providers
- set(double) - Method in class opennlp.tools.ml.naivebayes.LogProbability
-
Assigns a
probabilityto a label, discarding any previously assigned probability. - set(double) - Method in class opennlp.tools.ml.naivebayes.Probability
-
Assigns a probability to a label, discarding any previously assigned probability.
- set(Probability<T>) - Method in class opennlp.tools.ml.naivebayes.LogProbability
-
Assigns a
probabilityto a label, discarding any previously assigned probability. - set(Probability<T>) - Method in class opennlp.tools.ml.naivebayes.Probability
-
Assigns a probability to a label, discarding any previously assigned probability.
- set(T) - Method in class opennlp.tools.util.LastResultOwnerOrThreadLocal
-
Records
valueas the last result for the calling thread. - set(T, double) - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
-
Assigns a
probabilityto a labelt, discarding any previously assigned probability. - set(T, double) - Method in class opennlp.tools.ml.naivebayes.Probabilities
-
Assigns a probability to a label
t, discarding any previously assigned probability. - set(T, Probability<T>) - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
-
Assigns a
probabilityto a labelt, discarding any previously assigned probability. - set(T, Probability<T>) - Method in class opennlp.tools.ml.naivebayes.Probabilities
-
Assigns a probability to a label
t, discarding any previously assigned probability. - SET_PREFIX - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
The
SETdirective followed by a space. - SET_TAB_PREFIX - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
The
SETdirective followed by a tab. - SET_TAG - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
The affix-file directive that declares the character encoding.
- setActive(CompatibilityMode) - Static method in enum class opennlp.tools.util.CompatibilityMode
-
Overrides the active
CompatibilityModefor the whole process, taking precedence over the "opennlp.compat.mode" system property. - setActive(WhitespaceMode) - Static method in enum class opennlp.tools.util.WhitespaceMode
-
Overrides the active
WhitespaceModefor the whole process, taking precedence over the "opennlp.whitespace.mode" system property. - setAll(double, double, double, double[], double[], double[], double[], double[], double[], int) - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
-
Updates line search elements.
- setAll(double, double, double, double[], double[], double[], double[], int) - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
-
Updates line search elements.
- setAlphaNumericPattern(Pattern) - Method in class opennlp.tools.tokenize.TokenizerFactory
-
Keeps a deprecated alphanumeric pattern as the pattern of this factory, unless an earlier release wrote it for a language and it has no flags: then the policy of that language replaces it, so the alphanumeric optimization takes the policy path.
- setBuilt(Parse) - Method in class opennlp.tools.parser.treeinsert.Parser
- setChild(int, String) - Method in class opennlp.tools.parser.Parse
-
Replaces the child at the specified index with a new child with the specified label.
- setChunkSize(int) - Method in class opennlp.tools.langdetect.LanguageDetectorConfig.ImmutableLanguageDetectorConfig
- setChunkSize(int) - Method in class opennlp.tools.langdetect.LanguageDetectorConfig
- setComplete(Parse) - Method in class opennlp.tools.parser.treeinsert.Parser
- setConfidence(double) - Method in class opennlp.tools.ml.naivebayes.Probabilities
-
Sets the best confidence with which this set of probabilities has been calculated.
- setCount(CharSequence, int) - Method in class opennlp.tools.ngram.NGramCharModel
-
Sets the count of an existing
ngram. - setCount(StringList, int) - Method in class opennlp.tools.ngram.NGramModel
-
Sets the count of an existing ngram.
- setCurrent(char[], int) - Method in class opennlp.tools.stemmer.snowball.SnowballProgram
-
Set the current string.
- setCurrent(String) - Method in class opennlp.tools.stemmer.snowball.SnowballProgram
-
Set the current string.
- setCurrentContext(String[][]) - Method in class opennlp.tools.util.featuregen.AdditionalContextFeatureGenerator
- setCurrPoint(double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- setDerivation(StringBuffer) - Method in class opennlp.tools.parser.Parse
-
Specifies the derivation string to be associated with this parse.
- setDictionary(String, Dictionary) - Method in class opennlp.tools.util.featuregen.DictionaryFeatureGenerator
- setDictionary(Dictionary) - Method in class opennlp.tools.util.featuregen.DictionaryFeatureGenerator
- setDocumentLocator(Locator) - Method in class opennlp.tools.dictionary.serializer.DictionaryEntryPersistor.DictionaryContenthandler
-
Not implemented.
- setEnd(int) - Method in class opennlp.tools.formats.ad.ADChunkSampleStream
- setErrorReporting(boolean) - Method in class opennlp.tools.parser.AbstractBottomUpParser
-
Specifies whether the parser should report when it was unable to find a parse for a particular sentence.
- setEvaluator(QNMinimizer.Evaluator) - Method in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
- setFctEvalCount(int) - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- setFeatureGenerators(FeatureGenerator[]) - Method in class opennlp.tools.doccat.DoccatFactory
- setFunctionalTag(String) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
- setGaussianSigma(double) - Method in class opennlp.tools.ml.maxent.GISTrainer
-
Sets whether this trainer will use smoothing while training the model.
- setGradAtCurr(double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- setGradAtNext(double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- setIfLarger(double) - Method in class opennlp.tools.ml.naivebayes.LogProbability
-
Assigns a
probabilityto a label, discarding any previously assigned probability, if the new probability is greater than the old one. - setIfLarger(double) - Method in class opennlp.tools.ml.naivebayes.Probability
-
Assigns a probability to a label, discarding any previously assigned probability, if the new probability is greater than the old one.
- setIfLarger(Probability<T>) - Method in class opennlp.tools.ml.naivebayes.LogProbability
-
Assigns a
probabilityto a label, discarding any previously assigned probability, if the new probability is greater than the old one. - setIfLarger(Probability<T>) - Method in class opennlp.tools.ml.naivebayes.Probability
-
Assigns a probability to a label, discarding any previously assigned probability, if the new probability is greater than the old one.
- setIfLarger(T, double) - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
-
Assigns a
probabilityto a labelt, discarding any previously assigned probability, if the new probability is greater than the old one. - setIfLarger(T, double) - Method in class opennlp.tools.ml.naivebayes.Probabilities
-
Assigns a probability to a label
t, discarding any previously assigned probability, if the new probability is greater than the old one. - setIncomplete(Parse) - Method in class opennlp.tools.parser.treeinsert.Parser
- setItemID(String) - Method in class opennlp.tools.entitylinker.BaseLink
- setItemName(String) - Method in class opennlp.tools.entitylinker.BaseLink
- setItemParentID(String) - Method in class opennlp.tools.entitylinker.BaseLink
- setItemType(String) - Method in class opennlp.tools.entitylinker.BaseLink
- setKeepNewLines(boolean) - Method in class opennlp.tools.tokenize.AbstractTokenizer
-
Switches whether to keep new lines or not.
- setLabel(String) - Method in class opennlp.tools.parser.Constituent
-
Assigns the label to the constituent.
- setLabel(String) - Method in class opennlp.tools.parser.Parse
-
Assigns this parse the specified label.
- setLabels(String[], String[]) - Method in interface opennlp.tools.ml.model.Prior
-
Method to specify the label for the outcomes and contexts.
- setLabels(String[], String[]) - Method in class opennlp.tools.ml.model.UniformPrior
- setLemma(String) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
- setLevel(int) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.TreeElement
- setLexeme(String) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
- setLinkedEntries(ArrayList<T>) - Method in class opennlp.tools.entitylinker.LinkedSpan
- setLog(double) - Method in class opennlp.tools.ml.naivebayes.LogProbability
-
Assigns a log
probabilityto a label, discarding any previously assigned probability. - setLog(double) - Method in class opennlp.tools.ml.naivebayes.Probability
-
Assigns a log probability to a label, discarding any previously assigned probability.
- setLog(T, double) - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
-
Assigns a log
probabilityto a labelt, discarding any previously assigned probability. - setLog(T, double) - Method in class opennlp.tools.ml.naivebayes.Probabilities
-
Assigns a log probability to a label
t, discarding any previously assigned probability. - setManifestProperty(String, String) - Method in class opennlp.tools.util.model.BaseModel
-
Sets a given value for a given key to the
manifest.propertiesmapping. - setMatchingPatterns(Pattern[]) - Method in class opennlp.tools.namefind.RegexNameFinder
- setMaxLength(int) - Method in class opennlp.tools.langdetect.LanguageDetectorConfig.ImmutableLanguageDetectorConfig
- setMaxLength(int) - Method in class opennlp.tools.langdetect.LanguageDetectorConfig
- setMinConsecImprovements(int) - Method in class opennlp.tools.langdetect.LanguageDetectorConfig.ImmutableLanguageDetectorConfig
- setMinConsecImprovements(int) - Method in class opennlp.tools.langdetect.LanguageDetectorConfig
- setMinDiff(double) - Method in class opennlp.tools.langdetect.LanguageDetectorConfig.ImmutableLanguageDetectorConfig
- setMinDiff(double) - Method in class opennlp.tools.langdetect.LanguageDetectorConfig
- setMorphologicalTag(String) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.TreeElement
- setNextPoint(double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- setNextPunctuation(Collection<Parse>) - Method in class opennlp.tools.parser.Parse
-
Sets the
punctuation tagswhich follow this parse. - setNote(String) - Method in class opennlp.tools.formats.brat.BratAnnotation
- setParameter(int, double) - Method in class opennlp.tools.ml.model.MutableContext
-
Assigns the parameter or expected value at the specified outcomeIndex the specified value.
- setParams(String[]) - Static method in class opennlp.tools.util.TrainingParameters
- setParent(Parse) - Method in class opennlp.tools.parser.Parse
-
Specifies the parent parse node for this constituent.
- setParents(Parse) - Static method in class opennlp.tools.parser.AbstractBottomUpParser
-
Assigns parent references for the specified parse so that they are consistent with the children references.
- setPrevPunctuation(Collection<Parse>) - Method in class opennlp.tools.parser.Parse
-
Sets the
punctuation tagswhich precede this parse. - setProbs(Span[]) - Method in class opennlp.tools.namefind.NameFinderME
-
Sets probabilities for the spans.
- setPseudoGradAtNext(double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- setScoreMap(Map<String, Double>) - Method in class opennlp.tools.entitylinker.BaseLink
- setSearchTerm(String) - Method in class opennlp.tools.entitylinker.LinkedSpan
- setSecondaryTag(String) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
- setSentenceid(int) - Method in class opennlp.tools.entitylinker.LinkedSpan
- setSignVector(double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- setSkippedAveraging(boolean) - Method in class opennlp.tools.ml.perceptron.PerceptronTrainer
-
Enables skipped averaging, this flag changes the standard averaging to special averaging instead.
- setSmoothing(boolean) - Method in class opennlp.tools.ml.maxent.GISTrainer
-
Sets whether this trainer will use smoothing while training the model.
- setSmoothingObservation(double) - Method in class opennlp.tools.ml.maxent.GISTrainer
-
Sets whether this trainer will use smoothing while training the model.
- setSpanType(String) - Method in class opennlp.tools.namefind.RegexNameFinder
- setStart(int) - Method in class opennlp.tools.formats.ad.ADChunkSampleStream
- setStepSize(double) - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- setStepSizeDecrease(double) - Method in class opennlp.tools.ml.perceptron.PerceptronTrainer
-
Enables and sets step size decrease.
- setSyntacticTag(String) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.TreeElement
- setTagDictionary(TagDictionary) - Method in class opennlp.tools.postag.POSTaggerFactory
- settings - Variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer.Optimizer
- Settings(int, int, int, int, double, double, double, int, long, int) - Constructor for record class opennlp.tools.depparse.FeedforwardDependencyTrainer.Settings
-
Validates the hyperparameters.
- setto(String) - Method in class opennlp.tools.stemmer.PorterStemmer
- setTolerance(double) - Method in class opennlp.tools.ml.perceptron.PerceptronTrainer
-
Specifies the tolerance.
- setType(String) - Method in class opennlp.tools.parser.Parse
-
Set the type of this constituent to the specified type.
- setValue(String, String) - Method in class opennlp.tools.dictionary.serializer.Attributes
-
Sets a key/value pair.
- setValueAtCurr(double) - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- setValueAtNext(double) - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- SgmlParser - Class in opennlp.tools.formats.muc
-
A SAX style SGML parser.
- SgmlParser() - Constructor for class opennlp.tools.formats.muc.SgmlParser
- SgmlParser.ContentHandler - Class in opennlp.tools.formats.muc
-
Defines methods to handle content produced by a
SgmlParser. - SHA_256 - Static variable in class opennlp.tools.util.Checksums
-
The SHA-256 algorithm name.
- SHA_256_HEX_LENGTH - Static variable in class opennlp.tools.util.Checksums
-
The number of hex digits in a SHA-256 digest.
- SHA_512 - Static variable in class opennlp.tools.util.Checksums
-
The SHA-512 algorithm name.
- SHA_512_HEX_LENGTH - Static variable in class opennlp.tools.util.Checksums
-
The number of hex digits in a SHA-512 digest.
- sha512 - Variable in record class opennlp.tools.util.DictionaryCatalog.Entry
-
The field for the
sha512record component. - sha512() - Method in record class opennlp.tools.util.DictionaryCatalog.Entry
-
Returns the value of the
sha512record component. - SHA512_SUFFIX - Static variable in class opennlp.tools.util.DictionaryCatalog
- sharedChunker - Variable in class opennlp.tools.chunker.ThreadSafeChunkerME
-
Deprecated.
- sharedLemmatizer - Variable in class opennlp.tools.lemmatizer.ThreadSafeLemmatizerME
-
Deprecated.
- sharedNameFinder - Variable in class opennlp.tools.namefind.ThreadSafeNameFinderME
-
Deprecated.
- sharedTagger - Variable in class opennlp.tools.postag.ThreadSafePOSTaggerME
-
Deprecated.
- sharedTokenizer - Variable in class opennlp.tools.tokenize.ThreadSafeTokenizerME
-
Deprecated.
- sharing - Variable in class opennlp.tools.stemmer.snowball.SnowballStemmer
- SharingStemmer - Class in opennlp.tools.stemmer
-
A
Stemmerthat is safe to share across threads by routing each call to a per-thread delegate minted from aStemmerFactory. - SharingStemmer(StemmerFactory) - Constructor for class opennlp.tools.stemmer.SharingStemmer
-
Creates a sharing stemmer.
- SHARP_S - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
The sharp s, which
CHECKSHARPSrelates to a double s. - SHIFT - Enum constant in enum class opennlp.tools.depparse.Transition.Type
-
Pushes the front of the buffer onto the stack.
- SHIFT - Static variable in record class opennlp.tools.depparse.Transition
-
The single shift transition; shifts carry no label.
- show() - Method in class opennlp.tools.parser.Parse
-
Prints this parse using Penn Treebank-style formatting.
- show(StringBuffer) - Method in class opennlp.tools.parser.Parse
-
Fills the specified
StringBufferwith a string representation of this parse. - showCodeTree() - Method in class opennlp.tools.parser.Parse
-
Prints to standard out a representation of the specified parse which contains hash codes so that parent/child relationships can be explicitly seen.
- ShrinkCharSequenceNormalizer - Class in opennlp.tools.util.normalizer
-
A
CharSequenceNormalizerimplementation that shrinks repeated whitespace and repeated characters in text, in three steps: Each run of two or more ASCII whitespace characters (tab, line feed, vertical tab, form feed, carriage return, or space) collapses to a single space. - ShrinkCharSequenceNormalizer() - Constructor for class opennlp.tools.util.normalizer.ShrinkCharSequenceNormalizer
- shrinkLaughter(CharSequence) - Method in class opennlp.tools.util.normalizer.SocialMediaCharSequenceNormalizer
-
Shrinks laughter: a run of
h/j, a run of vowels, and at least one complete repetition of runs of the two last characters of those runs, shrink to those two characters twice. - shrinkRepeatedCodePoints(CharSequence) - Method in class opennlp.tools.util.normalizer.ShrinkCharSequenceNormalizer
-
Shrinks each run of three or more repeats of one code point to two copies of its first occurrence.
- shrinkWhitespace(CharSequence) - Method in class opennlp.tools.util.normalizer.ShrinkCharSequenceNormalizer
-
Replaces each run of two or more ASCII whitespace characters with a single space; a lone whitespace character stays as it is.
- shuffle(int[], Random) - Static method in class opennlp.tools.depparse.FeedforwardDependencyTrainer
-
Fisher-Yates shuffle of the visit order.
- sigma - Variable in class opennlp.tools.ml.maxent.GISTrainer
- SIGNATURE_CHUNKED_PARAMS - Static variable in class opennlp.tools.ml.model.ModelParameterChunker
- signVector - Variable in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- SimpleClassPathModelFinder - Class in opennlp.tools.models.simple
-
Enables the detection of OpenNLP models in the classpath via JDK classes By default, this class will search for JAR files starting with "opennlp-models-*".
- SimpleClassPathModelFinder() - Constructor for class opennlp.tools.models.simple.SimpleClassPathModelFinder
-
By default, it scans for
ClassPathModelFinder.OPENNLP_MODEL_JAR_PREFIX. - SimpleClassPathModelFinder(String) - Constructor for class opennlp.tools.models.simple.SimpleClassPathModelFinder
- SimpleEventStreamBuilder - Class in opennlp.tools.ml.model
-
Builds an in-memory
ObjectStreamofeventsfrom text lines, mainly for tests. - SimpleEventStreamBuilder() - Constructor for class opennlp.tools.ml.model.SimpleEventStreamBuilder
- SimplePerceptronSequenceTrainer - Class in opennlp.tools.ml.perceptron
-
Trains
modelswith sequences using the perceptron algorithm. - SimplePerceptronSequenceTrainer() - Constructor for class opennlp.tools.ml.perceptron.SimplePerceptronSequenceTrainer
-
Instantiates a
SimplePerceptronSequenceTrainerwith a default configuration of training parameters. - SimpleTokenizer - Class in opennlp.tools.tokenize
-
A basic
Tokenizerimplementation which performs tokenization using character classes. - SimpleTokenizer() - Constructor for class opennlp.tools.tokenize.SimpleTokenizer
- SimpleTokenizer.CharacterEnum - Class in opennlp.tools.tokenize
- SIMPLIFIED_TRIPLE_TAG - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- simplifiedTriple - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary.AffixFile
- simplifiedTriple - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- simplifiedTriple() - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Returns whether simplified triple-letter junctions are enabled.
- since() - Element in annotation interface opennlp.tools.commons.Internal
-
The OpenNLP release when an element was first declared internal.
- since() - Element in annotation interface opennlp.tools.commons.ThreadSafe
-
The OpenNLP release when an element was first declared
thread-safe. - SINGLE - Static variable in class opennlp.tools.util.normalizer.QuoteCharSequenceNormalizer
- SINGLE_QUOTE - Enum constant in enum class opennlp.tools.tokenize.uax29.WordBreak
-
The apostrophe (
U+0027). - SINGLE_QUOTE - Static variable in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
- sisterAttachIndex - Variable in class opennlp.tools.parser.treeinsert.Parser
- size - Variable in class opennlp.tools.ml.BeamSearch.SearchNode
- size - Variable in class opennlp.tools.ml.BeamSearch
- size - Variable in class opennlp.tools.postag.POSTaggerME
-
The size of the beam to be used in determining the best sequence of pos tags.
- size - Variable in class opennlp.tools.tokenize.uax29.WordSegmenter.IntList
- size - Variable in class opennlp.tools.util.archive.TarStream
- size - Variable in class opennlp.tools.util.normalizer.UnicodeEmojiSequences.Node
- size() - Method in class opennlp.tools.depparse.DependencyTree
- size() - Method in class opennlp.tools.dictionary.Dictionary
- size() - Method in class opennlp.tools.ngram.NGramCharModel
-
Retrieves the number of
entriesin aNGramCharModel. - size() - Method in class opennlp.tools.ngram.NGramModel
-
Retrieves the number of
StringListentries in the current instance. - size() - Method in class opennlp.tools.util.archive.TarStream
-
Returns the current entry's size in bytes.
- size() - Method in class opennlp.tools.util.normalizer.CodePointSet
-
Returns the number of code points in this set.
- size() - Method in class opennlp.tools.util.StringList
- size() - Method in class opennlp.tools.util.wordvector.MapWordVectorTable
- size() - Method in interface opennlp.tools.util.wordvector.WordVectorTable
- SIZE_LENGTH - Static variable in class opennlp.tools.util.archive.TarStream
- SIZE_OFFSET - Static variable in class opennlp.tools.util.archive.TarStream
- skeleton(CharSequence) - Static method in class opennlp.tools.util.normalizer.Confusables
-
Returns the confusable skeleton of
text:NFD(map(NFD(text)))wheremapreplaces each code point with its UTS #39 prototype. - skip(long) - Method in class opennlp.tools.util.archive.TarStream
-
Consumes and discards the given number of bytes from the underlying stream.
- skip(long) - Method in class opennlp.tools.util.ResourceInstaller.BudgetInputStream
- skipAlphaNumerics - Variable in class opennlp.tools.tokenize.TokSpanEventStream
- skipEntryForSerialization(Map.Entry<String, Object>) - Method in class opennlp.tools.postag.POSModel
- skipEntryForSerialization(Map.Entry<String, Object>) - Method in class opennlp.tools.util.model.BaseModel
- skipOptional(boolean[]) - Method in class opennlp.tools.stemmer.hunspell.HunspellCompoundRule
-
Advances states through optional pattern elements.
- skipped - Variable in class opennlp.tools.depparse.DependencyEventStream
- skipped - Variable in class opennlp.tools.formats.conllu.ConlluDependencySampleStream
- skipped - Variable in record class opennlp.tools.util.ext.Providers.Lookup
-
The field for the
skippedrecord component. - skipped - Variable in class opennlp.tools.util.ext.Providers
- skipped() - Method in record class opennlp.tools.util.ext.Providers.Lookup
-
Returns the value of the
skippedrecord component. - SKIPPED_CALL - Static variable in class opennlp.tools.util.ext.Providers
- SKIPPED_ENTRY - Static variable in class opennlp.tools.util.ext.Providers
- skippedEntity(String) - Method in class opennlp.tools.dictionary.serializer.DictionaryEntryPersistor.DictionaryContenthandler
-
Not implemented.
- skipRun(CharSequence, int) - Method in class opennlp.tools.util.normalizer.CharClass
-
Advances past a run of member code points.
- skipRunBackward(CharSequence, int, int) - Method in class opennlp.tools.util.normalizer.CharClass
-
Moves back past a run of member code points that ends at
runEnd. - skipSamples() - Method in class opennlp.tools.formats.leipzig.SampleSkipStream
- skipWhitespace(String, int) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
-
Skips whitespace as
StringUtil.isUnicodeWhitespace(char)defines it. - SKY_AND_WEATHER - Enum constant in enum class opennlp.tools.util.normalizer.EmojiEntityType
-
A sky or weather phenomenon, from the
sky & weathersubgroup. - SLASH - Static variable in class opennlp.tools.formats.ad.ADSentenceStream
- SLASH - Static variable in class opennlp.tools.util.ResourceInstaller
-
The path separator used on all platforms.
- slice_check() - Method in class opennlp.tools.stemmer.snowball.SnowballProgram
- slice_del() - Method in class opennlp.tools.stemmer.snowball.SnowballProgram
- slice_from(CharSequence) - Method in class opennlp.tools.stemmer.snowball.SnowballProgram
- slice_to(StringBuilder) - Method in class opennlp.tools.stemmer.snowball.SnowballProgram
- Sm - Enum constant in enum class opennlp.tools.util.normalizer.UnicodeDash.Category
-
Sm- math symbol (the minus signs). - SMALL_A_UMLAUT - Static variable in class opennlp.tools.util.normalizer.GermanUmlautCharSequenceNormalizer
- SMALL_O_UMLAUT - Static variable in class opennlp.tools.util.normalizer.GermanUmlautCharSequenceNormalizer
- SMALL_U_UMLAUT - Static variable in class opennlp.tools.util.normalizer.GermanUmlautCharSequenceNormalizer
- SMILEYS_AND_EMOTION - Enum constant in enum class opennlp.tools.util.normalizer.EmojiCategory
-
Upstream group
Smileys & Emotion: faces, hearts, and other emotion symbols. - SMOOTHING_DEFAULT - Static variable in class opennlp.tools.ml.maxent.GISTrainer
- SMOOTHING_OBSERVATION - Static variable in class opennlp.tools.ml.maxent.GISTrainer
- SMOOTHING_OBSERVATION_PARAM - Static variable in class opennlp.tools.ml.maxent.GISTrainer
- SMOOTHING_PARAM - Static variable in class opennlp.tools.ml.maxent.GISTrainer
-
If we are using smoothing, this is used as the "number" of times we want the trainer to imagine that it saw a feature that it actually didn't see.
- snapshot - Variable in class opennlp.tools.util.Version
- SNAPSHOT_MARKER - Static variable in class opennlp.tools.util.Version
- snowballAlgorithm(String) - Method in class opennlp.tools.stemmer.StemmerAnnotatorProvider
- SnowballProgram - Class in opennlp.tools.stemmer.snowball
-
Base class for a snowball stemmer
- SnowballProgram() - Constructor for class opennlp.tools.stemmer.snowball.SnowballProgram
- SnowballProgram(SnowballProgram) - Constructor for class opennlp.tools.stemmer.snowball.SnowballProgram
- SnowballStemmer - Class in opennlp.tools.stemmer.snowball
-
A
Stemmerbacked by the generated Snowball engines. - SnowballStemmer(SnowballStemmer.ALGORITHM) - Constructor for class opennlp.tools.stemmer.snowball.SnowballStemmer
-
Creates a stemmer for the given algorithm with
repeat = 1. - SnowballStemmer(SnowballStemmer.ALGORITHM, int) - Constructor for class opennlp.tools.stemmer.snowball.SnowballStemmer
-
Creates a stemmer for the given algorithm and repeat count.
- SnowballStemmer.ALGORITHM - Enum Class in opennlp.tools.stemmer.snowball
- SnowballStemmerFactory - Class in opennlp.tools.stemmer.snowball
-
A thread-safe factory that captures a Snowball stemmer configuration for APIs that accept a
StemmerFactory. - SnowballStemmerFactory(SnowballStemmer.ALGORITHM) - Constructor for class opennlp.tools.stemmer.snowball.SnowballStemmerFactory
-
Creates a factory with
repeat = 1. - SnowballStemmerFactory(SnowballStemmer.ALGORITHM, int) - Constructor for class opennlp.tools.stemmer.snowball.SnowballStemmerFactory
-
Creates a factory over the given algorithm and repeat count.
- SnowballStemmerFactory.ConfinedStemmer - Class in opennlp.tools.stemmer.snowball
-
A plain, thread-confined stemmer that applies one Snowball engine directly; not thread-safe.
- SocialMediaCharSequenceNormalizer - Class in opennlp.tools.util.normalizer
-
A
CharSequenceNormalizerimplementation that normalizes social media text: hashtags, user handles, retweet markers, emoticons, and repeated laughter. - SocialMediaCharSequenceNormalizer() - Constructor for class opennlp.tools.util.normalizer.SocialMediaCharSequenceNormalizer
- softmaxInPlace(double[]) - Static method in class opennlp.tools.depparse.FeedforwardDependencyTrainer
-
Turns finite raw scores into probabilities in place.
- SORT_DEFAULT - Static variable in class opennlp.tools.ml.model.AbstractDataIndexer
- SORT_PARAM - Static variable in class opennlp.tools.ml.model.AbstractDataIndexer
- sortAndMerge(List<ComparableEvent>, boolean) - Method in class opennlp.tools.ml.model.AbstractDataIndexer
-
Sorts and uniques the array of comparable events and return the number of unique events.
- sortAndMerge(List<ComparableEvent>, boolean) - Method in class opennlp.tools.ml.model.OnePassRealValueDataIndexer
- sortedScoreMap(String[]) - Method in interface opennlp.tools.doccat.DocumentCategorizer
-
Retrieves a
SortedMapof the scores sorted in ascending order, together with their associated categories. - sortedScoreMap(String[]) - Method in class opennlp.tools.doccat.DocumentCategorizerME
- sortValues() - Method in class opennlp.tools.ml.AbstractMLModelWriter
-
Sorts and optimizes the model parameters.
- sortValues() - Method in class opennlp.tools.ml.maxent.io.GISModelWriter
-
Sorts and optimizes the model parameters.
- sortValues() - Method in class opennlp.tools.ml.naivebayes.NaiveBayesModelWriter
-
Sorts and optimizes the model parameters.
- sortValues() - Method in class opennlp.tools.ml.perceptron.PerceptronModelWriter
-
Sorts and optimizes the model parameters.
- source - Variable in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankSentence
- source - Variable in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankSentenceStream
- source - Variable in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankTokenSampleStream
- source - Variable in class opennlp.tools.formats.letsmt.LetsmtSentenceStream
- source - Variable in class opennlp.tools.ml.model.Sequence
- source - Variable in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.UnsupportedDirective
-
The field for the
sourcerecord component. - source - Variable in record class opennlp.tools.util.normalizer.EmojiAnnotation.Value
-
The field for the
sourcerecord component. - source - Variable in record class opennlp.tools.util.normalizer.EmojiEmoticons.Mapping
-
The field for the
sourcerecord component. - source() - Method in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.UnsupportedDirective
-
Returns the value of the
sourcerecord component. - source() - Method in record class opennlp.tools.util.normalizer.EmojiAnnotation.Value
-
Returns the value of the
sourcerecord component. - source() - Method in record class opennlp.tools.util.normalizer.EmojiEmoticons.Mapping
-
Returns the value of the
sourcerecord component. - source(String) - Static method in class opennlp.tools.formats.ad.ADMetadata
-
Reads the source: the text between the first
source="and the next double quote. - SOURCE_PREFIX - Static variable in class opennlp.tools.formats.ad.ADMetadata
- sourceName(URI) - Static method in class opennlp.tools.util.ResourceInstaller
-
Derives a file name from the source URI for non-archive content.
- sourceStart - Variable in record class opennlp.tools.tokenize.lattice.CategoryTable.Builder.Mapping
-
The field for the
sourceStartrecord component. - sourceStart() - Method in record class opennlp.tools.tokenize.lattice.CategoryTable.Builder.Mapping
-
Returns the value of the
sourceStartrecord component. - SOUTHEAST_ASIAN - Enum constant in enum class opennlp.tools.tokenize.uax29.WordType
-
A token in a Southeast Asian script that requires dictionary segmentation (Thai, Lao, ...).
- SPA - Enum constant in enum class opennlp.tools.formats.Conll02NameSampleStream.LANGUAGE
- SPACE - Static variable in class opennlp.tools.util.normalizer.UnicodeWhitespace
-
The canonical ASCII whitespace that whitespace is normalized to:
U+0020SPACE. - space_after - Variable in class opennlp.tools.formats.nkjp.NKJPSegmentationDocument.Pointer
- SPACE_MARK - Static variable in class opennlp.tools.stemmer.hunspell.HunspellConversion
-
HunspellConversion.SPACE_MARK_CHARas text, for the anchor checks. - SPACE_MARK_CHAR - Static variable in class opennlp.tools.stemmer.hunspell.HunspellConversion
-
Stands for a space in
ICONV,OCONVandREPfields. - SPACED_PUNCTUATION - Static variable in class opennlp.tools.tokenize.lang.en.TokenSampleStream
-
Punctuation tokens that are separated from the previous token by a space.
- span - Variable in record class opennlp.tools.document.Annotation
-
The field for the
spanrecord component. - span - Variable in class opennlp.tools.parser.Constituent
- span - Variable in class opennlp.tools.parser.Parse
-
The character offsets into the text for this constituent.
- span - Variable in record class opennlp.tools.tokenize.lattice.Morpheme
-
The field for the
spanrecord component. - span - Variable in record class opennlp.tools.tokenize.uax29.WordToken
-
The field for the
spanrecord component. - span - Variable in class opennlp.tools.util.normalizer.Term
- span() - Method in record class opennlp.tools.document.Annotation
-
Returns the value of the
spanrecord component. - span() - Method in record class opennlp.tools.tokenize.lattice.Morpheme
-
Returns the value of the
spanrecord component. - span() - Method in record class opennlp.tools.tokenize.uax29.WordToken
-
Returns the value of the
spanrecord component. - span() - Method in class opennlp.tools.util.normalizer.Term
-
Returns the source span of this token, or
nullif it was supplied as a pre-tokenized string. - Span - Class in opennlp.tools.util
-
Class for storing start and end integer offsets.
- Span(int, int) - Constructor for class opennlp.tools.util.Span
-
Initializes a new
Span. - Span(int, int, double) - Constructor for class opennlp.tools.util.Span
-
Initializes a new
Span. - Span(int, int, String) - Constructor for class opennlp.tools.util.Span
-
Initializes a new
Span. - Span(int, int, String, double) - Constructor for class opennlp.tools.util.Span
-
Initializes a new
Span. - Span(Span, double) - Constructor for class opennlp.tools.util.Span
- Span(Span, int) - Constructor for class opennlp.tools.util.Span
- SPAN_TYPE - Static variable in class opennlp.tools.formats.brat.AnnotationConfiguration
- SpanAnnotation - Class in opennlp.tools.formats.brat
- SpanAnnotation(String, String, Span[], String) - Constructor for class opennlp.tools.formats.brat.SpanAnnotation
- SpanAnnotationParser() - Constructor for class opennlp.tools.formats.brat.BratAnnotationStream.SpanAnnotationParser
- SPANISH - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- SPANISH - Static variable in class opennlp.tools.tokenize.lang.Factory
- spanishStemmer - Class in opennlp.tools.stemmer.snowball
-
This class implements the stemming algorithm defined by a snowball script.
- spanishStemmer() - Constructor for class opennlp.tools.stemmer.snowball.spanishStemmer
- spans - Variable in class opennlp.tools.formats.brat.SpanAnnotation
- spans - Variable in record class opennlp.tools.termvector.TermVector
-
The field for the
spansrecord component. - spans() - Method in record class opennlp.tools.termvector.TermVector
-
Returns the value of the
spansrecord component. - spansToStrings(Span[], CharSequence) - Static method in class opennlp.tools.util.Span
- spansToStrings(Span[], String[]) - Static method in class opennlp.tools.util.Span
- SPARSE_PREFIX - Static variable in class opennlp.tools.util.archive.TarStream
- SPECIAL - Static variable in class opennlp.tools.tokenize.uax29.WordSegmenter
- spend(long) - Method in class opennlp.tools.util.ResourceInstaller.Budget
-
Charges the given number of units against the budget.
- spi - Variable in class opennlp.tools.util.ext.Providers
- split(CharSequence) - Method in class opennlp.tools.util.normalizer.CharClass
-
Splits text into the maximal runs of non-member code points.
- split(CharSequence, char) - Static method in class opennlp.tools.util.StringUtil
-
Splits
inputaround literal occurrences ofseparator, with the same result asString.split(String)called with the single-character patternCharacter.toString(separator)and a limit of0: leading and middle empty fields are kept, trailing empty fields are removed, and empty input yields an array containing one empty string. - split(CharSequence, char, int) - Static method in class opennlp.tools.util.StringUtil
-
Splits
inputaround literal occurrences ofseparator, with the same limit contract asString.split(String, int)applied to the single-character patternCharacter.toString(separator): a positivelimitapplies at mostlimit - 1splits and keeps trailing empty fields;0applies unlimited splits and removes trailing empty fields, exactly likeStringUtil.split(CharSequence, char); a negativelimitapplies unlimited splits and keeps trailing empty fields. - split(String) - Static method in class opennlp.tools.ml.model.EventFields
-
Splits on runs of space, tab, carriage return, line feed, and form feed.
- SPLIT - Static variable in class opennlp.tools.sentdetect.SentenceDetectorME
-
Constant indicates a sentence split.
- SPLIT - Static variable in class opennlp.tools.tokenize.TokenizerME
-
Constant indicates a token split.
- splitByByteLength(String) - Static method in class opennlp.tools.ml.model.ModelParameterChunker
- splitClassPath(String, boolean) - Method in class opennlp.tools.models.simple.SimpleClassPathModelFinder
-
Splits
classPathon the platform's path separator,;on Windows and:elsewhere. - splitCsv(String, Path, int) - Static method in class opennlp.tools.tokenize.lattice.MecabDictionary
-
Splits a lexicon line on commas, honoring MeCab-style
"..."quoting with""escapes inside a quoted field. - splitHyphenatedTokens - Variable in class opennlp.tools.formats.ad.ADNameSampleStream
- splitLine(String) - Static method in class opennlp.tools.ml.model.EventFields
-
Splits an event line into its outcome and contexts, see
EventFields.split(String). - splitLines(String) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Splits text into lines with a single character scan.
- splitNonEmpty(CharSequence, char...) - Static method in class opennlp.tools.util.StringUtil
-
Splits
inputaround literal occurrences of any of theseparatorsand drops the empty fields that leading, trailing or adjacent separators would produce, so a run of separators acts as one and input made only of separators yields an empty array. - splitNonEmpty(CharSequence, IntPredicate) - Static method in class opennlp.tools.util.StringUtil
-
Splits
inputon runs of the code points thatseparatoraccepts and drops the empty fields that leading, trailing or adjacent separators would produce. - splitOnUnderscores(String) - Method in class opennlp.tools.formats.ad.ADNameSampleStream
-
Splits a lexeme on underscores into its non-empty parts, so a lexeme such as
Rio_de_Janeiroyields its three words. - splitOnUnicodeWhitespace(CharSequence) - Static method in class opennlp.tools.util.StringUtil
-
Splits
inputon runs of UnicodeWhite_Space. - splitOnWhitespace(CharSequence) - Static method in class opennlp.tools.util.StringUtil
-
Splits
inputon runs of whitespace under the activeWhitespaceMode, seeStringUtil.isWhitespace(char). - splitSpans(CharSequence) - Method in class opennlp.tools.util.normalizer.CharClass
-
Splits text into the maximal runs of non-member code points, as character spans into the original text.
- splitToSymbols(String) - Method in class opennlp.tools.tokenize.BPETokenizer
-
Splits a word into its initial character-level BPE symbol sequence.
- splitToSymbols(String) - Method in class opennlp.tools.tokenize.BPETokenizerTrainer
- SQUARE_BRACKET_CLOSE - Static variable in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
- stack - Variable in class opennlp.tools.depparse.ArcStandardState
- stack - Variable in class opennlp.tools.formats.frenchtreebank.ConstitDocumentHandler
- stack(int) - Method in class opennlp.tools.depparse.ArcStandardState
-
Retrieves a stack element counted from the top.
- stackSize() - Method in class opennlp.tools.depparse.ArcStandardState
- STAGING_PREFIX - Static variable in class opennlp.tools.util.ResourceInstaller
- start - Variable in class opennlp.tools.formats.ad.ADChunkSampleStream
- start - Variable in record class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Tag
-
The field for the
startrecord component. - start - Variable in record class opennlp.tools.formats.conllu.ConlluStream.MultiwordRange
-
The field for the
startrecord component. - start - Variable in class opennlp.tools.tokenize.lattice.LatticeTokenizer.Node
- start - Variable in record class opennlp.tools.tokenize.SubwordPiece
-
The field for the
startrecord component. - start - Variable in class opennlp.tools.util.Span
- start() - Method in record class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Tag
-
Returns the value of the
startrecord component. - start() - Method in record class opennlp.tools.formats.conllu.ConlluStream.MultiwordRange
-
Returns the value of the
startrecord component. - start() - Method in record class opennlp.tools.tokenize.SubwordPiece
-
Returns the value of the
startrecord component. - START - Static variable in class opennlp.tools.namefind.BilouCodec
- START - Static variable in class opennlp.tools.namefind.BioCodec
- START - Static variable in class opennlp.tools.namefind.NameFinderME
- START - Static variable in class opennlp.tools.parser.AbstractBottomUpParser
-
Prefix for outcomes starting a constituent.
- START_ANCHOR - Static variable in class opennlp.tools.stemmer.hunspell.HunspellConversion
-
Marks a
REPpattern that must begin the word. - START_TAG - Static variable in class opennlp.tools.namefind.NameSample
- START_TAG_PREFIX - Static variable in class opennlp.tools.namefind.NameSample
- START_VALUE_OFFSET - Static variable in class opennlp.tools.formats.brat.BratAnnotationStream.AnnotatorNoteParser
- startDocument() - Method in class opennlp.tools.dictionary.serializer.DictionaryEntryPersistor.DictionaryContenthandler
-
Not implemented.
- startElement(String, String, String, Attributes) - Method in class opennlp.tools.dictionary.serializer.DictionaryEntryPersistor.DictionaryContenthandler
- startElement(String, String, String, Attributes) - Method in class opennlp.tools.formats.frenchtreebank.ConstitDocumentHandler
- startElement(String, String, String, Attributes) - Method in class opennlp.tools.formats.masc.MascDocumentStream.HeaderHandler
- startElement(String, String, String, Attributes) - Method in class opennlp.tools.formats.masc.MascNamedEntityParser
- startElement(String, String, String, Attributes) - Method in class opennlp.tools.formats.masc.MascPennTagParser
- startElement(String, String, String, Attributes) - Method in class opennlp.tools.formats.masc.MascSentenceParser
- startElement(String, String, String, Attributes) - Method in class opennlp.tools.formats.masc.MascWordParser
- startElement(String, Map<String, String>) - Method in class opennlp.tools.formats.muc.MucNameContentHandler
- startElement(String, Map<String, String>) - Method in class opennlp.tools.formats.muc.SgmlParser.ContentHandler
-
Handles a SGML start element.
- startIndex - Variable in class opennlp.tools.ml.maxent.GISTrainer.ModelExpectationComputeTask
- startIndex - Variable in class opennlp.tools.ml.maxent.quasinewton.ParallelNegLogLikelihood.ComputeTask
- startPrefixMapping(String, String) - Method in class opennlp.tools.dictionary.serializer.DictionaryEntryPersistor.DictionaryContenthandler
-
Not implemented.
- starts - Variable in class opennlp.tools.tokenize.MappedText
- starts - Variable in class opennlp.tools.util.normalizer.Alignment.Builder
- startsWith(Span) - Method in class opennlp.tools.util.Span
- startsWithByteOrderMark(CharSequence) - Static method in class opennlp.tools.util.StringUtil
-
Tests whether
inputstarts with a byte order mark, U+FEFF, which a UTF-8 or UTF-16 text file may carry as its first character. - startsWithHeader(InputStream) - Static method in class opennlp.tools.util.archive.TarStream
-
Checks whether the given stream is positioned at a tar entry header, leaving its position unchanged.
- startTagType(String) - Static method in class opennlp.tools.namefind.NameSample
-
Extracts the type of a start tag accepted by
NameSample.isStartTag(String). - startTypeMap - Variable in class opennlp.tools.parser.chunking.Parser
- state - Variable in class opennlp.tools.depparse.ArcStandardBeam.Node
- state - Variable in class opennlp.tools.stemmer.DelegatingStemmer
-
The per-thread payload holder.
- state - Variable in record class opennlp.tools.tokenize.lattice.DoubleArrayLexicon.Builder.PendingNode
-
The field for the
staterecord component. - state() - Method in record class opennlp.tools.tokenize.lattice.DoubleArrayLexicon.Builder.PendingNode
-
Returns the value of the
staterecord component. - STATUS_COMMON - Static variable in class opennlp.tools.util.normalizer.FullCaseFoldCharSequenceNormalizer
-
CaseFolding.txtstatusC: common mapping shared by simple and full folding. - STATUS_FULL - Static variable in class opennlp.tools.util.normalizer.FullCaseFoldCharSequenceNormalizer
-
CaseFolding.txtstatusF: full mapping that may expand string length. - STATUS_SIMPLE - Static variable in class opennlp.tools.util.normalizer.FullCaseFoldCharSequenceNormalizer
-
CaseFolding.txtstatusS: simple mapping; skipped by this full fold. - STATUS_TURKIC - Static variable in class opennlp.tools.util.normalizer.FullCaseFoldCharSequenceNormalizer
-
CaseFolding.txtstatusT: Turkic mapping; skipped by this full fold. - StaxHolder() - Constructor for class opennlp.tools.util.XmlUtil.StaxHolder
- stem() - Method in class opennlp.tools.stemmer.PorterStemmer
-
Stem the word placed into the Stemmer buffer through calls to add().
- stem() - Method in class opennlp.tools.stemmer.snowball.AbstractSnowballStemmer
- stem() - Method in class opennlp.tools.stemmer.snowball.arabicStemmer
- stem() - Method in class opennlp.tools.stemmer.snowball.catalanStemmer
- stem() - Method in class opennlp.tools.stemmer.snowball.danishStemmer
- stem() - Method in class opennlp.tools.stemmer.snowball.dutchStemmer
- stem() - Method in class opennlp.tools.stemmer.snowball.englishStemmer
- stem() - Method in class opennlp.tools.stemmer.snowball.finnishStemmer
- stem() - Method in class opennlp.tools.stemmer.snowball.frenchStemmer
- stem() - Method in class opennlp.tools.stemmer.snowball.germanStemmer
- stem() - Method in class opennlp.tools.stemmer.snowball.greekStemmer
- stem() - Method in class opennlp.tools.stemmer.snowball.hungarianStemmer
- stem() - Method in class opennlp.tools.stemmer.snowball.indonesianStemmer
- stem() - Method in class opennlp.tools.stemmer.snowball.irishStemmer
- stem() - Method in class opennlp.tools.stemmer.snowball.italianStemmer
- stem() - Method in class opennlp.tools.stemmer.snowball.norwegianStemmer
- stem() - Method in class opennlp.tools.stemmer.snowball.porterStemmer
- stem() - Method in class opennlp.tools.stemmer.snowball.portugueseStemmer
- stem() - Method in class opennlp.tools.stemmer.snowball.romanianStemmer
- stem() - Method in class opennlp.tools.stemmer.snowball.russianStemmer
- stem() - Method in class opennlp.tools.stemmer.snowball.spanishStemmer
- stem() - Method in class opennlp.tools.stemmer.snowball.swedishStemmer
- stem() - Method in class opennlp.tools.stemmer.snowball.turkishStemmer
- stem(char[]) - Method in class opennlp.tools.stemmer.PorterStemmer
-
Stem a word contained in a char[].
- stem(char[], int) - Method in class opennlp.tools.stemmer.PorterStemmer
-
Stem a word contained in a leading portion of a char[] array.
- stem(char[], int, int) - Method in class opennlp.tools.stemmer.PorterStemmer
-
Stem a word contained in a portion of a char[] array.
- stem(int) - Method in class opennlp.tools.stemmer.PorterStemmer
- stem(CharSequence) - Method in class opennlp.tools.stemmer.CachingStemmer
-
Stems
word. - stem(CharSequence) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Stems
word. - stem(CharSequence) - Method in class opennlp.tools.stemmer.PorterStemmer
-
Stems
word. - stem(CharSequence) - Method in class opennlp.tools.stemmer.SharingStemmer
-
Stems
word. - stem(CharSequence) - Method in class opennlp.tools.stemmer.snowball.SnowballStemmer
-
Stems
word. - stem(CharSequence) - Method in class opennlp.tools.stemmer.snowball.SnowballStemmerFactory.ConfinedStemmer
-
Stems
word. - stem(CharSequence) - Method in interface opennlp.tools.stemmer.Stemmer
-
Stems
word. - stem(String) - Method in class opennlp.tools.stemmer.PorterStemmer
-
Stem a word provided as a String.
- stem(Stemmer) - Method in class opennlp.tools.util.normalizer.TermAnalyzer.Builder
-
Enables
Dimension.STEMthrough the given stemmer. - stem(StemmerFactory) - Method in class opennlp.tools.util.normalizer.TermAnalyzer.Builder
-
Enables
Dimension.STEMthrough aStemmerFactory. - stem(StemmerFactory, int) - Method in class opennlp.tools.util.normalizer.TermAnalyzer.Builder
-
Enables
Dimension.STEMthrough aStemmerFactorywith an explicit stem cache capacity, otherwise identical toTermAnalyzer.Builder.stem(StemmerFactory). - STEM - Enum constant in enum class opennlp.tools.util.normalizer.Dimension
-
Stemming through a configured
Stemmer. - STEM_FIELD - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- stemAll(CharSequence) - Method in class opennlp.tools.stemmer.CachingStemmer
-
Returns all stem forms for
word. - stemAll(CharSequence) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Returns all stem forms for
word. - stemAll(CharSequence) - Method in class opennlp.tools.stemmer.SharingStemmer
-
Returns all stem forms for
word. - stemAll(CharSequence) - Method in interface opennlp.tools.stemmer.Stemmer
-
Returns all stem forms for
word. - stemmer - Variable in class opennlp.tools.stemmer.StemmerAnnotator
- stemmer - Variable in class opennlp.tools.util.normalizer.TermAnalyzer.Builder
- stemmer - Variable in class opennlp.tools.util.normalizer.TermAnalyzer
- Stemmer - Interface in opennlp.tools.stemmer
-
Reduces a word to its root form.
- stemmerAlgorithm - Variable in class opennlp.tools.util.normalizer.NormalizationProfile
- stemmerAlgorithm() - Method in class opennlp.tools.util.normalizer.NormalizationProfile
-
Returns the Snowball algorithm for the language.
- StemmerAnnotator - Class in opennlp.tools.stemmer
-
Adapts a
Stemmerto the document pipeline: stems the token layer and providesStemmerAnnotator.STEMS, one annotation per token on the token's span. - StemmerAnnotator(Stemmer) - Constructor for class opennlp.tools.stemmer.StemmerAnnotator
-
Initializes the adapter.
- StemmerAnnotatorProvider - Class in opennlp.tools.stemmer
-
Provides a
StemmerAnnotatorunder the name "stemmer". - StemmerAnnotatorProvider() - Constructor for class opennlp.tools.stemmer.StemmerAnnotatorProvider
- stemmerFactory() - Method in class opennlp.tools.util.normalizer.NormalizationProfile
-
Returns a thread-safe factory for this language's Snowball stemmer.
- StemmerFactory - Interface in opennlp.tools.stemmer
-
A factory that captures a stemmer configuration and creates configured
Stemmerinstances on demand. - stems - Variable in class opennlp.tools.stemmer.hunspell.HunspellStemmer.Analysis
- stems - Variable in record class opennlp.tools.stemmer.hunspell.HunspellStemmer.CompoundPart
-
The field for the
stemsrecord component. - stems() - Method in record class opennlp.tools.stemmer.hunspell.HunspellStemmer.CompoundPart
-
Returns the value of the
stemsrecord component. - STEMS - Static variable in class opennlp.tools.stemmer.StemmerAnnotator
-
The stem layer.
- step1() - Method in class opennlp.tools.stemmer.PorterStemmer
- step2() - Method in class opennlp.tools.stemmer.PorterStemmer
- step3() - Method in class opennlp.tools.stemmer.PorterStemmer
- step4() - Method in class opennlp.tools.stemmer.PorterStemmer
- step5() - Method in class opennlp.tools.stemmer.PorterStemmer
- step6() - Method in class opennlp.tools.stemmer.PorterStemmer
- steps - Variable in class opennlp.tools.util.normalizer.AlignedAggregateCharSequenceNormalizer
- steps - Variable in class opennlp.tools.util.normalizer.TextNormalizer.Builder
- stepSize - Variable in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- stepSizeDecrease - Variable in class opennlp.tools.ml.perceptron.PerceptronTrainer
- STOP - Static variable in class opennlp.tools.monitoring.IterDeltaAccuracyUnderTolerance
- STOP - Static variable in class opennlp.tools.monitoring.LogLikelihoodThresholdBreached
- stopCriteria - Variable in record class opennlp.tools.util.TrainingConfiguration
-
The field for the
stopCriteriarecord component. - stopCriteria() - Method in record class opennlp.tools.util.TrainingConfiguration
-
Returns the value of the
stopCriteriarecord component. - StopCriteria<T> - Interface in opennlp.tools.monitoring
-
Stop criteria for model training.
- StopwordFilter - Interface in opennlp.tools.stopword
-
A pluggable filter that decides whether a token (or a sequence of tokens) is a stopword that should be removed during downstream text processing.
- StopwordFilteringTokenizer - Class in opennlp.tools.stopword
-
A
Tokenizerdecorator which delegates tokenization to a wrappedTokenizerand then removes any tokens identified as stopwords by the suppliedStopwordFilter. - StopwordFilteringTokenizer(Tokenizer, StopwordFilter) - Constructor for class opennlp.tools.stopword.StopwordFilteringTokenizer
-
Initializes a
StopwordFilteringTokenizer. - StopwordFilterStream - Class in opennlp.tools.stopword
-
A
FilterObjectStreamwhich removes stopwords from eachString[]sample produced by an underlyingObjectStream<String[]>. - StopwordFilterStream(ObjectStream<String[]>, StopwordFilter) - Constructor for class opennlp.tools.stopword.StopwordFilterStream
-
Initializes a
StopwordFilterStream. - StopwordLists - Class in opennlp.tools.stopword
-
Static factory for
StopwordFilterinstances backed by bundled language-specific stopword resources or caller-supplied input streams. - StopwordLists() - Constructor for class opennlp.tools.stopword.StopwordLists
- stopwords() - Method in class opennlp.tools.stopword.DictionaryStopwordFilter
-
Returns an unmodifiable snapshot of the registered single-token stopwords.
- stopwords() - Method in interface opennlp.tools.stopword.StopwordFilter
-
Returns an unmodifiable snapshot of the registered single-token stopwords.
- storeChecksumFile(Path, String) - Static method in class opennlp.tools.util.DownloadUtil
-
Stores the published checksum file alongside the model.
- storedSamples - Variable in class opennlp.tools.formats.muc.MucNameContentHandler
- storedSamples - Variable in class opennlp.tools.formats.muc.MucNameSampleStream
- storeLocalIndex(String) - Method in class opennlp.tools.util.DownloadUtil.DownloadParser
-
Stores the index page as the local copy.
- stream - Variable in class opennlp.tools.util.AbstractObjectStream
- StreamFactoryRegistry - Class in opennlp.tools.cmdline
-
Registry for
object stream factories. - StreamFactoryRegistry() - Constructor for class opennlp.tools.cmdline.StreamFactoryRegistry
- STRICT - Enum constant in enum class opennlp.tools.stemmer.hunspell.HunspellDictionary.LoadMode
-
Reject unsupported directives, including unknown directive names.
- StringArgumentFactory() - Constructor for class opennlp.tools.cmdline.ArgumentParser.StringArgumentFactory
- StringCPLengthPair(String, int) - Constructor for record class opennlp.tools.langdetect.LanguageDetectorME.StringCPLengthPair
-
Creates an instance of a
StringCPLengthPairrecord class. - StringInterner - Interface in opennlp.tools.util.jvm
-
A marker-interface for a String interner implementation.
- StringInterners - Class in opennlp.tools.util.jvm
-
Provides string interning utility methods.
- StringInterners() - Constructor for class opennlp.tools.util.jvm.StringInterners
- StringList - Class in opennlp.tools.util
-
A
StringListis an immutable list ofStrings. - StringList(boolean, String...) - Constructor for class opennlp.tools.util.StringList
-
Initializes a
StringListinstance. - StringList(String) - Constructor for class opennlp.tools.util.StringList
-
Initializes a
StringListinstance. - StringList(String...) - Constructor for class opennlp.tools.util.StringList
-
Initializes a
StringListinstance. - StringPattern - Class in opennlp.tools.util.featuregen
-
Recognizes predefined patterns in strings.
- StringPattern(int, int) - Constructor for class opennlp.tools.util.featuregen.StringPattern
- StringUtil - Class in opennlp.tools.util
- StringUtil() - Constructor for class opennlp.tools.util.StringUtil
- strip - Variable in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.Affix
-
The field for the
striprecord component. - strip() - Method in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.Affix
-
Returns the value of the
striprecord component. - stripByteOrderMark(String) - Static method in class opennlp.tools.util.StringUtil
-
Removes one leading byte order mark, U+FEFF, from
input. - stripByteOrderMark(Properties) - Method in class opennlp.tools.util.ext.Providers
- stripComment(String) - Static method in class opennlp.tools.util.normalizer.HexCodePoints
-
Removes a trailing comment from a data file line.
- stripInvisible() - Method in class opennlp.tools.util.normalizer.TextNormalizer.Builder
-
Returns this builder with invisible/bidi control stripping appended.
- stripPresentationSelector(CharSequence) - Static method in class opennlp.tools.util.normalizer.EmojiAnnotations
-
Removes every U+FE0F VARIATION SELECTOR-16 from
symbol. - strokeLetter(int) - Static method in class opennlp.tools.util.normalizer.AccentFoldCharSequenceNormalizer
- stupidBackoff(StringList) - Method in class opennlp.tools.languagemodel.NGramLanguageModel
- sType - Variable in class opennlp.tools.namefind.RegexNameFinder
- SUB_TOKEN_PART2_PREFIX - Static variable in class opennlp.tools.util.featuregen.TokenPatternFeatureGenerator
- SUB_TOKEN_PART3_PREFIX - Static variable in class opennlp.tools.util.featuregen.TokenPatternFeatureGenerator
- SUB_TOKEN_PREFIX - Static variable in class opennlp.tools.util.featuregen.TokenPatternFeatureGenerator
- subcat - Variable in class opennlp.tools.formats.frenchtreebank.ConstitDocumentHandler
- subclassSerializersInitiated - Variable in class opennlp.tools.util.model.BaseModel
- substitute(CharSequence, IntFunction<String>) - Static method in class opennlp.tools.util.normalizer.CharClass
-
Applies a per-code-point substitution: each code point for which
substitutionreturns a non-null string is replaced by that string, and the rest are copied through. - substitute(CharSequence, EmojiEmoticons.Direction, boolean) - Static method in class opennlp.tools.util.normalizer.EmojiEmoticons
-
Applies the direction table in a single longest-match-first cursor pass.
- substituteAligned(CharSequence, IntFunction<String>) - Static method in class opennlp.tools.util.normalizer.CharClass
-
Like
CharClass.substitute(CharSequence, IntFunction)but also produces theAlignmentback to the original text. - substituteAligned(CharSequence, EmojiEmoticons.Direction, boolean) - Static method in class opennlp.tools.util.normalizer.EmojiEmoticons
-
Like
EmojiEmoticons.substitute(CharSequence, Direction, boolean)but also produces theAlignmentback to the original text. - substring_i - Variable in class opennlp.tools.stemmer.snowball.Among
- SubwordPiece - Record Class in opennlp.tools.tokenize
-
One subword unit produced by a
SubwordTokenizer, including the model representation and source range. - SubwordPiece(String, int, int, int) - Constructor for record class opennlp.tools.tokenize.SubwordPiece
-
Instantiates a
SubwordPiece. - SubwordTokenizer - Interface in opennlp.tools.tokenize
-
Splits text into subword units from a fixed model vocabulary, reporting the model id and original-text span for each unit.
- suffix - Variable in class opennlp.tools.stemmer.hunspell.AffixCondition
-
Whether the owning rule is a suffix rule, which anchors the condition at the end.
- suffix - Variable in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.Affix
-
The field for the
suffixrecord component. - suffix() - Method in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.Affix
-
Returns the value of the
suffixrecord component. - SUFFIX_ANN - Static variable in class opennlp.tools.formats.brat.BratDocumentStream
- SUFFIX_LENGTH - Static variable in class opennlp.tools.lemmatizer.DefaultLemmatizerContextGenerator
- SUFFIX_LENGTH - Static variable in class opennlp.tools.postag.DefaultPOSContextGenerator
- SUFFIX_TAG - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
The line tag of a suffix block and of every rule line inside it.
- SUFFIX_TXT - Static variable in class opennlp.tools.formats.brat.BratDocumentStream
- suffixes - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary.AffixFile
- suffixesByLast - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- suffixesEndingWith(int) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
The suffix rules whose affix material ends in the given code point, which are the only material-bearing rules that can be undone from a word ending in it.
- suffixesWithoutMaterial - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- suffixesWithoutMaterial() - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Returns the strip-only suffix rules, applicable to any word.
- SuffixFeatureGenerator - Class in opennlp.tools.util.featuregen
-
A feature generator implementation that generates suffix-based features.
- SuffixFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.SuffixFeatureGenerator
-
Intializes a
SuffixFeatureGenerator. - SuffixFeatureGenerator(int) - Constructor for class opennlp.tools.util.featuregen.SuffixFeatureGenerator
-
Intializes a
SuffixFeatureGeneratorwith the specifiedsuffixLength. - SuffixFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
A
GeneratorFactorythat producesSuffixFeatureGeneratorinstances whenSuffixFeatureGeneratorFactory.create()is called. - SuffixFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.SuffixFeatureGeneratorFactory
- suffixLength - Variable in class opennlp.tools.util.featuregen.SuffixFeatureGenerator
- sum - Variable in class opennlp.tools.util.eval.Mean
-
The sum of all added values.
- sumFeatures(Context[], float[], double[]) - Static method in class opennlp.tools.ml.ArrayMath
- supplementaryEnd - Variable in class opennlp.tools.tokenize.uax29.WordBreakProperty.Data
- supplementaryStart - Variable in class opennlp.tools.tokenize.uax29.WordBreakProperty.Data
- supplementaryValue - Variable in class opennlp.tools.tokenize.uax29.WordBreakProperty.Data
- SUPPORTED_LANGUAGES - Static variable in class opennlp.tools.stopword.StopwordLists
- supportedLanguages() - Static method in class opennlp.tools.stopword.StopwordLists
- supportedLanguages() - Static method in class opennlp.tools.util.normalizer.NormalizationProfiles
-
Returns the ISO 639-3 codes of the supported languages.
- supporting(ProviderSpec) - Method in class opennlp.tools.util.ext.Providers
- supports(int[], int) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Checks whether one homonym supports an affix analysis, under the conditions of
HunspellDictionary.supports(List, int). - supports(List<int[]>, int) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Checks whether some homonym supports an affix analysis: its flag set carries the affix's flag and is neither compound-only nor forbidden.
- supports(Providers.Registration<P>, ProviderSpec) - Method in class opennlp.tools.util.ext.Providers
- supports(ProviderSpec) - Method in class opennlp.tools.stemmer.StemmerAnnotatorProvider
- supports(ProviderSpec) - Method in interface opennlp.tools.util.ext.Provider
-
Checks whether this provider can create an instance for a spec, based on the spec alone.
- SUPPORTS_METHOD - Static variable in class opennlp.tools.util.ext.Providers
- supportsCompoundCrossProduct(int[], HunspellDictionary.CompoundPosition, HunspellDictionary.Affix, HunspellDictionary.Affix, HunspellDictionary.Affix...) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Checks a compound cross-product reading.
- supportsCrossProduct(int[], HunspellDictionary.Affix, HunspellDictionary.Affix) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Checks whether one homonym supports a cross-product analysis, under the conditions of
HunspellDictionary.supportsCrossProduct(List, Affix, Affix). - supportsCrossProduct(List<int[]>, HunspellDictionary.Affix, HunspellDictionary.Affix) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Checks whether some homonym supports a cross-product analysis.
- supportsPart(int[], int, HunspellDictionary.CompoundPosition, boolean) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Checks whether one homonym supports an affixed compound part, under the conditions of
HunspellDictionary.supportsPart(List, int, CompoundPosition, boolean). - supportsPart(List<int[]>, int, HunspellDictionary.CompoundPosition, boolean) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Checks whether some homonym supports an affixed compound part.
- SuppressForbidden - Annotation Interface in opennlp.tools.commons
-
Marks a member with a public contract that is a user-supplied regular expression, for example the patterns given to
RegexNameFinderor the alphanumericPatternaccepted by the tokenizer factories. - surface - Variable in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankFlex
- surface - Variable in class opennlp.tools.stemmer.hunspell.HunspellStemmer.Analysis
- surface - Variable in record class opennlp.tools.stemmer.hunspell.HunspellStemmer.CompoundPart
-
The field for the
surfacerecord component. - surface - Variable in record class opennlp.tools.tokenize.lattice.Morpheme
-
The field for the
surfacerecord component. - surface() - Method in record class opennlp.tools.stemmer.hunspell.HunspellStemmer.CompoundPart
-
Returns the value of the
surfacerecord component. - surface() - Method in record class opennlp.tools.tokenize.lattice.Morpheme
-
Returns the value of the
surfacerecord component. - SURFACE_PREFIX_FIELD - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- surfaces - Variable in class opennlp.tools.tokenize.lattice.DoubleArrayLexicon.Builder
- surround(Parse, int, String, Collection<Parse>, List<String>) - Method in class opennlp.tools.parser.AbstractContextGenerator
-
Generates features for nodes surrounding a completed node of the specified
type. - SWEDISH - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- swedishStemmer - Class in opennlp.tools.stemmer.snowball
-
This class implements the stemming algorithm defined by a snowball script.
- swedishStemmer() - Constructor for class opennlp.tools.stemmer.snowball.swedishStemmer
- SYLLABLE_NUMBER_TAG - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- syllableNumber - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary.AffixFile
- syllableNumber - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- symbol - Variable in record class opennlp.tools.util.normalizer.EmojiAnnotation
-
The field for the
symbolrecord component. - symbol() - Method in record class opennlp.tools.util.normalizer.EmojiAnnotation
-
Returns the value of the
symbolrecord component. - SYMBOL_CLOSE - Static variable in class opennlp.tools.formats.muc.SgmlParser
- SYMBOL_CLOSE - Static variable in class opennlp.tools.formats.ontonotes.OntoNotesNameSampleStream
- SYMBOL_EQUALS - Static variable in class opennlp.tools.formats.muc.SgmlParser
- SYMBOL_HASH - Static variable in class opennlp.tools.formats.brat.AnnotationConfiguration
- SYMBOL_OPEN - Static variable in class opennlp.tools.formats.muc.SgmlParser
- SYMBOL_OPEN - Static variable in class opennlp.tools.formats.ontonotes.OntoNotesNameSampleStream
- SYMBOL_PLUS - Static variable in class opennlp.tools.formats.ad.PortugueseContractionUtility
- SYMBOL_QUOT - Static variable in class opennlp.tools.formats.muc.SgmlParser
- SYMBOL_SLASH - Static variable in class opennlp.tools.formats.muc.SgmlParser
- SymbolPair(String, String) - Constructor for record class opennlp.tools.tokenize.BPETokenizer.SymbolPair
-
Creates a new
BPETokenizer.SymbolPair. - SYMBOLS - Enum constant in enum class opennlp.tools.util.normalizer.EmojiCategory
-
Upstream group
Symbols: signs, arrows, punctuation-like and abstract symbols. - syntacticTag - Variable in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.TreeElement
T
- TAB - Static variable in class opennlp.tools.util.featuregen.BrownCluster
- table - Variable in record class opennlp.tools.util.normalizer.EmojiEmoticons.Direction
-
The field for the
tablerecord component. - table() - Method in record class opennlp.tools.util.normalizer.EmojiEmoticons.Direction
-
Returns the value of the
tablerecord component. - Tables(EmojiEmoticons.Direction, EmojiEmoticons.Direction) - Constructor for record class opennlp.tools.util.normalizer.EmojiEmoticons.Tables
-
Creates an instance of a
Tablesrecord class. - tag - Variable in record class opennlp.tools.util.TokenTag
-
The field for the
tagrecord component. - tag() - Method in record class opennlp.tools.util.TokenTag
-
Returns the value of the
tagrecord component. - tag(int, String[]) - Method in class opennlp.tools.postag.POSTaggerME
-
Returns at most the specified
numTaggingsfor the specifiedsentence. - tag(String[]) - Method in interface opennlp.tools.postag.POSTagger
-
Assigns the sentence of tokens pos tags.
- tag(String[]) - Method in class opennlp.tools.postag.POSTaggerME
-
Assigns the sentence of tokens pos tags.
- tag(String[]) - Method in class opennlp.tools.postag.ThreadSafePOSTaggerME
-
Deprecated.
- tag(String[], Object[]) - Method in interface opennlp.tools.postag.POSTagger
-
Assigns the sentence of tokens pos tags.
- tag(String[], Object[]) - Method in class opennlp.tools.postag.POSTaggerME
-
Assigns the sentence of tokens pos tags.
- tag(String[], Object[]) - Method in class opennlp.tools.postag.ThreadSafePOSTaggerME
-
Deprecated.
- Tag(int, int, int) - Constructor for record class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Tag
-
Creates an instance of a
Tagrecord class. - TAG - Enum constant in enum class opennlp.tools.parser.ParserEventTypeEnum
-
Deprecated.
- TAG_CLOSE - Static variable in class opennlp.tools.formats.ad.ADNameSampleStream
- TAG_CLOSE - Static variable in class opennlp.tools.formats.ad.ADSentenceStream
- TAG_DICTIONARY_ENTRY_NAME - Static variable in class opennlp.tools.postag.POSTaggerFactory
- TAG_DOC_CLOSE - Static variable in class opennlp.tools.formats.ontonotes.OntoNotesNameSampleStream
- TAG_DOC_OPEN - Static variable in class opennlp.tools.formats.ontonotes.OntoNotesNameSampleStream
- TAG_ENAMEX_CLOSE - Static variable in class opennlp.tools.formats.ontonotes.OntoNotesNameSampleStream
- TAG_ENAMEX_OPEN - Static variable in class opennlp.tools.formats.ontonotes.OntoNotesNameSampleStream
- TAG_END - Static variable in class opennlp.tools.namefind.NameSample
-
Ends a start tag.
- TAG_END - Static variable in class opennlp.tools.util.DownloadUtil.DownloadParser
- TAG_GROUP_CLOSE - Static variable in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
- TAG_GROUP_OPEN - Static variable in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
- TAG_JOIN - Static variable in class opennlp.tools.formats.ad.ADPOSSampleStream
- TAG_OFFSET - Static variable in class opennlp.tools.util.normalizer.EmojiFlags
- TAG_OPEN - Static variable in class opennlp.tools.formats.ad.ADNameSampleStream
- TAG_OPEN - Static variable in class opennlp.tools.formats.ad.ADSentenceStream
- TAG_SEPARATOR - Static variable in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
- TAG_SEQUENCE - Static variable in class opennlp.tools.util.normalizer.EmojiAnnotator
- tagColumn - Variable in class opennlp.tools.formats.conllu.ConlluDependencySampleStream
- tagContent(String) - Method in class opennlp.tools.formats.ad.ADNameSampleStream
-
Extracts the content of a NER tag in Arvores Deitadas format, between the optional
NER:prefix and the closing angle bracket. - tagContextGenerator - Variable in class opennlp.tools.parser.AbstractParserEventStream
- tagdicCutoff - Variable in class opennlp.tools.postag.POSTaggerCrossValidator
- tagDictionary - Variable in class opennlp.tools.postag.DefaultPOSSequenceValidator
- tagDictionary - Variable in class opennlp.tools.postag.POSTaggerME
-
TagDictionaryused for restricting words to a fixed set of tags. - TagDictionary - Interface in opennlp.tools.postag
-
Interface to determine which tags are valid for a particular word based on a tag dictionary.
- tagDictionaryFile - Variable in class opennlp.tools.postag.POSTaggerCrossValidator
- tagger - Variable in class opennlp.tools.parser.AbstractBottomUpParser
-
The pos-tagger that the parser uses.
- tagger - Variable in class opennlp.tools.postag.POSEvaluator
- tagger - Variable in class opennlp.tools.postag.POSTaggerAnnotator
- tagIds - Variable in class opennlp.tools.depparse.FeedforwardNetwork
- tagIds() - Method in class opennlp.tools.depparse.FeedforwardNetwork
- tagPatterns - Variable in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules.HeadRule
- tagRows - Variable in class opennlp.tools.depparse.FeedforwardContext
- tagRows(String[]) - Method in class opennlp.tools.depparse.FeedforwardNetwork
-
Resolves the tags of a sentence to their tag rows once.
- tags - Variable in class opennlp.tools.chunker.ChunkSample
- tags - Variable in class opennlp.tools.depparse.DependencySample
- tags - Variable in class opennlp.tools.lemmatizer.LemmaSample
- tags - Variable in class opennlp.tools.parser.lang.en.HeadRules.HeadRule
- tags - Variable in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules.HeadRule
- tags - Variable in class opennlp.tools.postag.POSSample
- TAGS1 - Static variable in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules
- TAGS1_PATTERNS - Static variable in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules
- TAGS2 - Static variable in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules
- TAGS2_PATTERNS - Static variable in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules
- TAGS3 - Static variable in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules
- TAGS3_PATTERNS - Static variable in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules
- tagsEnd - Variable in record class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.LeafRest
-
The field for the
tagsEndrecord component. - tagsEnd() - Method in record class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.LeafRest
-
Returns the value of the
tagsEndrecord component. - tagset - Variable in class opennlp.tools.formats.conllu.ConlluLemmaSampleStream
- tagset - Variable in class opennlp.tools.formats.conllu.ConlluPOSSampleStream
- tagsToString(String[]) - Static method in class opennlp.tools.postag.POSDictionary
- target - Variable in class opennlp.tools.util.eval.FMeasure
-
|target| = true positives + false negatives
the count of target (or correct) items. - target - Variable in record class opennlp.tools.util.normalizer.EmojiEmoticons.Mapping
-
The field for the
targetrecord component. - target() - Method in record class opennlp.tools.util.normalizer.EmojiEmoticons.Mapping
-
Returns the value of the
targetrecord component. - TarStream - Class in opennlp.tools.util.archive
- TarStream(InputStream) - Constructor for class opennlp.tools.util.archive.TarStream
-
Initializes the reader.
- TarStream(InputStream, long) - Constructor for class opennlp.tools.util.archive.TarStream
-
Initializes a reader with an archive-entry limit.
- TEMP_EXTENSION - Static variable in class opennlp.tools.util.DownloadUtil
- tempScores - Variable in class opennlp.tools.ml.BeamSearch.CacheState
- tempSums - Variable in class opennlp.tools.ml.maxent.quasinewton.NegLogLikelihood
- tempSums - Variable in class opennlp.tools.ml.maxent.quasinewton.ParallelNegLogLikelihood.NegLLComputeTask
- term - Variable in record class opennlp.tools.termvector.TermVector
-
The field for the
termrecord component. - term() - Method in record class opennlp.tools.termvector.TermVector
-
Returns the value of the
termrecord component. - Term - Class in opennlp.tools.util.normalizer
-
One token as a stack of normalization layers.
- Term(TermAnalyzer, String, Span, String) - Constructor for class opennlp.tools.util.normalizer.Term
-
Creates a term and eagerly computes the analyzer's configured dimensions.
- TERM_VECTORS - Static variable in class opennlp.tools.termvector.TermVectorAnnotator
-
The key of the term vector layer this annotator provides: a document-scoped layer of
TermVectorvalues, one per distinct term. - TermAnalyzer - Class in opennlp.tools.util.normalizer
- TermAnalyzer(TermAnalyzer.Builder) - Constructor for class opennlp.tools.util.normalizer.TermAnalyzer
-
Constructs an analyzer from the builder's configured chain, transforms, and engines.
- TermAnalyzer.Builder - Class in opennlp.tools.util.normalizer
-
A builder for
TermAnalyzer. - terminal - Variable in record class opennlp.tools.stemmer.hunspell.HunspellConversion.Rule
-
The field for the
terminalrecord component. - terminal - Variable in class opennlp.tools.util.normalizer.UnicodeEmojiSequences.Node
- terminal() - Method in record class opennlp.tools.stemmer.hunspell.HunspellConversion.Rule
-
Returns the value of the
terminalrecord component. - TerminateToolException - Exception Class in opennlp.tools.cmdline
-
Exception to terminate the execution of a command line tool.
- TerminateToolException(int) - Constructor for exception class opennlp.tools.cmdline.TerminateToolException
- TerminateToolException(int, String) - Constructor for exception class opennlp.tools.cmdline.TerminateToolException
- TerminateToolException(int, String, Throwable) - Constructor for exception class opennlp.tools.cmdline.TerminateToolException
- termOf(Annotation<String>, AlignedText, String) - Method in class opennlp.tools.termvector.TermVectorAnnotator
-
Determines the term one token groups under: its covered text as-is, its covered text normalized on its own when a plain per-token normalizer is present, or the covered text of its span mapped into the normalized form when an offset-aware normalizer is present.
- TermVector - Record Class in opennlp.tools.termvector
-
One entry of a term vector layer: a term, how often it occurs in the document, and where.
- TermVector(String, int, List<Span>) - Constructor for record class opennlp.tools.termvector.TermVector
-
Validates the term vector and detaches the span list from the caller's input.
- TermVectorAnnotator - Class in opennlp.tools.termvector
-
Rolls the token layer up into a term vector layer for index consumers: one
TermVectorper distinct term, carrying the term string, its occurrence count, and (infull mode) the occurrence offsets. - TermVectorAnnotator() - Constructor for class opennlp.tools.termvector.TermVectorAnnotator
-
Initializes a
full modeannotator that groups tokens by their covered text as-is. - TermVectorAnnotator(TermVectorAnnotator.Mode) - Constructor for class opennlp.tools.termvector.TermVectorAnnotator
-
Initializes an annotator that groups tokens by their covered text as-is.
- TermVectorAnnotator(CharSequenceNormalizer) - Constructor for class opennlp.tools.termvector.TermVectorAnnotator
-
Initializes a
full modeannotator that groups tokens by their per-token normalized form. - TermVectorAnnotator(CharSequenceNormalizer, TermVectorAnnotator.Mode) - Constructor for class opennlp.tools.termvector.TermVectorAnnotator
-
Initializes an annotator that groups tokens by their per-token normalized form.
- TermVectorAnnotator(OffsetAwareNormalizer) - Constructor for class opennlp.tools.termvector.TermVectorAnnotator
-
Initializes a
full modeannotator that groups tokens by their normalized form through a whole-document alignment. - TermVectorAnnotator(OffsetAwareNormalizer, TermVectorAnnotator.Mode) - Constructor for class opennlp.tools.termvector.TermVectorAnnotator
-
Initializes an annotator that groups tokens by their normalized form through a whole-document alignment.
- TermVectorAnnotator.Mode - Enum Class in opennlp.tools.termvector
-
How much each
TermVectorrecords. - test(CharSequence) - Method in class opennlp.tools.tokenize.TokenizerCharacterPolicy
- test(Double) - Method in class opennlp.tools.monitoring.IterDeltaAccuracyUnderTolerance
- test(Double) - Method in class opennlp.tools.monitoring.LogLikelihoodThresholdBreached
- testIndex - Variable in class opennlp.tools.util.eval.CrossValidationPartitioner
-
The index of test part.
- testIndex - Variable in class opennlp.tools.util.eval.CrossValidationPartitioner.TestSampleStream
- testIndex - Variable in class opennlp.tools.util.eval.CrossValidationPartitioner.TrainingSampleStream
- testSampleStream - Variable in class opennlp.tools.util.eval.CrossValidationPartitioner.TrainingSampleStream
- TestSampleStream(ObjectStream<E>, int, int) - Constructor for class opennlp.tools.util.eval.CrossValidationPartitioner.TestSampleStream
- text - Variable in class opennlp.tools.doccat.DocumentSample
- text - Variable in class opennlp.tools.document.ImmutableDocument
- text - Variable in record class opennlp.tools.formats.ad.ADMetadata.TextAndParagraph
-
The field for the
textrecord component. - text - Variable in class opennlp.tools.formats.ad.ADSentenceSampleStream
- text - Variable in record class opennlp.tools.formats.ad.ADSentenceStream.Sentence
-
The field for the
textrecord component. - text - Variable in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
- text - Variable in class opennlp.tools.formats.brat.BratDocument
- text - Variable in class opennlp.tools.formats.frenchtreebank.ConstitDocumentHandler
- text - Variable in class opennlp.tools.formats.masc.MascSentence
- text - Variable in class opennlp.tools.formats.muc.MucNameContentHandler
- text - Variable in class opennlp.tools.formats.nkjp.NKJPSentenceSampleStream
- text - Variable in class opennlp.tools.parser.Parse
-
The text string on which this parse is based.
- text - Variable in class opennlp.tools.tokenize.TokenSample
- text() - Method in interface opennlp.tools.document.Document
- text() - Method in class opennlp.tools.document.ImmutableDocument
- text() - Method in record class opennlp.tools.formats.ad.ADMetadata.TextAndParagraph
-
Returns the value of the
textrecord component. - text() - Method in record class opennlp.tools.formats.ad.ADSentenceStream.Sentence
-
Returns the value of the
textrecord component. - text() - Method in class opennlp.tools.tokenize.MappedText
-
Returns the mapped character content, the first
MappedText.lengthcode units. - text(CharSequence) - Method in record class opennlp.tools.tokenize.uax29.WordToken
-
Returns the covered text of this token.
- TEXT_LANG_PREFIX - Static variable in class opennlp.tools.formats.conllu.ConlluStream
- TEXT_TAG - Static variable in class opennlp.tools.formats.ad.ADSentenceStream
- TextAndParagraph(int, int) - Constructor for record class opennlp.tools.formats.ad.ADMetadata.TextAndParagraph
-
Creates an instance of a
TextAndParagraphrecord class. - textComment - Variable in class opennlp.tools.formats.conllu.ConlluSentence
- TextEmbedder - Interface in opennlp.tools.embeddings
-
Encodes text into a fixed-length vector.
- TextEmbedderProvider - Interface in opennlp.tools.embeddings
-
The SPI for
TextEmbedderproviders. - textEnd - Variable in record class opennlp.tools.formats.ad.ADMetadata.IdSpans
-
The field for the
textEndrecord component. - textEnd() - Method in record class opennlp.tools.formats.ad.ADMetadata.IdSpans
-
Returns the value of the
textEndrecord component. - textFiles - Variable in class opennlp.tools.formats.DirectorySampleStream
- textID - Variable in class opennlp.tools.formats.ad.ADNameSampleStream
- textIdMeta2 - Variable in class opennlp.tools.formats.ad.ADNameSampleStream
-
The number of distinct LIT or CIE texts read so far, minus one.
- textLang - Variable in class opennlp.tools.formats.conllu.ConlluSentence
- textMeta2 - Variable in class opennlp.tools.formats.ad.ADNameSampleStream
-
The LIT or CIE text name of the sentence read last.
- TextNormalizer - Class in opennlp.tools.util.normalizer
-
Entry point for composing normalization steps into a single
CharSequenceNormalizer. - TextNormalizer() - Constructor for class opennlp.tools.util.normalizer.TextNormalizer
-
Prevents instantiation; use the static factory methods.
- TextNormalizer.Builder - Class in opennlp.tools.util.normalizer
-
A fluent builder that appends normalization steps in order and composes them into one
CharSequenceNormalizerviaTextNormalizer.Builder.build(). - textPrefix(String) - Static method in class opennlp.tools.formats.ad.ADMetadata
-
Reads the ASCII letters and hyphens before the text id, which name the text in literary corpora.
- texts - Variable in class opennlp.tools.formats.nkjp.NKJPTextDocument
- textStart - Variable in record class opennlp.tools.formats.ad.ADMetadata.IdSpans
-
The field for the
textStartrecord component. - textStart() - Method in record class opennlp.tools.formats.ad.ADMetadata.IdSpans
-
Returns the value of the
textStartrecord component. - thEosCharacters - Static variable in class opennlp.tools.sentdetect.lang.Factory
- threadIndex - Variable in class opennlp.tools.ml.maxent.GISTrainer.ModelExpectationComputeTask
- threadIndex - Variable in class opennlp.tools.ml.maxent.quasinewton.ParallelNegLogLikelihood.ComputeTask
- threadLocal - Variable in class opennlp.tools.langdetect.ThreadSafeLanguageDetectorME
-
Deprecated.
- threadLocal - Variable in class opennlp.tools.sentdetect.ThreadSafeSentenceDetectorME
-
Deprecated.
- threads - Variable in class opennlp.tools.ml.maxent.quasinewton.ParallelNegLogLikelihood
- threads - Variable in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
- THREADS_DEFAULT - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
- THREADS_PARAM - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
- THREADS_PARAM - Static variable in interface opennlp.tools.util.Parameters
- ThreadSafe - Annotation Interface in opennlp.tools.commons
-
Classes, fields, or methods annotated
@ThreadSafeare safe to use in multithreading contexts. - ThreadSafeChunkerME - Class in opennlp.tools.chunker
-
Deprecated.As of OPENNLP-1816,
ChunkerMEis itself thread-safe. Use it directly instead. - ThreadSafeChunkerME(ChunkerModel) - Constructor for class opennlp.tools.chunker.ThreadSafeChunkerME
-
Deprecated.Initializes a
ThreadSafeChunkerMEwith the specifiedmodel. - ThreadSafeLanguageDetectorME - Class in opennlp.tools.langdetect
-
Deprecated.As of OPENNLP-1816,
LanguageDetectorMEis itself thread-safe. Use it directly instead. - ThreadSafeLanguageDetectorME(LanguageDetectorModel) - Constructor for class opennlp.tools.langdetect.ThreadSafeLanguageDetectorME
-
Deprecated.Initializes a
ThreadSafeLanguageDetectorMEwith the specifiedmodel. - ThreadSafeLemmatizerME - Class in opennlp.tools.lemmatizer
-
Deprecated.As of OPENNLP-1816,
LemmatizerMEis itself thread-safe. Use it directly instead. - ThreadSafeLemmatizerME(LemmatizerModel) - Constructor for class opennlp.tools.lemmatizer.ThreadSafeLemmatizerME
-
Deprecated.Initializes a
ThreadSafeLemmatizerMEwith the specifiedmodel. - ThreadSafeNameFinderME - Class in opennlp.tools.namefind
-
Deprecated.As of OPENNLP-1816,
NameFinderMEis itself thread-safe. Use it directly instead. - ThreadSafeNameFinderME(TokenNameFinderModel) - Constructor for class opennlp.tools.namefind.ThreadSafeNameFinderME
-
Deprecated.Initializes a
ThreadSafeNameFinderMEwith the specifiedmodel. - ThreadSafePOSTaggerME - Class in opennlp.tools.postag
-
Deprecated.As of OPENNLP-1816,
POSTaggerMEis itself thread-safe. Use it directly instead. - ThreadSafePOSTaggerME(String) - Constructor for class opennlp.tools.postag.ThreadSafePOSTaggerME
-
Deprecated.Initializes a
ThreadSafePOSTaggerMEby downloading a default model for a givenlanguage. - ThreadSafePOSTaggerME(String, POSTagFormat) - Constructor for class opennlp.tools.postag.ThreadSafePOSTaggerME
-
Deprecated.Initializes a
ThreadSafePOSTaggerMEby downloading a default model for a givenlanguage. - ThreadSafePOSTaggerME(POSModel) - Constructor for class opennlp.tools.postag.ThreadSafePOSTaggerME
-
Deprecated.Initializes a
ThreadSafePOSTaggerMEwith the specifiedmodel. - ThreadSafePOSTaggerME(POSModel, POSTagFormat) - Constructor for class opennlp.tools.postag.ThreadSafePOSTaggerME
-
Deprecated.Initializes a
ThreadSafePOSTaggerMEwith the specifiedmodel. - ThreadSafeSentenceDetectorME - Class in opennlp.tools.sentdetect
-
Deprecated.As of OPENNLP-1816,
SentenceDetectorMEis itself thread-safe. Use it directly instead. - ThreadSafeSentenceDetectorME(String) - Constructor for class opennlp.tools.sentdetect.ThreadSafeSentenceDetectorME
-
Deprecated.Initializes a
ThreadSafeSentenceDetectorMEby downloading a default model for a givenlanguage. - ThreadSafeSentenceDetectorME(SentenceModel) - Constructor for class opennlp.tools.sentdetect.ThreadSafeSentenceDetectorME
-
Deprecated.Initializes a
ThreadSafeSentenceDetectorMEwith the specifiedmodel. - ThreadSafeSentenceDetectorME(SentenceModel, Dictionary) - Constructor for class opennlp.tools.sentdetect.ThreadSafeSentenceDetectorME
-
Deprecated.Instantiates a
ThreadSafeSentenceDetectorMEwith an existingSentenceModel. - ThreadSafeTokenizerME - Class in opennlp.tools.tokenize
-
Deprecated.As of OPENNLP-1816,
TokenizerMEis itself thread-safe. Use it directly instead. - ThreadSafeTokenizerME(String) - Constructor for class opennlp.tools.tokenize.ThreadSafeTokenizerME
-
Deprecated.Initializes a
ThreadSafeTokenizerMEby downloading a default model for a givenlanguage. - ThreadSafeTokenizerME(TokenizerModel) - Constructor for class opennlp.tools.tokenize.ThreadSafeTokenizerME
-
Deprecated.Initializes a
ThreadSafeTokenizerMEwith the specifiedmodel. - ThreadSafeTokenizerME(TokenizerModel, Dictionary) - Constructor for class opennlp.tools.tokenize.ThreadSafeTokenizerME
-
Deprecated.Instantiates a
ThreadSafeTokenizerMEwith an existingTokenizerModel. - threadState - Variable in class opennlp.tools.ml.BeamSearch
- threadState - Variable in class opennlp.tools.postag.ConfigurablePOSContextGenerator
- threadState - Variable in class opennlp.tools.util.featuregen.AdditionalContextFeatureGenerator
-
Per-thread additional context (same role as the former mutable instance field).
- threadState - Variable in class opennlp.tools.util.featuregen.CachedFeatureGenerator
- threadState - Variable in class opennlp.tools.util.featuregen.DocumentBeginFeatureGenerator
-
First sentence tokens for the document (same role as the former
firstSentencefield). - threadState - Variable in class opennlp.tools.util.featuregen.InSpanGenerator
- threadState - Variable in class opennlp.tools.util.featuregen.POSTaggerNameFeatureGenerator
-
Per-thread sentence cache; the previous
String[] cachedTokens / cachedTagsfields raced under concurrentfind()calls when the enclosingNameFinderMEwas shared. - threadState - Variable in class opennlp.tools.util.featuregen.PreviousMapFeatureGenerator
- threadState - Variable in class opennlp.tools.util.featuregen.PreviousTwoMapFeatureGenerator
- threadState - Variable in class opennlp.tools.util.OwnerOrPerThreadState
- ThreadState(Stemmer, int) - Constructor for class opennlp.tools.stemmer.CachingStemmer.ThreadState
-
Creates the per-thread delegate and its access-ordered LRU cache.
- threadStateSupplier(StemmerFactory, int) - Static method in class opennlp.tools.stemmer.CachingStemmer
-
Validates the constructor arguments eagerly and returns a supplier that mints one delegate and its per-thread cache, so invalid arguments fail at construction rather than on first use.
- threadValue - Variable in class opennlp.tools.util.LastResultOwnerOrThreadLocal
- throwMarkExceptionIfOccurred() - Method in class opennlp.tools.util.MarkableFileInputStream
- tiedClasses(List<Providers.Registration<P>>) - Method in class opennlp.tools.util.ext.Providers
- TIME_ELEMENT_NAME - Static variable in class opennlp.tools.formats.muc.MucNameContentHandler
- timeoutMillis(Duration) - Static method in class opennlp.tools.util.ResourceInstaller
-
Converts a timeout to the millisecond form the connection setters take.
- TIMESTAMP_PROPERTY - Static variable in class opennlp.tools.util.model.BaseModel
- TITLE_TAG - Static variable in class opennlp.tools.formats.ad.ADSentenceStream
- to - Variable in record class opennlp.tools.stemmer.hunspell.HunspellConversion.Rule
-
The field for the
torecord component. - to() - Method in record class opennlp.tools.stemmer.hunspell.HunspellConversion.Rule
-
Returns the value of the
torecord component. - toArray() - Method in class opennlp.tools.tokenize.uax29.WordSegmenter.IntList
- toArray() - Method in class opennlp.tools.util.normalizer.CodePointSet
-
Returns the member code points, in ascending order.
- toAscii(int) - Static method in class opennlp.tools.util.normalizer.DigitCharSequenceNormalizer
-
Maps a code point to its ASCII digit fold.
- toCaseInsensitive() - Method in class opennlp.tools.util.StringList
- toCaseSensitive() - Method in class opennlp.tools.util.StringList
- toCharacterSpan(List<Annotation<String>>, int, int, Span, String) - Static method in class opennlp.tools.document.DocumentAnnotators
-
Maps a span over one sentence's tokens onto the character span those tokens cover.
- toContraction(String, String) - Static method in class opennlp.tools.formats.ad.PortugueseContractionUtility
-
Merges a contraction.
- toDictionary() - Method in class opennlp.tools.ngram.NGramModel
-
Creates a dictionary which contain all
StringListwhich are in the currentNGramModel. - toDictionary(boolean) - Method in class opennlp.tools.ngram.NGramModel
-
Creates a dictionary which contains all
StringLists which are in the currentNGramModel. - toDoubleArray(List<Double>) - Static method in class opennlp.tools.ml.ArrayMath
-
Convert a list of
Doubleobjects into an array of primitive doubles. - toDoubleBuffer() - Method in class opennlp.tools.util.wordvector.DoubleArrayVector
- toDoubleBuffer() - Method in class opennlp.tools.util.wordvector.FloatArrayVector
- toDoubleBuffer() - Method in interface opennlp.tools.util.wordvector.WordVector
- toFloatBuffer() - Method in class opennlp.tools.util.wordvector.DoubleArrayVector
- toFloatBuffer() - Method in class opennlp.tools.util.wordvector.FloatArrayVector
- toFloatBuffer() - Method in interface opennlp.tools.util.wordvector.WordVector
- toIndexedStringArray(Map<String, Integer>) - Static method in class opennlp.tools.ml.model.AbstractDataIndexer
-
Utility method for creating a
String[]from a map whose keys are labels (Strings) to be stored in the array and whose values are the indices (Integers) at which the corresponding labels should be inserted. - toIntArray(List<Integer>) - Static method in class opennlp.tools.ml.ArrayMath
-
Convert a list of
Integerobjects into an array of primitive integers. - toIso6391(String) - Static method in class opennlp.tools.util.LanguageCodeValidator
-
Converts a three-letter ISO 639-2/3 code, terminologic (
"nld") or bibliographic ("dut"), to its ISO 639-1 two-letter equivalent ("nl"). - toIso6393(String) - Static method in class opennlp.tools.util.LanguageCodeValidator
-
Converts an ISO 639-1 two-letter code (
"de") or an ISO 639-2 bibliographic code ("ger") to its ISO 639-2/3 three-letter equivalent ("deu"). - TOK_NODE - Static variable in interface opennlp.tools.parser.Parser
-
The label for a token node.
- token - Variable in class opennlp.tools.dictionary.serializer.DictionaryEntryPersistor.DictionaryContenthandler
- token - Variable in record class opennlp.tools.util.TokenTag
-
The field for the
tokenrecord component. - token() - Method in record class opennlp.tools.util.TokenTag
-
Returns the value of the
tokenrecord component. - token(int, int, WordType) - Method in interface opennlp.tools.tokenize.uax29.WordTokenizer.TokenHandler
-
Accepts one word token.
- TOKEN_AND_CLASS_PREFIX - Static variable in class opennlp.tools.util.featuregen.TokenClassFeatureGenerator
- TOKEN_CLASS_PREFIX - Static variable in class opennlp.tools.util.featuregen.TokenClassFeatureGenerator
- TOKEN_ELEMENT - Static variable in class opennlp.tools.dictionary.serializer.DictionaryEntryPersistor
- TOKEN_END_PROPERTY - Static variable in class opennlp.tools.sentdetect.SentenceDetectorFactory
- tokenBuffer - Variable in class opennlp.tools.formats.frenchtreebank.ConstitDocumentHandler
-
A token buffer, a token might be build up by multiple
ConstitDocumentHandler.characters(char[], int, int)calls. - TokenClassFeatureGenerator - Class in opennlp.tools.util.featuregen
-
Generates features for the class of a token.
- TokenClassFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.TokenClassFeatureGenerator
-
Initializes a
TokenClassFeatureGeneratorwhich won't generate thew&cfeature per token. - TokenClassFeatureGenerator(boolean) - Constructor for class opennlp.tools.util.featuregen.TokenClassFeatureGenerator
-
Initializes a
TokenClassFeatureGenerator. - TokenClassFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
A
GeneratorFactorythat producesTokenClassFeatureGeneratorinstances whenTokenClassFeatureGeneratorFactory.create()is called. - TokenClassFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.TokenClassFeatureGeneratorFactory
- TokenContextGenerator - Interface in opennlp.tools.tokenize
-
Interface for context generators required for
tokenizer implementations. - tokenConversionMap - Variable in class opennlp.tools.formats.ontonotes.OntoNotesNameSampleStream
- tokenCount - Variable in class opennlp.tools.depparse.ArcStandardState
- tokenCount() - Method in class opennlp.tools.depparse.ArcStandardState
- tokenDictionary - Variable in class opennlp.tools.util.featuregen.WordClusterFeatureGenerator
- tokenFeature(String) - Static method in class opennlp.tools.util.featuregen.FeatureGeneratorUtil
-
Generates a class name for the specified token.
- TokenFeatureGenerator - Class in opennlp.tools.util.featuregen
-
Generates a feature which contains a token itself.
- TokenFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.TokenFeatureGenerator
-
Initializes a
TokenFeatureGenerator. - TokenFeatureGenerator(boolean) - Constructor for class opennlp.tools.util.featuregen.TokenFeatureGenerator
-
Initializes a
TokenFeatureGenerator. - TokenFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
A
GeneratorFactorythat producesTokenFeatureGeneratorinstances whenTokenFeatureGeneratorFactory.create()is called. - TokenFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.TokenFeatureGeneratorFactory
- tokenId - Variable in class opennlp.tools.formats.masc.MascToken
- tokenIndex(int[], int, int, Parse) - Method in class opennlp.tools.parser.ParserAnnotator
-
Maps an offset in the parse text, the tokens joined by single spaces, to the index of the token it lies in or, for a span end, ends.
- tokenize(CharSequence, WordTokenizer.TokenHandler) - Method in class opennlp.tools.tokenize.uax29.WordTokenizer
-
Streams the word tokens of
texttohandlerin order, allocating nothing. - tokenize(String) - Method in class opennlp.tools.stopword.StopwordFilteringTokenizer
-
Tokenizes the supplied string with the wrapped
Tokenizerand then removes any tokens which theStopwordFilterconsiders a stopword. - tokenize(String) - Method in class opennlp.tools.tokenize.AbstractTokenizer
- tokenize(String) - Method in class opennlp.tools.tokenize.BPETokenizer
-
Splits a string into its atomic parts.
- tokenize(String) - Method in class opennlp.tools.tokenize.lattice.LatticeTokenizer
-
Splits a string into its atomic parts.
- tokenize(String) - Method in class opennlp.tools.tokenize.lattice.UnigramSegmenter
-
Splits a string into its atomic parts.
- tokenize(String) - Method in class opennlp.tools.tokenize.ThreadSafeTokenizerME
-
Deprecated.
- tokenize(String) - Method in interface opennlp.tools.tokenize.Tokenizer
-
Splits a string into its atomic parts.
- tokenize(String) - Method in class opennlp.tools.tokenize.uax29.WordTokenizer
-
Returns the word tokens of
textas strings, in order. - tokenize(String) - Method in class opennlp.tools.tokenize.WordpieceTokenizer
-
Splits a string into its atomic parts.
- tokenizePenn(Map<Integer, int[]>, Map<Integer, int[]>, Map<Integer, String>, Map<Integer, String>) - Method in class opennlp.tools.formats.masc.MascSentence
-
Add the Penn tokenization and POS tagging to the sentence.
- tokenizePos(String) - Method in class opennlp.tools.stopword.StopwordFilteringTokenizer
-
Computes token spans with the wrapped
Tokenizerand then drops the spans covering any stopword entry according to theStopwordFilter. - tokenizePos(String) - Method in class opennlp.tools.tokenize.BPETokenizer
-
Finds the boundaries of atomic parts in a string.
- tokenizePos(String) - Method in class opennlp.tools.tokenize.lattice.LatticeTokenizer
-
Finds the boundaries of atomic parts in a string.
- tokenizePos(String) - Method in class opennlp.tools.tokenize.lattice.UnigramSegmenter
-
Finds the boundaries of atomic parts in a string.
- tokenizePos(String) - Method in class opennlp.tools.tokenize.SimpleTokenizer
- tokenizePos(String) - Method in class opennlp.tools.tokenize.ThreadSafeTokenizerME
-
Deprecated.
- tokenizePos(String) - Method in interface opennlp.tools.tokenize.Tokenizer
-
Finds the boundaries of atomic parts in a string.
- tokenizePos(String) - Method in class opennlp.tools.tokenize.TokenizerME
-
Tokenizes the string.
- tokenizePos(String) - Method in class opennlp.tools.tokenize.uax29.WordTokenizer
-
Returns the offset spans of the word tokens of
text, in order. - tokenizePos(String) - Method in class opennlp.tools.tokenize.WhitespaceTokenizer
- tokenizePos(String) - Method in class opennlp.tools.tokenize.WordpieceTokenizer
-
Not supported: wordpiece tokens (subwords,
##continuations and special tokens) have no faithful character spans in the original text. - tokenizer - Variable in class opennlp.tools.formats.brat.BratDocumentParser
- tokenizer - Variable in class opennlp.tools.formats.muc.MucNameContentHandler
- tokenizer - Variable in class opennlp.tools.formats.muc.MucNameSampleStream
- tokenizer - Variable in class opennlp.tools.formats.TwentyNewsgroupSampleStream
- tokenizer - Variable in class opennlp.tools.sentiment.SentimentFactory
- tokenizer - Variable in class opennlp.tools.tokenize.TokenizerAnnotator
- tokenizer - Variable in class opennlp.tools.tokenize.TokenizerEvaluator
-
The
Tokenizerused to create the predicted tokens. - tokenizer - Variable in class opennlp.tools.tokenize.TokenizerStream
- tokenizer - Variable in class opennlp.tools.util.featuregen.TokenPatternFeatureGenerator
- tokenizer - Variable in class opennlp.tools.util.normalizer.TermAnalyzer.Builder
- tokenizer - Variable in class opennlp.tools.util.normalizer.TermAnalyzer
- tokenizer(WordTokenizer) - Method in class opennlp.tools.util.normalizer.TermAnalyzer.Builder
-
Sets the tokenizer used by
TermAnalyzer.analyze(CharSequence). - Tokenizer - Interface in opennlp.tools.tokenize
-
The interface for tokenizers, which segment a string into its tokens.
- TOKENIZER - Enum constant in enum class opennlp.tools.models.ModelType
- TOKENIZER_MODEL_ENTRY - Static variable in class opennlp.tools.tokenize.TokenizerModel
- TOKENIZER_NAME - Static variable in class opennlp.tools.sentiment.SentimentFactory
- TokenizerAnnotator - Class in opennlp.tools.tokenize
-
Adapts a
Tokenizerto the document pipeline: providesLayers.TOKENS. - TokenizerAnnotator(Tokenizer) - Constructor for class opennlp.tools.tokenize.TokenizerAnnotator
-
Initializes the adapter.
- TokenizerCharacterPolicy - Class in opennlp.tools.tokenize
-
An immutable policy for testing token eligibility against explicit character sets.
- TokenizerCharacterPolicy(CodePointSet, CodePointSet, CodePointSet) - Constructor for class opennlp.tools.tokenize.TokenizerCharacterPolicy
- TokenizerCrossValidator - Class in opennlp.tools.tokenize
-
A cross validator for
tokenizers. - TokenizerCrossValidator(TrainingParameters, TokenizerFactory, TokenizerEvaluationMonitor...) - Constructor for class opennlp.tools.tokenize.TokenizerCrossValidator
-
Creates a
TokenizerCrossValidatorusing the givenTokenizerFactory. - TokenizerEvaluationMonitor - Interface in opennlp.tools.tokenize
-
A marker interface for evaluating
tokenizers. - TokenizerEvaluator - Class in opennlp.tools.tokenize
-
The
TokenizerEvaluatormeasures the performance of the givenTokenizerwith the provided referencesamples. - TokenizerEvaluator(Tokenizer, TokenizerEvaluationMonitor...) - Constructor for class opennlp.tools.tokenize.TokenizerEvaluator
-
Initializes an instance to evaluate a
Tokenizer. - TokenizerFactory - Class in opennlp.tools.tokenize
-
The factory that provides
Tokenizerdefault implementation and resources. - TokenizerFactory() - Constructor for class opennlp.tools.tokenize.TokenizerFactory
-
Instantiates a
TokenizerFactorythat provides the default implementation of the resources. - TokenizerFactory(String, Dictionary, boolean) - Constructor for class opennlp.tools.tokenize.TokenizerFactory
-
Instantiates a
TokenizerFactorywith theTokenizerCharacterPolicyof its language. - TokenizerFactory(String, Dictionary, boolean, Pattern) - Constructor for class opennlp.tools.tokenize.TokenizerFactory
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
TokenizerFactory(String, Dictionary, boolean, TokenizerCharacterPolicy). This constructor will be removed in 4.0. - TokenizerFactory(String, Dictionary, boolean, TokenizerCharacterPolicy) - Constructor for class opennlp.tools.tokenize.TokenizerFactory
-
Instantiates a
TokenizerFactory. - TokenizerFactory.PatternCheck - Class in opennlp.tools.tokenize
-
Checks a candidate token against a whole-match regular expression, for factories and event streams configured with a custom alphanumeric
Pattern. - TokenizerME - Class in opennlp.tools.tokenize
-
A
Tokenizerfor converting raw text into separated tokens. - TokenizerME(String) - Constructor for class opennlp.tools.tokenize.TokenizerME
-
Initializes a
TokenizerMEby downloading a default model. - TokenizerME(TokenizerModel) - Constructor for class opennlp.tools.tokenize.TokenizerME
-
Instantiates a
TokenizerMEwith an existingTokenizerModel. - TokenizerME(TokenizerModel, Dictionary) - Constructor for class opennlp.tools.tokenize.TokenizerME
-
Instantiates a
TokenizerMEwith an existingTokenizerModel. - TokenizerME.TokenizerState - Class in opennlp.tools.tokenize
- TokenizerModel - Class in opennlp.tools.tokenize
-
The
TokenizerModelis the model used by a learnableTokenizer. - TokenizerModel(File) - Constructor for class opennlp.tools.tokenize.TokenizerModel
-
Initializes a
TokenizerModelinstance via a validFile. - TokenizerModel(InputStream) - Constructor for class opennlp.tools.tokenize.TokenizerModel
-
Initializes a
TokenizerModelinstance via a validInputStream. - TokenizerModel(URL) - Constructor for class opennlp.tools.tokenize.TokenizerModel
-
Initializes a
TokenizerModelinstance via a validURL. - TokenizerModel(Path) - Constructor for class opennlp.tools.tokenize.TokenizerModel
-
Initializes a
TokenizerModelinstance via a validPath. - TokenizerModel(MaxentModel, Map<String, String>, TokenizerFactory) - Constructor for class opennlp.tools.tokenize.TokenizerModel
-
Initializes a
TokenizerModelinstance via aMaxentModeland related resources. - TokenizerState() - Constructor for class opennlp.tools.tokenize.TokenizerME.TokenizerState
- TokenizerStream - Class in opennlp.tools.tokenize
- TokenizerStream(Tokenizer, ObjectStream<String>) - Constructor for class opennlp.tools.tokenize.TokenizerStream
-
Initializes a
instance. - tokenizeSpans(CharSequence) - Method in class opennlp.tools.tokenize.uax29.WordTokenizer
-
Computes the offset spans of the word tokens in
text, in order. - tokenizeTyped(CharSequence) - Method in class opennlp.tools.tokenize.uax29.WordTokenizer
-
Returns the word tokens in
text, each carrying itsWordType, in order. - TokenNameFinder - Interface in opennlp.tools.namefind
-
The interface for name finders which provide name tags for a sequence of tokens.
- TokenNameFinderCrossValidator - Class in opennlp.tools.namefind
-
Cross validator for
TokenNameFinder. - TokenNameFinderCrossValidator(String, String, TrainingParameters, byte[], Map<String, Object>, TokenNameFinderEvaluationMonitor...) - Constructor for class opennlp.tools.namefind.TokenNameFinderCrossValidator
-
Initializes a
TokenNameFinderCrossValidatorwith the given parameters. - TokenNameFinderCrossValidator(String, String, TrainingParameters, byte[], Map<String, Object>, SequenceCodec<String>, TokenNameFinderEvaluationMonitor...) - Constructor for class opennlp.tools.namefind.TokenNameFinderCrossValidator
-
Initializes a
TokenNameFinderCrossValidatorwith the given parameters. - TokenNameFinderCrossValidator(String, String, TrainingParameters, TokenNameFinderFactory, TokenNameFinderEvaluationMonitor...) - Constructor for class opennlp.tools.namefind.TokenNameFinderCrossValidator
-
Initializes a
TokenNameFinderCrossValidatorwith the given parameters. - TokenNameFinderCrossValidator.DocumentSample - Record Class in opennlp.tools.namefind
- TokenNameFinderCrossValidator.DocumentToNameSampleStream - Class in opennlp.tools.namefind
-
Splits
document samplesintoname samples. - TokenNameFinderCrossValidator.NameToDocumentSampleStream - Class in opennlp.tools.namefind
-
Reads
samplesto group them as a document based on the clear adaptive data flag. - TokenNameFinderEvaluationMonitor - Interface in opennlp.tools.namefind
-
A marker interface for evaluating
name finders. - TokenNameFinderEvaluator - Class in opennlp.tools.namefind
-
The
TokenNameFinderEvaluatormeasures the performance of the givenTokenNameFinderwith the provided referencesamples. - TokenNameFinderEvaluator(TokenNameFinder, TokenNameFinderEvaluationMonitor...) - Constructor for class opennlp.tools.namefind.TokenNameFinderEvaluator
-
Initializes a
TokenNameFinderEvaluatorfor a givenTokenNameFinder. - TokenNameFinderFactory - Class in opennlp.tools.namefind
-
The factory that provides
TokenNameFinderdefault implementations and resources. - TokenNameFinderFactory() - Constructor for class opennlp.tools.namefind.TokenNameFinderFactory
-
Initializes a
TokenNameFinderFactorythat provides the default implementation of the resources. - TokenNameFinderFactory(byte[], Map<String, Object>, SequenceCodec<String>) - Constructor for class opennlp.tools.namefind.TokenNameFinderFactory
-
Initializes a
TokenNameFinderFactoryinstance via given parameters. - TokenNameFinderModel - Class in opennlp.tools.namefind
-
The
TokenNameFinderModelis the model used by a learnableTokenNameFinder. - TokenNameFinderModel(File) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
-
Initializes a
TokenNameFinderModelinstance via a validFile. - TokenNameFinderModel(InputStream) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
-
Initializes a
TokenNameFinderModelinstance via a validInputStream. - TokenNameFinderModel(String, MaxentModel, byte[], Map<String, Object>, Map<String, String>) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
-
Initializes a
TokenNameFinderModelinstance via given parameters. - TokenNameFinderModel(String, MaxentModel, int, byte[], Map<String, Object>, Map<String, String>) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
-
Initializes a
TokenNameFinderModelinstance via given parameters. - TokenNameFinderModel(String, MaxentModel, int, byte[], Map<String, Object>, Map<String, String>, SequenceCodec<String>, TokenNameFinderFactory) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
-
Initializes a
TokenNameFinderModelinstance via given parameters. - TokenNameFinderModel(String, MaxentModel, Map<String, Object>, Map<String, String>) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
-
Initializes a
TokenNameFinderModelinstance via given parameters. - TokenNameFinderModel(String, SequenceClassificationModel, byte[], Map<String, Object>, Map<String, String>, SequenceCodec<String>, TokenNameFinderFactory) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
-
Initializes a
TokenNameFinderModelinstance via given parameters. - TokenNameFinderModel(URL) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
-
Initializes a
TokenNameFinderModelinstance via a validURL. - TokenNameFinderModel(Path) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
-
Initializes a
TokenNameFinderModelinstance via a validPath. - TokenNameFinderModel.FeatureGeneratorCreationError - Exception Class in opennlp.tools.namefind
- tokenNormalizer - Variable in class opennlp.tools.termvector.TermVectorAnnotator
- TokenPatternFeatureGenerator - Class in opennlp.tools.util.featuregen
-
Partitions tokens into sub-tokens based on character classes and generates class features for each of the sub-tokens and combinations of those sub-tokens.
- TokenPatternFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.TokenPatternFeatureGenerator
-
Initializes a
TokenPatternFeatureGenerator. - TokenPatternFeatureGenerator(Tokenizer) - Constructor for class opennlp.tools.util.featuregen.TokenPatternFeatureGenerator
-
Initializes a
TokenPatternFeatureGeneratorinstance. - TokenPatternFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
A
GeneratorFactoryinstantiatesTokenPatternFeatureGeneratorinstances whenTokenPatternFeatureGeneratorFactory.create()is called. - TokenPatternFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.TokenPatternFeatureGeneratorFactory
- tokens - Variable in class opennlp.tools.depparse.DependencySample
- tokens - Variable in class opennlp.tools.dictionary.Index
- tokens - Variable in record class opennlp.tools.dictionary.serializer.Entry
-
The field for the
tokensrecord component. - tokens - Variable in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankSentence
- tokens - Variable in class opennlp.tools.formats.letsmt.LetsmtDocument.LetsmtDocumentHandler
- tokens - Variable in class opennlp.tools.formats.letsmt.LetsmtDocument.LetsmtSentence
- tokens - Variable in class opennlp.tools.lemmatizer.LemmaSample
- tokens - Variable in class opennlp.tools.util.StringList
- tokens() - Method in record class opennlp.tools.dictionary.serializer.Entry
-
Returns the value of the
tokensrecord component. - tokens() - Method in class opennlp.tools.util.wordvector.MapWordVectorTable
- tokens() - Method in interface opennlp.tools.util.wordvector.WordVectorTable
- TOKENS - Static variable in class opennlp.tools.document.Layers
-
Token boundaries; each annotation covers one token and carries its text.
- TokenSample - Class in opennlp.tools.tokenize
-
A
TokenSampleis text with token spans. - TokenSample(String, Span[]) - Constructor for class opennlp.tools.tokenize.TokenSample
-
Initializes a
instance. - TokenSample(Detokenizer, String[]) - Constructor for class opennlp.tools.tokenize.TokenSample
-
Initializes a
instancevia aDetokenizer. - TokenSampleStream - Class in opennlp.tools.tokenize.lang.en
-
Class which produces an Iterator<TokenSample> from a file of whitespace delimited tokens.
- TokenSampleStream - Class in opennlp.tools.tokenize
-
This class is a
stream filterwhich reads in string encoded samples and createssamplesout of them. - TokenSampleStream(InputStream) - Constructor for class opennlp.tools.tokenize.lang.en.TokenSampleStream
- TokenSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.tokenize.TokenSampleStream
-
Initializes a
instance. - TokenSampleStream(ObjectStream<String>, String) - Constructor for class opennlp.tools.tokenize.TokenSampleStream
-
Initializes a
instance. - TokenSampleStreamFactory - Class in opennlp.tools.formats
-
Factory producing OpenNLP
TokenSampleStreams. - TokenSampleStreamFactory(Class<TokenSampleStreamFactory.Parameters>) - Constructor for class opennlp.tools.formats.TokenSampleStreamFactory
- TokenSampleStreamFactory.Parameters - Interface in opennlp.tools.formats
- tokensById - Variable in class opennlp.tools.formats.masc.MascSentence
- tokenSpans - Variable in class opennlp.tools.tokenize.TokenSample
- tokenStack - Variable in class opennlp.tools.formats.masc.MascPennTagParser
- tokenStackTag - Variable in class opennlp.tools.formats.masc.MascPennTagParser
- TokenTag - Record Class in opennlp.tools.util
- TokenTag(String, String, String[]) - Constructor for record class opennlp.tools.util.TokenTag
-
Creates an instance of a
TokenTagrecord class. - tokenToBase - Variable in class opennlp.tools.formats.masc.MascPennTagParser
- tokenToClusterMap - Variable in class opennlp.tools.util.featuregen.BrownCluster
- tokenToClusterMap - Variable in class opennlp.tools.util.featuregen.WordClusterDictionary
- tokenToEntity - Variable in class opennlp.tools.formats.masc.MascNamedEntityParser
- tokenToQuarks - Variable in class opennlp.tools.formats.masc.MascPennTagParser
- tokenToTag - Variable in class opennlp.tools.formats.masc.MascPennTagParser
- tokProbs - Variable in class opennlp.tools.tokenize.TokenizerME.TokenizerState
- TokSpanEventStream - Class in opennlp.tools.tokenize
- TokSpanEventStream(ObjectStream<TokenSample>, boolean) - Constructor for class opennlp.tools.tokenize.TokSpanEventStream
-
Initializes a new event stream based on the data stream using a
TokenContextGeneratorthat relies on aDefaultTokenContextGenerator. - TokSpanEventStream(ObjectStream<TokenSample>, boolean, Pattern, TokenContextGenerator) - Constructor for class opennlp.tools.tokenize.TokSpanEventStream
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
TokSpanEventStream(ObjectStream, boolean, TokenizerCharacterPolicy, TokenContextGenerator). This constructor will be removed in 4.0. - TokSpanEventStream(ObjectStream<TokenSample>, boolean, AlphanumericCheck, TokenContextGenerator) - Constructor for class opennlp.tools.tokenize.TokSpanEventStream
-
Initializes a new event stream with the check that decides which candidate tokens count as alphanumeric.
- TokSpanEventStream(ObjectStream<TokenSample>, boolean, TokenContextGenerator) - Constructor for class opennlp.tools.tokenize.TokSpanEventStream
-
Initializes a new event stream based on the data stream using a
TokenContextGeneratorandFactory.DEFAULT_CHARACTER_POLICY. - TokSpanEventStream(ObjectStream<TokenSample>, boolean, TokenizerCharacterPolicy, TokenContextGenerator) - Constructor for class opennlp.tools.tokenize.TokSpanEventStream
-
Initializes a new event stream based on the data stream using a
TokenContextGenerator. - tolerance - Variable in class opennlp.tools.ml.perceptron.PerceptronTrainer
- TOLERANCE_DEFAULT - Static variable in class opennlp.tools.ml.perceptron.PerceptronTrainer
- toLine(Event) - Static method in class opennlp.tools.ml.model.FileEventStream
-
Generates a string representing the specified event.
- toLower(char) - Static method in class opennlp.tools.util.normalizer.AsciiChars
-
Returns
clower cased if it is an ASCII capital letter, otherwisecunchanged. - toLower(int) - Static method in class opennlp.tools.util.normalizer.AsciiChars
-
Returns
codePointlower cased if it is an ASCII capital letter, otherwisecodePointunchanged. - toLowerCase(CharSequence) - Static method in class opennlp.tools.util.StringUtil
-
Converts a
CharSequenceto lower case, independent of the currentLocaleviaCharacter.toLowerCase(int)which uses mapping information from the UnicodeData file. - toLowerCase(CharSequence, int, int) - Static method in class opennlp.tools.sentdetect.SentenceDetectorME.AbbreviationIndex
-
Lower-cases
[from, to)exactly asStringUtil.toLowerCase(CharSequence)lower-cases a whole text: per code point viaCharacter.toLowerCase(int). - toLowerCaseCharBuffer(CharSequence) - Static method in class opennlp.tools.util.StringUtil
- toMap(List<String>) - Method in class opennlp.tools.util.DownloadUtil.DownloadParser
- toNormalizedSpan(int, int) - Method in record class opennlp.tools.util.normalizer.AlignedText
-
Maps a span of the original text forward to the normalized text.
- toNormalizedSpan(int, int) - Method in class opennlp.tools.util.normalizer.Alignment
-
Maps a half-open span of the original text to the half-open span of the normalized text that covers it.
- TOOL - Enum constant in enum class opennlp.tools.util.normalizer.EmojiEntityType
-
A hand tool or writing implement, from the
toolandwritingsubgroups. - toolFactory - Variable in class opennlp.tools.util.model.BaseModel
- toOriginalOffset(int) - Method in class opennlp.tools.util.normalizer.Alignment
-
Maps a normalized offset to the original offset where its character begins (start semantics).
- toOriginalSpan(int, int) - Method in record class opennlp.tools.util.normalizer.AlignedText
-
Maps a span of the normalized text back to the tightest span of the original text.
- toOriginalSpan(int, int) - Method in class opennlp.tools.util.normalizer.Alignment
-
Maps a half-open span of the normalized text to the tightest half-open span of the original text that produced it.
- top - Variable in class opennlp.tools.depparse.ArcStandardState
- TOP_NODE - Static variable in interface opennlp.tools.parser.Parser
-
The label for the top node.
- TOP_START - Static variable in class opennlp.tools.parser.chunking.Parser
- topKLemmaClasses(String[], String[]) - Method in class opennlp.tools.lemmatizer.LemmatizerME
- topKLemmaClasses(String[], String[], double) - Method in class opennlp.tools.lemmatizer.LemmatizerME
- topKSequences(String[]) - Method in interface opennlp.tools.postag.POSTagger
-
Assigns the sentence the top-k
sequences. - topKSequences(String[]) - Method in class opennlp.tools.postag.POSTaggerME
-
Assigns the sentence the top-k
sequences. - topKSequences(String[]) - Method in class opennlp.tools.postag.ThreadSafePOSTaggerME
-
Deprecated.
- topKSequences(String[], Object[]) - Method in interface opennlp.tools.postag.POSTagger
-
Assigns the sentence the top-k
sequences. - topKSequences(String[], Object[]) - Method in class opennlp.tools.postag.POSTaggerME
-
Assigns the sentence the top-k
sequences. - topKSequences(String[], Object[]) - Method in class opennlp.tools.postag.ThreadSafePOSTaggerME
-
Deprecated.
- topKSequences(String[], String[]) - Method in interface opennlp.tools.chunker.Chunker
-
Computes the top k chunk
sequencesfor the specified sentence with the specified pos-tags. - topKSequences(String[], String[]) - Method in class opennlp.tools.chunker.ChunkerME
- topKSequences(String[], String[]) - Method in class opennlp.tools.chunker.ThreadSafeChunkerME
-
Deprecated.
- topKSequences(String[], String[]) - Method in class opennlp.tools.lemmatizer.LemmatizerME
- topKSequences(String[], String[], double) - Method in interface opennlp.tools.chunker.Chunker
-
Computes the top k chunk
sequencesfor the specified sentence with the specified pos-tags. - topKSequences(String[], String[], double) - Method in class opennlp.tools.chunker.ChunkerME
- topKSequences(String[], String[], double) - Method in class opennlp.tools.chunker.ThreadSafeChunkerME
-
Deprecated.
- topKSequences(String[], String[], double) - Method in class opennlp.tools.lemmatizer.LemmatizerME
- topStartIndex - Variable in class opennlp.tools.parser.chunking.Parser
- toSentence(NameSample) - Method in class opennlp.tools.formats.convert.NameToSentenceSampleStream
- toSentence(POSSample) - Method in class opennlp.tools.formats.convert.POSToSentenceSampleStream
- toSentence(T) - Method in class opennlp.tools.formats.convert.AbstractToSentenceSampleStream
- toSequence() - Method in class opennlp.tools.ml.BeamSearch.SearchNode
- toSpan() - Method in class opennlp.tools.formats.nkjp.NKJPSegmentationDocument.Pointer
- toString() - Method in class opennlp.tools.chunker.ChunkerAnnotator
-
Returns the adapter's simple class name, which names it in pipeline validation messages.
- toString() - Method in class opennlp.tools.chunker.ChunkSample
- toString() - Method in record class opennlp.tools.cmdline.ArgumentParser.Argument
-
Returns a string representation of this record class.
- toString() - Method in record class opennlp.tools.cmdline.ArgumentParser.ArgumentProxy
-
Returns a string representation of this record class.
- toString() - Method in class opennlp.tools.depparse.ArcStandardState
- toString() - Method in record class opennlp.tools.depparse.DependencyArc
-
Returns a string representation of this record class.
- toString() - Method in class opennlp.tools.depparse.DependencySample
- toString() - Method in class opennlp.tools.depparse.DependencyTree
- toString() - Method in record class opennlp.tools.depparse.FeedforwardDependencyTrainer.Derivation
-
Returns a string representation of this record class.
- toString() - Method in record class opennlp.tools.depparse.FeedforwardDependencyTrainer.Settings
-
Returns a string representation of this record class.
- toString() - Method in record class opennlp.tools.depparse.Transition
-
Returns a string representation of this record class.
- toString() - Method in class opennlp.tools.dictionary.Dictionary
- toString() - Method in record class opennlp.tools.dictionary.serializer.Entry
-
Returns a string representation of this record class.
- toString() - Method in class opennlp.tools.doccat.DocumentCategorizerEvaluator
-
Represents this object as human-readable
String. - toString() - Method in class opennlp.tools.doccat.DocumentSample
- toString() - Method in record class opennlp.tools.document.Annotation
-
Returns a string representation of this record class.
- toString() - Method in class opennlp.tools.document.LayerKey
- toString() - Method in class opennlp.tools.entitylinker.BaseLink
- toString() - Method in class opennlp.tools.entitylinker.LinkedSpan
- toString() - Method in record class opennlp.tools.formats.ad.ADMetadata.IdSpans
-
Returns a string representation of this record class.
- toString() - Method in record class opennlp.tools.formats.ad.ADMetadata.TextAndParagraph
-
Returns a string representation of this record class.
- toString() - Method in record class opennlp.tools.formats.ad.ADSentenceStream.Sentence
-
Returns a string representation of this record class.
- toString() - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
- toString() - Method in record class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.LeafEnd
-
Returns a string representation of this record class.
- toString() - Method in record class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.LeafRest
-
Returns a string representation of this record class.
- toString() - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Node
- toString() - Method in record class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.PunctuationLine
-
Returns a string representation of this record class.
- toString() - Method in record class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Tag
-
Returns a string representation of this record class.
- toString() - Method in class opennlp.tools.formats.brat.AttributeAnnotation
- toString() - Method in class opennlp.tools.formats.brat.BratAnnotation
- toString() - Method in class opennlp.tools.formats.brat.RelationAnnotation
- toString() - Method in class opennlp.tools.formats.brat.SpanAnnotation
- toString() - Method in record class opennlp.tools.formats.conllu.ConlluStream.MultiwordRange
-
Returns a string representation of this record class.
- toString() - Method in record class opennlp.tools.formats.masc.MascSentence.QuarkExtractor
-
Returns a string representation of this record class.
- toString() - Method in class opennlp.tools.formats.nkjp.NKJPSegmentationDocument.Pointer
- toString() - Method in class opennlp.tools.langdetect.Language
- toString() - Method in class opennlp.tools.langdetect.LanguageDetectorEvaluator
-
Represents this object as human-readable
String. - toString() - Method in record class opennlp.tools.langdetect.LanguageDetectorME.StringCPLengthPair
-
Returns a string representation of this record class.
- toString() - Method in record class opennlp.tools.langdetect.LanguageSample
-
Returns a string representation of this record class.
- toString() - Method in record class opennlp.tools.langdetect.ProbingLanguageDetectionResult
-
Returns a string representation of this record class.
- toString() - Method in class opennlp.tools.lemmatizer.LemmaSample
- toString() - Method in class opennlp.tools.lemmatizer.LemmatizerAnnotator
-
Returns the adapter's simple class name, which names it in pipeline validation messages.
- toString() - Method in class opennlp.tools.lemmatizer.LemmatizerEvaluator
-
Returns this object's human-readable
Stringrepresentation. - toString() - Method in record class opennlp.tools.ml.maxent.quasinewton.QNTrainer.ModelEvaluator
-
Returns a string representation of this record class.
- toString() - Method in class opennlp.tools.ml.model.ComparableEvent
- toString() - Method in class opennlp.tools.ml.model.ComparablePredicate
- toString() - Method in class opennlp.tools.ml.model.Event
- toString() - Method in record class opennlp.tools.ml.model.EventFields.EventLine
-
Returns a string representation of this record class.
- toString() - Method in class opennlp.tools.ml.naivebayes.LogProbability
- toString() - Method in class opennlp.tools.ml.naivebayes.Probabilities
- toString() - Method in class opennlp.tools.ml.naivebayes.Probability
- toString() - Method in record class opennlp.tools.models.ClassPathModel
-
Returns a string representation of this record class.
- toString() - Method in record class opennlp.tools.models.ClassPathModelEntry
-
Returns a string representation of this record class.
- toString() - Method in class opennlp.tools.namefind.NameFinderAnnotator
-
Returns the adapter's simple class name, which names it in pipeline validation messages.
- toString() - Method in class opennlp.tools.namefind.NameSample
- toString() - Method in record class opennlp.tools.namefind.TokenNameFinderCrossValidator.DocumentSample
-
Returns a string representation of this record class.
- toString() - Method in class opennlp.tools.ngram.NGramCharModel
- toString() - Method in class opennlp.tools.ngram.NGramModel
- toString() - Method in class opennlp.tools.parser.Parse
-
Represents this
Parsein a human-readable way. - toString() - Method in record class opennlp.tools.parser.ParserAnnotator.Phrase
-
Returns a string representation of this record class.
- toString() - Method in class opennlp.tools.parser.ParserAnnotator
-
Returns the adapter's simple class name, which names it in pipeline validation messages.
- toString() - Method in class opennlp.tools.postag.POSDictionary
- toString() - Method in class opennlp.tools.postag.POSEvaluator
-
Represents this object as human-readable
String. - toString() - Method in class opennlp.tools.postag.POSSample
- toString() - Method in class opennlp.tools.postag.POSTaggerAnnotator
-
Returns the adapter's simple class name, which names it in pipeline validation messages.
- toString() - Method in class opennlp.tools.sentdetect.SentenceDetectorAnnotator
-
Returns the adapter's simple class name, which names it in pipeline validation messages.
- toString() - Method in class opennlp.tools.sentdetect.SentenceSample
- toString() - Method in class opennlp.tools.sentiment.SentimentSample
- toString() - Method in record class opennlp.tools.stemmer.hunspell.HunspellAffixTable.Entry
-
Returns a string representation of this record class.
- toString() - Method in record class opennlp.tools.stemmer.hunspell.HunspellConversion.Rule
-
Returns a string representation of this record class.
- toString() - Method in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.Affix
-
Returns a string representation of this record class.
- toString() - Method in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.CompoundPattern
-
Returns a string representation of this record class.
- toString() - Method in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.UnsupportedDirective
-
Returns a string representation of this record class.
- toString() - Method in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.WordBreak
-
Returns a string representation of this record class.
- toString() - Method in record class opennlp.tools.stemmer.hunspell.HunspellStemmer.CompoundPart
-
Returns a string representation of this record class.
- toString() - Method in record class opennlp.tools.stemmer.hunspell.HunspellStemmer.Junction
-
Returns a string representation of this record class.
- toString() - Method in class opennlp.tools.stemmer.PorterStemmer
-
After a word has been stemmed, it can be retrieved by toString(), or a reference to the internal buffer can be retrieved by getResultBuffer and getResultLength (which is generally more efficient.)
- toString() - Method in class opennlp.tools.stemmer.StemmerAnnotator
-
Returns the adapter's simple class name, which names it in pipeline validation messages.
- toString() - Method in record class opennlp.tools.termvector.TermVector
-
Returns a string representation of this record class.
- toString() - Method in class opennlp.tools.termvector.TermVectorAnnotator
-
Returns the adapter's simple class name, which names it in pipeline validation messages.
- toString() - Method in record class opennlp.tools.tokenize.BPETokenizer.SymbolPair
-
Returns a string representation of this record class.
- toString() - Method in record class opennlp.tools.tokenize.lattice.CategoryTable.Builder.Mapping
-
Returns a string representation of this record class.
- toString() - Method in record class opennlp.tools.tokenize.lattice.DoubleArrayLexicon.Builder.PendingNode
-
Returns a string representation of this record class.
- toString() - Method in record class opennlp.tools.tokenize.lattice.MecabDictionary.Category
-
Returns a string representation of this record class.
- toString() - Method in record class opennlp.tools.tokenize.lattice.MecabDictionary.WordEntry
-
Returns a string representation of this record class.
- toString() - Method in record class opennlp.tools.tokenize.lattice.Morpheme
-
Returns a string representation of this record class.
- toString() - Method in record class opennlp.tools.tokenize.lattice.UnigramSegmenter.WordTrieBuilder.BuildStep
-
Returns a string representation of this record class.
- toString() - Method in class opennlp.tools.tokenize.SimpleTokenizer.CharacterEnum
- toString() - Method in record class opennlp.tools.tokenize.SubwordPiece
-
Returns a string representation of this record class.
- toString() - Method in class opennlp.tools.tokenize.TokenizerAnnotator
-
Returns the adapter's simple class name, which names it in pipeline validation messages.
- toString() - Method in class opennlp.tools.tokenize.TokenizerCharacterPolicy
- toString() - Method in class opennlp.tools.tokenize.TokenSample
- toString() - Method in record class opennlp.tools.tokenize.uax29.WordToken
-
Returns a string representation of this record class.
- toString() - Method in record class opennlp.tools.tokenize.WordpieceEncoder.VocabularyMatch
-
Returns a string representation of this record class.
- toString() - Method in record class opennlp.tools.util.DictionaryCatalog.Entry
-
Returns a string representation of this record class.
- toString() - Method in class opennlp.tools.util.eval.CrossValidationPartitioner
- toString() - Method in class opennlp.tools.util.eval.FMeasure
- toString() - Method in class opennlp.tools.util.eval.Mean
- toString() - Method in record class opennlp.tools.util.ext.Providers.ConfigurationFile
-
Returns a string representation of this record class.
- toString() - Method in record class opennlp.tools.util.ext.Providers.Lookup
-
Returns a string representation of this record class.
- toString() - Method in record class opennlp.tools.util.ext.Providers.Parsed
-
Returns a string representation of this record class.
- toString() - Method in record class opennlp.tools.util.ext.Providers.Registration
-
Returns a string representation of this record class.
- toString() - Method in class opennlp.tools.util.ext.ProviderSpec
-
The option values and the user info, query and fragment of the location are omitted, as they may hold credentials.
- toString() - Method in class opennlp.tools.util.featuregen.WindowFeatureGenerator
- toString() - Method in record class opennlp.tools.util.normalizer.AlignedText
-
Returns a string representation of this record class.
- toString() - Method in record class opennlp.tools.util.normalizer.CodePoints.At
-
Returns a string representation of this record class.
- toString() - Method in record class opennlp.tools.util.normalizer.Confusables.Data
-
Returns a string representation of this record class.
- toString() - Method in record class opennlp.tools.util.normalizer.EmojiAnnotation
-
Returns a string representation of this record class.
- toString() - Method in record class opennlp.tools.util.normalizer.EmojiAnnotation.Value
-
Returns a string representation of this record class.
- toString() - Method in record class opennlp.tools.util.normalizer.EmojiEmoticons.Direction
-
Returns a string representation of this record class.
- toString() - Method in record class opennlp.tools.util.normalizer.EmojiEmoticons.Mapping
-
Returns a string representation of this record class.
- toString() - Method in record class opennlp.tools.util.normalizer.EmojiEmoticons.Tables
-
Returns a string representation of this record class.
- toString() - Method in class opennlp.tools.util.normalizer.NormalizationProfile
- toString() - Method in record class opennlp.tools.util.normalizer.UnicodeDash.DashCharacter
-
Returns a string representation of this record class.
- toString() - Method in record class opennlp.tools.util.normalizer.UnicodeEmojiSequences.Candidate
-
Returns a string representation of this record class.
- toString() - Method in record class opennlp.tools.util.normalizer.UnicodeEmojiSequences.Walk
-
Returns a string representation of this record class.
- toString() - Method in record class opennlp.tools.util.normalizer.UnicodeWhitespace.RelatedCharacter
-
Returns a string representation of this record class.
- toString() - Method in record class opennlp.tools.util.normalizer.UnicodeWhitespace.WhitespaceCharacter
-
Returns a string representation of this record class.
- toString() - Method in record class opennlp.tools.util.ResourceInstaller.Limits
-
Returns a string representation of this record class.
- toString() - Method in class opennlp.tools.util.Sequence
- toString() - Method in class opennlp.tools.util.Span
- toString() - Method in class opennlp.tools.util.StringList
- toString() - Method in record class opennlp.tools.util.TokenTag
-
Returns a string representation of this record class.
- toString() - Method in record class opennlp.tools.util.TrainingConfiguration
-
Returns a string representation of this record class.
- toString() - Method in class opennlp.tools.util.Version
-
The
Version.parse(String)method can create an instance ofVersionwith the returned version value string. - toStringPennTreebank() - Method in class opennlp.tools.parser.Parse
- toTree() - Method in class opennlp.tools.depparse.ArcStandardState
-
Builds the
DependencyTreeof a completed parse. - touch(int) - Method in class opennlp.tools.depparse.FeedforwardDependencyTrainer.Optimizer
-
Marks an embedding row as touched and returns its gradient row.
- touched - Variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer.Optimizer
- touchedCount - Variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer.Optimizer
- touchedRows - Variable in class opennlp.tools.depparse.FeedforwardDependencyTrainer.Optimizer
-
The rows with a nonzero embedding gradient since the last clear.
- toUnicodeNotation() - Method in record class opennlp.tools.util.normalizer.UnicodeDash.DashCharacter
-
Returns the
U+XXXXnotation for this code point. - toUnicodeNotation() - Method in record class opennlp.tools.util.normalizer.UnicodeWhitespace.RelatedCharacter
-
Returns the
U+XXXXnotation for this code point. - toUnicodeNotation() - Method in record class opennlp.tools.util.normalizer.UnicodeWhitespace.WhitespaceCharacter
-
Returns the
U+XXXXnotation for this code point. - toUnicodeNotation(int) - Static method in class opennlp.tools.util.normalizer.HexCodePoints
-
Formats a code point in
U+XXXXnotation, with at least four upper case hex digits. - toUpperCase(CharSequence) - Static method in class opennlp.tools.util.StringUtil
-
Converts a
CharSequenceto upper case, independent of the currentLocaleviaCharacter.toUpperCase(int)which uses mapping information from the UnicodeData file. - toURL(String) - Static method in class opennlp.tools.models.AbstractClassPathModelFinder
-
Converts a
locationin String form to aURL. - TRAILING_PUNCTUATION - Static variable in class opennlp.tools.util.normalizer.UrlCharSequenceNormalizer
-
Punctuation given back when it trails a URL.
- train(Iterable<String>, int, String) - Method in class opennlp.tools.tokenize.BPETokenizerTrainer
-
Learns BPE merge operations from a training corpus and returns a
BPEModel. - train(String, String, ObjectStream<NameSample>, TrainingParameters, TokenNameFinderFactory) - Static method in class opennlp.tools.namefind.NameFinderME
-
Starts a training of a
TokenNameFinderModelwith the given parameters. - train(String, ObjectStream<ChunkSample>, TrainingParameters, ChunkerFactory) - Static method in class opennlp.tools.chunker.ChunkerME
-
Starts a training of a
ChunkerModelwith the given parameters. - train(String, ObjectStream<DependencySample>, TrainingParameters) - Static method in class opennlp.tools.depparse.DependencyParserME
-
Trains a greedy arc-standard parser model from dependency samples.
- train(String, ObjectStream<DependencySample>, TrainingParameters) - Static method in class opennlp.tools.depparse.FeedforwardDependencyTrainer
-
Trains a model from dependency samples.
- train(String, ObjectStream<DocumentSample>, TrainingParameters, DoccatFactory) - Static method in class opennlp.tools.doccat.DocumentCategorizerME
-
Starts a training of a
DoccatModelwith the given parameters. - train(String, ObjectStream<LemmaSample>, TrainingParameters, LemmatizerFactory) - Static method in class opennlp.tools.lemmatizer.LemmatizerME
-
Starts a training of a
LemmatizerModelwith the given parameters. - train(String, ObjectStream<Parse>, HeadRules, int, int) - Static method in class opennlp.tools.parser.treeinsert.Parser
-
Starts a training of a
ParserModel. - train(String, ObjectStream<Parse>, HeadRules, TrainingParameters) - Static method in class opennlp.tools.parser.chunking.Parser
-
Starts a training of a
ParserModel. - train(String, ObjectStream<Parse>, HeadRules, TrainingParameters) - Static method in class opennlp.tools.parser.treeinsert.Parser
-
Starts a training of a
ParserModel. - train(String, ObjectStream<POSSample>, TrainingParameters, POSTaggerFactory) - Static method in class opennlp.tools.postag.POSTaggerME
-
Starts a training of a
POSModelwith the given parameters. - train(String, ObjectStream<SentenceSample>, SentenceDetectorFactory, TrainingParameters) - Static method in class opennlp.tools.sentdetect.SentenceDetectorME
-
Starts a training of a
SentenceModelwith the given parameters. - train(String, ObjectStream<SentimentSample>, TrainingParameters, SentimentFactory) - Static method in class opennlp.tools.sentiment.SentimentME
-
Trains a
Sentiment Analysis model. - train(DataIndexer<P>) - Method in class opennlp.tools.ml.AbstractEventTrainer
- train(DataIndexer<P>) - Method in interface opennlp.tools.ml.EventTrainer
-
Trains a
MaxentModelfor givenevents. - train(SequenceStream<Event>) - Method in class opennlp.tools.ml.AbstractEventModelSequenceTrainer
- train(SequenceStream<T>) - Method in interface opennlp.tools.ml.EventModelSequenceTrainer
-
Trains a
MaxentModelfor givenevents. - train(SequenceStream<T>) - Method in interface opennlp.tools.ml.SequenceTrainer
-
Trains a
SequenceClassificationModelfor given.events - train(ObjectStream<LanguageSample>, TrainingParameters, LanguageDetectorFactory) - Static method in class opennlp.tools.langdetect.LanguageDetectorME
-
Starts a training of a
LanguageDetectorModelwith the given parameters. - train(ObjectStream<Event>) - Method in class opennlp.tools.ml.AbstractEventTrainer
- train(ObjectStream<Event>) - Method in interface opennlp.tools.ml.EventTrainer
-
Trains a
MaxentModelfor givenevents. - train(ObjectStream<TokenSample>, TokenizerFactory, TrainingParameters) - Static method in class opennlp.tools.tokenize.TokenizerME
-
Trains a model for the
TokenizerME. - Trainer<P> - Interface in opennlp.tools.commons
-
Represents a common base for training implementations.
- TRAINER_TYPE_PARAM - Static variable in interface opennlp.tools.util.Parameters
- trainerClazz - Variable in enum class opennlp.tools.ml.AlgorithmType
- TrainerFactory - Class in opennlp.tools.ml
-
A factory to initialize
Trainerinstances depending on a trainer type configured viaParameters. - TrainerFactory() - Constructor for class opennlp.tools.ml.TrainerFactory
- TrainerFactory.TrainerType - Enum Class in opennlp.tools.ml
- TrainerType() - Constructor for enum class opennlp.tools.ml.TrainerFactory.TrainerType
- TRAINING_CUTOFF_PROPERTY - Static variable in class opennlp.tools.util.model.BaseModel
- TRAINING_EVENTHASH_PROPERTY - Static variable in class opennlp.tools.util.model.BaseModel
- TRAINING_ITERATIONS_PROPERTY - Static variable in class opennlp.tools.util.model.BaseModel
- trainingConfiguration - Variable in class opennlp.tools.ml.AbstractTrainer
- trainingConfiguration - Variable in class opennlp.tools.tokenize.BPETokenizerTrainer
- TrainingConfiguration - Record Class in opennlp.tools.util
-
Configuration used for model training.
- TrainingConfiguration(TrainingProgressMonitor, StopCriteria<Double>) - Constructor for record class opennlp.tools.util.TrainingConfiguration
-
Creates an instance of a
TrainingConfigurationrecord class. - TrainingMeasure - Enum Class in opennlp.tools.monitoring
-
Enumeration of Training measures.
- TrainingMeasure(String) - Constructor for enum class opennlp.tools.monitoring.TrainingMeasure
- trainingParameters - Variable in class opennlp.tools.ml.AbstractTrainer
- trainingParameters - Variable in class opennlp.tools.ml.model.AbstractDataIndexer
- trainingParameters - Variable in class opennlp.tools.monitoring.IterDeltaAccuracyUnderTolerance
- trainingParameters - Variable in class opennlp.tools.monitoring.LogLikelihoodThresholdBreached
- trainingParameters - Variable in class opennlp.tools.tokenize.BPETokenizerTrainer
- TrainingParameters - Class in opennlp.tools.util
-
Declares and handles default parameters used for or during training models.
- TrainingParameters() - Constructor for class opennlp.tools.util.TrainingParameters
-
No-arg constructor to create a default
TrainingParametersinstance. - TrainingParameters(InputStream) - Constructor for class opennlp.tools.util.TrainingParameters
-
InputStreambased constructor that reads inTrainingParameters. - TrainingParameters(Map<String, Object>) - Constructor for class opennlp.tools.util.TrainingParameters
-
Key-value based constructor to apply a
Mapbased configuration initialization. - TrainingParameters(TrainingParameters) - Constructor for class opennlp.tools.util.TrainingParameters
-
Copy constructor to hand over the config of existing
TrainingParameters. - TrainingProgressMonitor - Interface in opennlp.tools.monitoring
-
An interface to capture training progress of a model.
- TrainingSampleStream(ObjectStream<E>, int, int) - Constructor for class opennlp.tools.util.eval.CrossValidationPartitioner.TrainingSampleStream
- trainingStats(EvalParameters) - Method in class opennlp.tools.ml.naivebayes.NaiveBayesTrainer
- trainingStats(EvalParameters) - Method in class opennlp.tools.ml.perceptron.PerceptronTrainer
- trainingStats(MutableContext[]) - Method in class opennlp.tools.ml.perceptron.SimplePerceptronSequenceTrainer
- TrainingToolParams - Interface in opennlp.tools.cmdline.params
-
Common training parameters.
- trainModel(int, DataIndexer<TrainingParameters>) - Method in class opennlp.tools.ml.maxent.GISTrainer
-
Trains a model using the GIS algorithm.
- trainModel(int, DataIndexer<TrainingParameters>) - Method in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
-
Trains a
modelusing the QN algorithm. - trainModel(int, DataIndexer<TrainingParameters>, int) - Method in class opennlp.tools.ml.maxent.GISTrainer
-
Trains a model using the GIS algorithm.
- trainModel(int, DataIndexer<TrainingParameters>, int) - Method in class opennlp.tools.ml.perceptron.PerceptronTrainer
-
Trains a
PerceptronModelwith given parameters. - trainModel(int, DataIndexer<TrainingParameters>, int, boolean) - Method in class opennlp.tools.ml.perceptron.PerceptronTrainer
-
Trains a
PerceptronModelwith given parameters. - trainModel(int, DataIndexer<TrainingParameters>, Prior, int) - Method in class opennlp.tools.ml.maxent.GISTrainer
-
Trains a model using the GIS algorithm.
- trainModel(int, SequenceStream<Event>, int, boolean) - Method in class opennlp.tools.ml.perceptron.SimplePerceptronSequenceTrainer
-
Trains a
PerceptronModelwith given parameters. - trainModel(DataIndexer<TrainingParameters>) - Method in class opennlp.tools.ml.naivebayes.NaiveBayesTrainer
-
Trains a
NaiveBayesModelwith given parameters. - trainModel(ObjectStream<Event>) - Method in class opennlp.tools.ml.maxent.GISTrainer
-
Trains a model using the GIS algorithm, assuming 100 iterations and no cutoff.
- trainModel(ObjectStream<Event>, int, int) - Method in class opennlp.tools.ml.maxent.GISTrainer
-
Trains a GIS model on the event in the specified event stream, using the specified number of iterations and the specified count cutoff.
- transform(Dimension, CharSequenceNormalizer) - Method in class opennlp.tools.util.normalizer.TermAnalyzer.Builder
-
Enables a character-level dimension with a specific normalizer, overriding its default (for example a locale-specific case fold for a language profile).
- transformRun(MappedText, int, int, MappedText) - Method in class opennlp.tools.tokenize.WordpieceEncoder
-
Normalizes one non-whitespace run and appends it to the output mapping.
- transforms - Variable in class opennlp.tools.util.normalizer.TermAnalyzer.Builder
- transforms - Variable in class opennlp.tools.util.normalizer.TermAnalyzer
- transition - Variable in class opennlp.tools.depparse.ArcStandardBeam.Node
- Transition - Record Class in opennlp.tools.depparse
-
One action of the arc-standard transition system: shift the next buffer token onto the stack, or attach one of the two topmost stack tokens to the other under a relation label.
- Transition(Transition.Type, String) - Constructor for record class opennlp.tools.depparse.Transition
-
Validates the pairing of type and label.
- TRANSITION - Static variable in class opennlp.tools.tokenize.uax29.WordSegmenter
- Transition.Type - Enum Class in opennlp.tools.depparse
-
The kinds of arc-standard action.
- transitionIds - Variable in class opennlp.tools.depparse.FeedforwardNetwork
- transitionIndex(Transition) - Method in class opennlp.tools.depparse.FeedforwardNetwork
- transitions - Variable in class opennlp.tools.depparse.DependencyParserME
- transitions - Variable in class opennlp.tools.depparse.FeedforwardDependencyParser
- transitions - Variable in class opennlp.tools.depparse.FeedforwardNetwork
- transitions() - Method in class opennlp.tools.depparse.FeedforwardNetwork
- transitions(DependencyTree) - Static method in class opennlp.tools.depparse.ArcStandardOracle
-
Derives the gold transition sequence for a tree.
- translation - Variable in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankSentence
- translit - Variable in class opennlp.tools.formats.conllu.ConlluSentence
- TRAVEL_AND_PLACES - Enum constant in enum class opennlp.tools.util.normalizer.EmojiCategory
-
Upstream group
Travel & Places: places, buildings, transport, sky and weather. - tree - Variable in class opennlp.tools.depparse.DependencySample
- TreeElement() - Constructor for class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.TreeElement
- TREEINSERT - Enum constant in enum class opennlp.tools.parser.ParserType
- trie - Variable in class opennlp.tools.tokenize.lattice.UnigramSegmenter
- TrieNode() - Constructor for class opennlp.tools.tokenize.WordpieceEncoder.TrieNode
- trigram - Variable in class opennlp.tools.parser.chunking.BuildContextGenerator
- TrigramNameFeatureGenerator - Class in opennlp.tools.util.featuregen
-
Adds trigram features based on tokens and token classes.
- TrigramNameFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.TrigramNameFeatureGenerator
- TrigramNameFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
A
GeneratorFactorythat producesTrigramNameFeatureGeneratorinstances whenTrigramNameFeatureGeneratorFactory.create()is called. - TrigramNameFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.TrigramNameFeatureGeneratorFactory
- trim(CharSequence) - Method in class opennlp.tools.util.normalizer.CharClass
-
Removes leading and trailing member code points.
- trim(CharSequence) - Method in class opennlp.tools.util.Span
- trim(String) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Removes leading and trailing whitespace, using the whitespace definition the rest of the parser scans with.
- trimAligned(CharSequence) - Method in class opennlp.tools.util.normalizer.CharClass
-
Like
CharClass.trim(CharSequence)but also produces theAlignmentback to the original text. - trimmedSpan(CharSequence, int, int) - Method in class opennlp.tools.sentdetect.SentenceDetectorME
- trimNul(String) - Static method in class opennlp.tools.util.archive.TarStream
-
Drops everything from the first NUL onward, which is how a GNU long-name header terminates the name it contains.
- trimSpans(String, Span[]) - Method in class opennlp.tools.sentdetect.SentenceDetectorEvaluator
- trimTrailing(CharSequence, int, int) - Method in class opennlp.tools.util.normalizer.UrlCharSequenceNormalizer
-
Gives back trailing punctuation and closing brackets that have no opening bracket inside the body.
- trimUnicodeWhitespace(CharSequence) - Static method in class opennlp.tools.util.StringUtil
-
Trims leading and trailing runs of Unicode
White_Space, the same setStringUtil.splitOnUnicodeWhitespace(CharSequence)breaks terms on. - truePositive - Variable in class opennlp.tools.util.eval.FMeasure
-
Holds the number of true positives found.
- trusted - Variable in class opennlp.tools.util.ext.Providers
- turkicCase - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- TURKISH - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- turkishStemmer - Class in opennlp.tools.stemmer.snowball
-
This class implements the stemming algorithm defined by a snowball script.
- turkishStemmer() - Constructor for class opennlp.tools.stemmer.snowball.turkishStemmer
- TwentyNewsgroupSampleStream - Class in opennlp.tools.formats
-
An
ObjectStreamimplementation for the Twenty Newsgroups text corpus. - TwentyNewsgroupSampleStream(Tokenizer, Path) - Constructor for class opennlp.tools.formats.TwentyNewsgroupSampleStream
- TwentyNewsgroupSampleStreamFactory - Class in opennlp.tools.formats
-
Note: Do not use this class, internal use only!
- TwentyNewsgroupSampleStreamFactory(Class<TwentyNewsgroupSampleStreamFactory.Parameters>) - Constructor for class opennlp.tools.formats.TwentyNewsgroupSampleStreamFactory
- TwentyNewsgroupSampleStreamFactory.Parameters - Interface in opennlp.tools.formats
- TwoPassDataIndexer - Class in opennlp.tools.ml.model
-
Collecting event and context counts by making two passes over the events.
- TwoPassDataIndexer() - Constructor for class opennlp.tools.ml.model.TwoPassDataIndexer
- TwoPassDataIndexer.EventStream - Class in opennlp.tools.ml.model
- type - Variable in record class opennlp.tools.depparse.Transition
-
The field for the
typerecord component. - type - Variable in class opennlp.tools.document.LayerKey
- type - Variable in class opennlp.tools.formats.brat.BratAnnotation
- type - Variable in class opennlp.tools.namefind.DictionaryNameFinder
- type - Variable in class opennlp.tools.namefind.TokenNameFinderCrossValidator
- type - Variable in class opennlp.tools.parser.Parse
-
The syntactic type of this parse.
- type - Variable in record class opennlp.tools.tokenize.uax29.WordToken
-
The field for the
typerecord component. - type - Variable in class opennlp.tools.util.archive.TarStream
- type - Variable in class opennlp.tools.util.Span
- type() - Method in record class opennlp.tools.depparse.Transition
-
Returns the value of the
typerecord component. - type() - Method in class opennlp.tools.document.LayerKey
- type() - Method in record class opennlp.tools.tokenize.uax29.WordToken
-
Returns the value of the
typerecord component. - Type() - Constructor for enum class opennlp.tools.depparse.Transition.Type
- TYPE - Static variable in class opennlp.tools.formats.ontonotes.OntoNotesNameSampleStream
- TYPE_GNU_LONG_LINK - Static variable in class opennlp.tools.util.archive.TarStream
- TYPE_GNU_LONG_NAME - Static variable in class opennlp.tools.util.archive.TarStream
- TYPE_GNU_SPARSE - Static variable in class opennlp.tools.util.archive.TarStream
- TYPE_OFFSET - Static variable in class opennlp.tools.formats.brat.BratAnnotationStream.BratAnnotationParser
- TYPE_OFFSET - Static variable in class opennlp.tools.util.archive.TarStream
- TYPE_PAX_EXTENDED - Static variable in class opennlp.tools.util.archive.TarStream
- TYPE_PAX_GLOBAL - Static variable in class opennlp.tools.util.archive.TarStream
- TYPE_REGULAR_FILE - Static variable in class opennlp.tools.util.archive.TarStream
- TYPE_REGULAR_FILE_CLASSIC - Static variable in class opennlp.tools.util.archive.TarStream
- TYPE_SEPARATOR - Static variable in class opennlp.tools.namefind.NameSample
-
Separates
<STARTfrom the name type in a start tag. - types - Variable in class opennlp.tools.formats.BioNLP2004NameSampleStream
- types - Variable in class opennlp.tools.formats.Conll02NameSampleStream
- types - Variable in class opennlp.tools.formats.Conll03NameSampleStream
- types - Variable in class opennlp.tools.formats.EvalitaNameSampleStream
- types - Variable in class opennlp.tools.formats.GermEval2014NameSampleStream
- types - Variable in class opennlp.tools.namefind.NameSampleTypeFilter
- types - Variable in class opennlp.tools.sentiment.SentimentSampleTypeFilter
- typeToClassMap - Variable in class opennlp.tools.formats.brat.AnnotationConfiguration
U
- U - Enum constant in enum class opennlp.tools.formats.conllu.ConlluTagset
-
The universal part-of-speech tags, the
UPOScolumn. - U_UMLAUT - Static variable in class opennlp.tools.util.featuregen.FeatureGeneratorUtil
- uas - Variable in class opennlp.tools.depparse.AttachmentScores
- uasExcludingPunctuation - Variable in class opennlp.tools.depparse.AttachmentScores
- UD - Enum constant in enum class opennlp.tools.postag.POSTagFormat
- unaffixed - Variable in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.CompoundPattern
-
The field for the
unaffixedrecord component. - unaffixed() - Method in record class opennlp.tools.stemmer.hunspell.HunspellDictionary.CompoundPattern
-
Returns the value of the
unaffixedrecord component. - UncloseableInputStream - Class in opennlp.tools.util.model
-
An
InputStreamwhich cannot be closed. - UncloseableInputStream(InputStream) - Constructor for class opennlp.tools.util.model.UncloseableInputStream
- UNDERSCORE - Static variable in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
- UNDERSCORE_SEPARATOR - Static variable in class opennlp.tools.formats.ad.ADNameSampleStream
- undoCrossProductInnerSuffix(String, HunspellDictionary.Affix, HunspellDictionary.Affix, HunspellDictionary.Affix, HunspellStemmer.Analysis) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Undoes an inner suffix after a prefix and an outer suffix have been removed.
- undoCrossProductSuffix(String, HunspellDictionary.Affix, HunspellDictionary.Affix, HunspellStemmer.Analysis) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Undoes the suffix half of a cross-product removal when both rules opted in.
- undoDoublePrefixSuffix(String, HunspellDictionary.Affix, HunspellDictionary.Affix, HunspellDictionary.Affix, HunspellStemmer.Analysis) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Removes the suffix following a continuation-linked prefix combination.
- undoInnerPrefix(String, HunspellDictionary.Affix, HunspellDictionary.Affix, HunspellStemmer.Analysis) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Removes a continuation-linked inner prefix in COMPLEXPREFIXES mode.
- undoInnerSuffix(String, HunspellDictionary.Affix, HunspellDictionary.Affix, HunspellStemmer.Analysis) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Undoes the inner suffix of a twofold removal when the rule's continuation classes allow the outer one.
- undoPrefix(String, HunspellDictionary.Affix, HunspellStemmer.Analysis) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Undoes one prefix rule and, for cross-product rules, one further suffix on the intermediate stem, adding dictionary-confirmed analyses.
- undoSuffix(String, HunspellDictionary.Affix, HunspellStemmer.Analysis) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Undoes one suffix rule and, through continuation classes, one further suffix on the intermediate stem, adding dictionary-confirmed analyses.
- unescapedSlash(String) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Finds the first
/that is not escaped as\/, which separates the word from its flag run in a word-list entry. - UNICODE - Enum constant in enum class opennlp.tools.util.WhitespaceMode
-
The Unicode
White_Spaceproperty. - UnicodeDash - Class in opennlp.tools.util.normalizer
-
Reference data for Unicode dashes, plus O(1) membership lookups.
- UnicodeDash() - Constructor for class opennlp.tools.util.normalizer.UnicodeDash
- UnicodeDash.Category - Enum Class in opennlp.tools.util.normalizer
-
The Unicode general category of a dash code point.
- UnicodeDash.DashCharacter - Record Class in opennlp.tools.util.normalizer
-
One Unicode dash code point and its reference attributes.
- UnicodeEmojiSequences - Class in opennlp.tools.util.normalizer
-
Finds complete emoji at a position of a text, from the bundled inventory of Unicode Emoji 18.0 sequences.
- UnicodeEmojiSequences(UnicodeEmojiSequences.Node, int[][], int) - Constructor for class opennlp.tools.util.normalizer.UnicodeEmojiSequences
- UnicodeEmojiSequences.Candidate - Record Class in opennlp.tools.util.normalizer
-
What
UnicodeEmojiSequences.candidateAt(CharSequence, int)found at a position. - UnicodeEmojiSequences.Node - Class in opennlp.tools.util.normalizer
-
A trie node: the code points that may follow, and whether a sequence ends here.
- UnicodeEmojiSequences.Walk - Record Class in opennlp.tools.util.normalizer
-
The result of one trie walk.
- UnicodeWhitespace - Class in opennlp.tools.util.normalizer
-
Reference data for Unicode whitespace, plus O(1) membership lookups.
- UnicodeWhitespace() - Constructor for class opennlp.tools.util.normalizer.UnicodeWhitespace
- UnicodeWhitespace.Breaking - Enum Class in opennlp.tools.util.normalizer
-
Line-breaking behavior, mirroring the "Notes" column of the reference table.
- UnicodeWhitespace.Category - Enum Class in opennlp.tools.util.normalizer
-
Unicode general category for a whitespace or related code point.
- UnicodeWhitespace.RelatedCharacter - Record Class in opennlp.tools.util.normalizer
-
One related code point that is commonly confused with whitespace but is not (
White_Space=no). - UnicodeWhitespace.WhitespaceCharacter - Record Class in opennlp.tools.util.normalizer
-
One Unicode whitespace code point and its reference attributes.
- uniform(Random, int, int, double) - Static method in class opennlp.tools.depparse.FeedforwardDependencyTrainer
- UniformPrior - Class in opennlp.tools.ml.model
-
Provide a maximum entropy model with a uniform
Prior. - UniformPrior() - Constructor for class opennlp.tools.ml.model.UniformPrior
- unigram - Variable in class opennlp.tools.parser.chunking.BuildContextGenerator
- unigram - Variable in class opennlp.tools.parser.Cons
- UnigramSegmenter - Class in opennlp.tools.tokenize.lattice
-
Frequency-driven segmentation for Chinese and similar scripts: a Viterbi search that maximizes the summed log-probability of the words in a user-supplied frequency lexicon, with unlisted characters falling back to single-character words.
- UnigramSegmenter(UnigramSegmenter.WordTrie, double) - Constructor for class opennlp.tools.tokenize.lattice.UnigramSegmenter
-
Creates a segmenter from a word trie and the unknown-character score.
- UnigramSegmenter.WordTrie - Class in opennlp.tools.tokenize.lattice
-
One immutable trie node: children are a sorted character array with a parallel node array, found by binary search, so a descent avoids boxing a
Character. - UnigramSegmenter.WordTrieBuilder - Class in opennlp.tools.tokenize.lattice
-
One mutable trie node during construction, copied into a
UnigramSegmenter.WordTrie. - UnigramSegmenter.WordTrieBuilder.BuildStep - Record Class in opennlp.tools.tokenize.lattice
-
One pending post-order traversal step.
- union(CodePointSet) - Method in class opennlp.tools.util.normalizer.CodePointSet
-
Returns a new set containing every code point in this set or
other. - UNIT - Static variable in class opennlp.tools.namefind.BilouCodec
- UNIVERSAL_PUNCTUATION_TAG - Static variable in class opennlp.tools.depparse.DependencyEvaluator
-
The universal part-of-speech tag of punctuation, which the default constructor excludes from the punctuation-free scores.
- UNK_DEF - Static variable in class opennlp.tools.tokenize.lattice.MecabDictionary
- unknown - Variable in class opennlp.tools.tokenize.lattice.LatticeTokenizer.Node
- unknown - Variable in record class opennlp.tools.tokenize.lattice.Morpheme
-
The field for the
unknownrecord component. - unknown() - Method in record class opennlp.tools.tokenize.lattice.Morpheme
-
Returns the value of the
unknownrecord component. - UNKNOWN - Enum constant in enum class opennlp.tools.postag.POSTagFormat
- UNKNOWN - Static variable in class opennlp.tools.depparse.FeedforwardNetwork
-
The vocabulary key of every word, tag, or label the network has no embedding row for.
- UNKNOWN_OFFSET - Static variable in class opennlp.tools.depparse.FeedforwardNetwork
-
The embedding row of the unknown symbol in each vocabulary block.
- unknownEntries - Variable in class opennlp.tools.tokenize.lattice.MecabDictionary
- unknownEntries(String) - Method in class opennlp.tools.tokenize.lattice.MecabDictionary
-
Looks up the unknown-word templates of a category.
- unknownId - Variable in class opennlp.tools.tokenize.WordpieceEncoder
- unknownLogProbability - Variable in class opennlp.tools.tokenize.lattice.UnigramSegmenter
-
The log-probability charged to a character the lexicon does not know.
- unknownToken - Variable in class opennlp.tools.tokenize.WordpieceEncoder
- unknownToken - Variable in class opennlp.tools.tokenize.WordpieceTokenizer
- unpack(Path, String, Path, ResourceInstaller.Limits) - Static method in class opennlp.tools.util.ResourceInstaller
-
Detects the content format from its leading bytes and unpacks accordingly, bounding the total expanded bytes against the expansion limit.
- unpackGzip(InputStream, String, Path, ResourceInstaller.Budget, ResourceInstaller.Budget) - Static method in class opennlp.tools.util.ResourceInstaller
-
Unpacks gzip content: a tar archive inside when present, a plain file otherwise.
- unpackTar(InputStream, Path, ResourceInstaller.Budget) - Static method in class opennlp.tools.util.ResourceInstaller
-
Unpacks every regular tar entry to its relative location beneath the staging directory.
- unpackZip(InputStream, Path, ResourceInstaller.Budget, ResourceInstaller.Budget) - Static method in class opennlp.tools.util.ResourceInstaller
-
Unpacks every regular zip entry to its relative location beneath the staging directory.
- unregisterAllowedPackage(String) - Static method in class opennlp.tools.util.ext.ExtensionLoader
-
Removes a previously registered package prefix.
- unregisterFactory(Class<T>, String) - Static method in class opennlp.tools.cmdline.StreamFactoryRegistry
-
Unregisters a factory which reads format named
formatNameand instantiates streams producing objects ofsampleClassclass. - unsatisfiedMessage(ProviderSpec, String, Set<String>) - Method in class opennlp.tools.util.ext.Providers
- UnsatisfiedProviderException - Exception Class in opennlp.tools.util.ext
- UnsatisfiedProviderException(String) - Constructor for exception class opennlp.tools.util.ext.UnsatisfiedProviderException
-
Initializes the exception.
- UnsupportedDirective(String, String, int) - Constructor for record class opennlp.tools.stemmer.hunspell.HunspellDictionary.UnsupportedDirective
-
Creates a diagnostic with a directive name and source location.
- unsupportedDirectives - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- UNTYPED - Static variable in class opennlp.tools.namefind.NameFinderAnnotator
-
The entity type recorded when the wrapped finder returns a span without a type.
- UNVISITED - Static variable in class opennlp.tools.depparse.DependencyTree
-
Traversal state of a token whose head chain has not been followed yet.
- update(float[][], double[][], double[][], int, FeedforwardDependencyTrainer.Settings) - Static method in class opennlp.tools.depparse.FeedforwardDependencyTrainer
-
One AdaGrad step on a weight matrix, with the L2 penalty folded into the gradient.
- update(String[], Map<String, Integer>) - Static method in class opennlp.tools.ml.model.AbstractDataIndexer
-
Updates the
Mapof predicates and counter with the specified event contexts. - update(LineSearch.LineSearchResult) - Method in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer.UpdateInfo
- updateAdaptiveData(String[], String[]) - Method in class opennlp.tools.namefind.DefaultNameContextGenerator
- updateAdaptiveData(String[], String[]) - Method in interface opennlp.tools.namefind.NameContextGenerator
-
Informs all the feature generators that the specified
tokenshave been classified with the corresponds set of specifiedoutcomes. - updateAdaptiveData(String[], String[]) - Method in class opennlp.tools.sentiment.SentimentContextGenerator
- updateAdaptiveData(String[], String[]) - Method in interface opennlp.tools.util.featuregen.AdaptiveFeatureGenerator
-
Informs a feature generator that the specified tokens have been classified with the corresponding set of specified
outcomes. - updateAdaptiveData(String[], String[]) - Method in class opennlp.tools.util.featuregen.AggregatedFeatureGenerator
-
Calls the
AdaptiveFeatureGenerator.updateAdaptiveData(String[], String[])method on all aggregatedfeature generators. - updateAdaptiveData(String[], String[]) - Method in class opennlp.tools.util.featuregen.CachedFeatureGenerator
- updateAdaptiveData(String[], String[]) - Method in class opennlp.tools.util.featuregen.PreviousMapFeatureGenerator
-
Generates previous decision features for the token based on contents of the previous map.
- updateAdaptiveData(String[], String[]) - Method in class opennlp.tools.util.featuregen.PreviousTwoMapFeatureGenerator
- updateAdaptiveData(String[], String[]) - Method in class opennlp.tools.util.featuregen.WindowFeatureGenerator
- updateBuildModel(MaxentModel) - Method in class opennlp.tools.parser.ParserModel
-
Instantiates a new
ParserModelinstance from the existing configuration with the specifiedbuildModelfor exchange. - updateCheckModel(MaxentModel) - Method in class opennlp.tools.parser.ParserModel
-
Instantiates a new
ParserModelinstance from the existing configuration with the specifiedcheckModelfor exchange. - updateChunkerModel(ChunkerModel) - Method in class opennlp.tools.parser.ParserModel
-
Instantiates a new
ParserModelinstance from the existing configuration with the specifiedchunkModelfor exchange. - updateContext(Sequence<ChunkSample>, MaxentModel) - Method in class opennlp.tools.chunker.ChunkSampleSequenceStream
- updateContext(Sequence<LemmaSample>, MaxentModel) - Method in class opennlp.tools.lemmatizer.LemmaSampleSequenceStream
- updateContext(Sequence<NameSample>, MaxentModel) - Method in class opennlp.tools.namefind.NameSampleSequenceStream
- updateContext(Sequence<POSSample>, MaxentModel) - Method in class opennlp.tools.postag.POSSampleSequenceStream
- updateContext(Sequence<S>, MaxentModel) - Method in interface opennlp.tools.ml.model.SequenceStream
-
Creates a new event array based on the outcomes predicted by the specified parameters for the specified
Sequence. - updateCounts(CharSequence[], Map<CharSequence, MutableInt>) - Method in class opennlp.tools.langdetect.LanguageDetectorME
- updateFromCandidates(List<ArcStandardBeam.Node>) - Method in class opennlp.tools.depparse.FeedforwardDependencyTrainer.Optimizer
-
Applies the conditional-likelihood update over the candidate paths.
- updateHeads(HeadRules) - Method in class opennlp.tools.parser.Parse
-
Computes the head parses for this parse and its sub-parses and stores this information in the parse data structure.
- updateInfo - Variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
- UpdateInfo(int, int) - Constructor for class opennlp.tools.ml.maxent.quasinewton.QNMinimizer.UpdateInfo
- updateMeta() - Method in class opennlp.tools.formats.ad.ADSentenceSampleStream
- updateParameter(int, double) - Method in class opennlp.tools.ml.model.MutableContext
-
Updated the parameter or expected value at the specified outcomeIndex by adding the specified value to its current value.
- updates - Variable in class opennlp.tools.ml.perceptron.SimplePerceptronSequenceTrainer
- updateScores(Object[], Object[]) - Method in class opennlp.tools.util.eval.FMeasure
-
Updates the score based on the number of true positives and the number of predictions and references.
- updateSpan() - Method in class opennlp.tools.parser.Parse
- updateTaggerModel(POSModel) - Method in class opennlp.tools.parser.ParserModel
-
Instantiates a new
ParserModelinstance from the existing configuration with the specifiedtaggerModelfor exchange. - updateVector(float[], double[], double[], int, FeedforwardDependencyTrainer.Settings) - Static method in class opennlp.tools.depparse.FeedforwardDependencyTrainer
-
One AdaGrad step on a vector without an L2 penalty: a bias or an embedding row.
- UPOS - Static variable in class opennlp.tools.formats.conllu.ConlluDependencySampleStream
-
The column holding the universal part-of-speech tag.
- uPosTag - Variable in class opennlp.tools.formats.conllu.ConlluWordLine
- UPPER_HEX - Static variable in class opennlp.tools.tokenize.TokenizerCharacterPolicy
- upperCaseInitial(String) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Converts the initial code point to uppercase with the dictionary's case mapping.
- uri - Variable in record class opennlp.tools.util.DictionaryCatalog.Entry
-
The field for the
urirecord component. - uri() - Method in record class opennlp.tools.util.DictionaryCatalog.Entry
-
Returns the value of the
urirecord component. - uriOf(Path) - Static method in class opennlp.tools.util.ext.ProviderSpec
-
Converts a path of the default file system without reading it, unlike
Path.toUri(), which appends a separator to an existing directory and would make the location depend on what is on disk when the spec is created. - url - Variable in class opennlp.tools.ml.maxent.URLInputStreamFactory
- URL - Enum constant in enum class opennlp.tools.namefind.RegexNameFinderFactory.DEFAULT_REGEX_NAME_FINDER
- URL_MUST_NOT_BE_NULL - Static variable in class opennlp.tools.models.AbstractClassPathModelFinder
- URL_SUFFIX - Static variable in class opennlp.tools.util.DictionaryCatalog
- UrlCharSequenceNormalizer - Class in opennlp.tools.util.normalizer
-
A
CharSequenceNormalizerimplementation that replaces eachhttporhttpsURL and each email address with one space. - UrlCharSequenceNormalizer() - Constructor for class opennlp.tools.util.normalizer.UrlCharSequenceNormalizer
- URLInputStreamFactory - Class in opennlp.tools.ml.maxent
- URLInputStreamFactory(URL) - Constructor for class opennlp.tools.ml.maxent.URLInputStreamFactory
- USA_PHONE_NUM - Enum constant in enum class opennlp.tools.namefind.RegexNameFinderFactory.DEFAULT_REGEX_NAME_FINDER
- USE_ALPHA_NUMERIC_OPTIMIZATION - Static variable in class opennlp.tools.tokenize.TokenizerFactory
- useAlphaNumericOptimization - Variable in class opennlp.tools.tokenize.TokenizerFactory
- useAlphaNumericOptimization - Variable in class opennlp.tools.tokenize.TokenizerME
- useAlphaNumericOptimization() - Method in class opennlp.tools.tokenize.TokenizerME
- useAlphaNumericOptimization() - Method in class opennlp.tools.tokenize.TokenizerModel
- useAverage - Variable in class opennlp.tools.ml.perceptron.SimplePerceptronSequenceTrainer
- used - Variable in class opennlp.tools.util.ResourceInstaller.Budget
- useFunctionTags - Static variable in class opennlp.tools.parser.Parse
-
Specifies whether constituent labels should include parts specified after minus character.
- useFunctionTags(boolean) - Static method in class opennlp.tools.parser.Parse
-
Specifies whether function tags should be included as part of the constituent type.
- useGaussianSmoothing - Variable in class opennlp.tools.ml.maxent.GISTrainer
-
Specified whether parameter updates should prefer a distribution of parameters which is gaussian.
- useLabel - Variable in class opennlp.tools.parser.AbstractContextGenerator
- useOnlyAllLetterTokens - Variable in class opennlp.tools.doccat.BagOfWordsFeatureGenerator
- useOutcomes - Variable in class opennlp.tools.namefind.NameSampleSequenceStream
- USER_INFO_SEPARATOR - Static variable in class opennlp.tools.util.ext.ProviderSpec
- useSimpleSmoothing - Variable in class opennlp.tools.ml.maxent.GISTrainer
-
Specifies whether unseen context/outcome pairs should be estimated as occur very infrequently.
- useSkippedlAveraging - Variable in class opennlp.tools.ml.perceptron.PerceptronTrainer
- usesLegacyPredictionFeature(Version) - Static method in class opennlp.tools.chunker.DefaultChunkerContextGenerator
- usesUnicodeOrNumericFlags(byte[]) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Tests for UTF-8 or numeric flag encoding.
- useTokenEnd - Variable in class opennlp.tools.sentdetect.SentenceDetectorFactory
- useTokenEnd - Variable in class opennlp.tools.sentdetect.SentenceDetectorME
- useTokenEnd() - Method in class opennlp.tools.sentdetect.SentenceModel
- USTAR_MAGIC - Static variable in class opennlp.tools.util.archive.TarStream
- UTF_8_REQUIRED - Static variable in class opennlp.tools.formats.conllu.ConlluDependencySampleStreamFactory
-
The message for an
-encodingvalue other than UTF-8.
V
- valid - Variable in record class opennlp.tools.util.normalizer.UnicodeEmojiSequences.Candidate
-
The field for the
validrecord component. - valid() - Method in record class opennlp.tools.util.normalizer.UnicodeEmojiSequences.Candidate
-
Returns the value of the
validrecord component. - VALID_CODES - Static variable in class opennlp.tools.util.LanguageCodeValidator
- validate() - Method in class opennlp.tools.ml.AbstractEventTrainer
- validate() - Method in class opennlp.tools.ml.AbstractTrainer
-
Checks the configured
parameters. - validate() - Method in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
- validate() - Method in class opennlp.tools.ml.perceptron.PerceptronTrainer
-
Checks the configured
parameters. - validate() - Method in class opennlp.tools.ml.perceptron.SimplePerceptronSequenceTrainer
-
Checks the configured
parameters. - validate(String, String, String, int, String) - Static method in class opennlp.tools.util.normalizer.EmojiAnnotations
- validate(LayerKey<T>, List<Annotation<T>>) - Method in class opennlp.tools.document.ImmutableDocument
-
Checks one layer's annotations against the key's contract: no null elements, values assignable to the key's type, spans present and within the text bounds under a positional key, absent under a document-scoped key.
- validateArguments(int, int, int) - Static method in class opennlp.tools.chunker.ChunkSample
- validateArguments(int, int, int) - Method in class opennlp.tools.lemmatizer.LemmaSample
- validateArguments(String[], Class<?>...) - Static method in class opennlp.tools.cmdline.ArgumentParser
-
Tests if the argument are correct or incorrect.
- validateArguments(String[], Class<T>) - Static method in class opennlp.tools.cmdline.ArgumentParser
-
Tests if the argument are correct or incorrect.
- validateArgumentsLoudly(String[], Class<?>) - Static method in class opennlp.tools.cmdline.ArgumentParser
-
Tests if the arguments are correct or incorrect.
- validateArgumentsLoudly(String[], Class<?>...) - Static method in class opennlp.tools.cmdline.ArgumentParser
-
Tests if the arguments are correct or incorrect.
- validateArtifactMap() - Method in class opennlp.tools.chunker.ChunkerFactory
- validateArtifactMap() - Method in class opennlp.tools.chunker.ChunkerModel
- validateArtifactMap() - Method in class opennlp.tools.depparse.DependencyModel
-
Validates the parsed artifacts.
- validateArtifactMap() - Method in class opennlp.tools.depparse.FeedforwardDependencyModel
-
Validates the parsed artifacts.
- validateArtifactMap() - Method in class opennlp.tools.doccat.DoccatFactory
- validateArtifactMap() - Method in class opennlp.tools.doccat.DoccatModel
- validateArtifactMap() - Method in class opennlp.tools.langdetect.LanguageDetectorFactory
- validateArtifactMap() - Method in class opennlp.tools.langdetect.LanguageDetectorModel
- validateArtifactMap() - Method in class opennlp.tools.lemmatizer.LemmatizerFactory
- validateArtifactMap() - Method in class opennlp.tools.lemmatizer.LemmatizerModel
- validateArtifactMap() - Method in class opennlp.tools.namefind.TokenNameFinderFactory
- validateArtifactMap() - Method in class opennlp.tools.namefind.TokenNameFinderModel
- validateArtifactMap() - Method in class opennlp.tools.parser.ParserModel
- validateArtifactMap() - Method in class opennlp.tools.postag.POSModel
- validateArtifactMap() - Method in class opennlp.tools.postag.POSTaggerFactory
- validateArtifactMap() - Method in class opennlp.tools.sentdetect.SentenceDetectorFactory
- validateArtifactMap() - Method in class opennlp.tools.sentdetect.SentenceModel
- validateArtifactMap() - Method in class opennlp.tools.sentiment.SentimentFactory
-
Validates the artifact map --> nothing to validate.
- validateArtifactMap() - Method in class opennlp.tools.tokenize.BPEModel
- validateArtifactMap() - Method in class opennlp.tools.tokenize.BPETokenizerFactory
-
Validates the parsed artifacts.
- validateArtifactMap() - Method in class opennlp.tools.tokenize.TokenizerFactory
- validateArtifactMap() - Method in class opennlp.tools.tokenize.TokenizerModel
- validateArtifactMap() - Method in class opennlp.tools.util.BaseToolFactory
-
Validates the parsed artifacts.
- validateArtifactMap() - Method in class opennlp.tools.util.model.BaseModel
-
Validates the parsed artifacts.
- validateBasicFormatParameters(String[], Class<P>) - Method in class opennlp.tools.formats.AbstractSampleStreamFactory
-
Validates the specified arguments (
args) given the context the generic typePwhich provides at least allBasicFormatParams. - validateCachedModel(String, Path) - Static method in class opennlp.tools.util.DownloadUtil
-
Validates a model that is already present in the download home.
- validateChecksum(String) - Static method in class opennlp.tools.util.ResourceInstaller
-
Validates the checksum argument and normalizes it for comparison.
- validateEmptyZip(InputStream) - Static method in class opennlp.tools.util.ResourceInstaller
-
Validates an empty zip archive from its end-of-central-directory record.
- validateLanguageCode(String) - Static method in class opennlp.tools.util.LanguageCodeValidator
-
Validates the given language code and throws an
IllegalArgumentExceptionif it is not a recognized ISO 639 language code. - validateModel(String, Path) - Static method in class opennlp.tools.util.DownloadUtil
-
Validates a freshly downloaded model via the specified
downloadedModel pathand stores the expected checksum next to it, so that subsequent loads of the cached file can be verified without contacting the CDN again. - validateOutcomes(MaxentModel, String...) - Static method in class opennlp.tools.util.model.ModelUtil
-
Checks if the
expectedOutcomesare all contained as outcomes in the givenmodel. - validatePOSDictionary(POSDictionary, AbstractModel) - Method in class opennlp.tools.postag.POSTaggerFactory
- validateSet(String, CodePointSet) - Static method in class opennlp.tools.tokenize.TokenizerCharacterPolicy
-
Throws if
setcontains a surrogate code point orUnicodeWhitespacemember. - validateSource(URI) - Static method in class opennlp.tools.util.ResourceInstaller
-
Rejects a source the installer will not fetch.
- validateSourceName(String) - Static method in class opennlp.tools.util.ResourceInstaller
-
Rejects names that are empty, path-like, or contain a NUL character.
- validateVocabulary(Map<String, Integer>, boolean[], String, String[]) - Static method in class opennlp.tools.depparse.FeedforwardNetwork
-
Checks that one vocabulary starts with its reserved symbols and occupies one consecutive block of embedding rows that no other vocabulary uses.
- validateZip(Path, Set<String>) - Static method in class opennlp.tools.util.ResourceInstaller
-
Checks that a zip archive contains a valid central directory listing the same files the local headers delivered, before staged content is promoted.
- validName(String) - Static method in class opennlp.tools.document.Layers
-
Validates a namespace-free layer name.
- validOutcome(String, String) - Method in class opennlp.tools.chunker.DefaultChunkerSequenceValidator
- validOutcome(String, String[]) - Method in class opennlp.tools.chunker.DefaultChunkerSequenceValidator
- validSequence(int, String[], String[], String) - Method in class opennlp.tools.lemmatizer.DefaultLemmatizerSequenceValidator
- validSequence(int, String[], String[], String) - Method in class opennlp.tools.namefind.BilouNameFinderSequenceValidator
- validSequence(int, String[], String[], String) - Method in class opennlp.tools.namefind.NameFinderSequenceValidator
- validSequence(int, String[], String[], String) - Method in class opennlp.tools.parser.ParserChunkerSequenceValidator
- validSequence(int, String[], String[], String) - Method in class opennlp.tools.postag.DefaultPOSSequenceValidator
- validSequence(int, TokenTag[], String[], String) - Method in class opennlp.tools.chunker.DefaultChunkerSequenceValidator
- validSequence(int, TokenTag[], String[], String) - Method in class opennlp.tools.parser.ParserChunkerSequenceValidator
- validSequence(int, T[], String[], String) - Method in interface opennlp.tools.util.SequenceValidator
-
Determines whether a particular continuation of a
sequenceis valid. - validStandalone(int[]) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Checks whether one homonym stands on its own: its flag set carries none of the blocking flags named in
HunspellDictionary.validStandalone(List). - validStandalone(List<int[]>) - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Checks whether a listed word is valid on its own: some homonym's flag set carries none of the blocking flags.
- value - Variable in record class opennlp.tools.cmdline.ArgumentParser.Argument
-
The field for the
valuerecord component. - value - Variable in record class opennlp.tools.document.Annotation
-
The field for the
valuerecord component. - value - Variable in class opennlp.tools.formats.brat.AttributeAnnotation
- value - Variable in record class opennlp.tools.util.ext.Providers.Parsed
-
The field for the
valuerecord component. - value - Variable in class opennlp.tools.util.normalizer.BundledUnicodeData.Lazy
- value - Variable in record class opennlp.tools.util.normalizer.EmojiAnnotation.Value
-
The field for the
valuerecord component. - value() - Method in record class opennlp.tools.cmdline.ArgumentParser.Argument
-
Returns the value of the
valuerecord component. - value() - Element in annotation interface opennlp.tools.commons.Internal
- value() - Element in annotation interface opennlp.tools.commons.SuppressForbidden
- value() - Method in record class opennlp.tools.document.Annotation
-
Returns the value of the
valuerecord component. - value() - Method in record class opennlp.tools.util.ext.Providers.Parsed
-
Returns the value of the
valuerecord component. - value() - Method in record class opennlp.tools.util.normalizer.EmojiAnnotation.Value
-
Returns the value of the
valuerecord component. - Value(String, String, String) - Constructor for record class opennlp.tools.util.normalizer.EmojiAnnotation.Value
-
Validates the components.
- VALUE - Static variable in class opennlp.tools.ml.perceptron.SimplePerceptronSequenceTrainer
- VALUE_OFFSET - Static variable in class opennlp.tools.formats.brat.BratAnnotationStream.AttributeAnnotationParser
- VALUE_SEPARATOR - Static variable in class opennlp.tools.ml.model.SimpleEventStreamBuilder
- valueAt(double[]) - Method in interface opennlp.tools.ml.maxent.quasinewton.Function
-
Computes the function value for
x. - valueAt(double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.NegLogLikelihood
-
Computes the negative log-likelihood.
- valueAt(double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.ParallelNegLogLikelihood
-
Computes the function value for
x. - valueAt(double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer.L2RegFunction
- valueAt(String[], int) - Method in class opennlp.tools.depparse.DependencyContextGenerator
-
Looks up the word or tag at a stack or buffer position.
- valueAtCurr - Variable in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- valueAtNext - Variable in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- valueIndex - Variable in class opennlp.tools.tokenize.lattice.DoubleArrayLexicon.Builder
- valueName() - Element in annotation interface opennlp.tools.cmdline.ArgumentParser.ParameterDescription
- valueOf(String) - Static method in enum class opennlp.tools.depparse.Transition.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class opennlp.tools.document.Document.DuplicateLayerPolicy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class opennlp.tools.document.LayerKey.Scope
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class opennlp.tools.formats.Conll02NameSampleStream.LANGUAGE
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class opennlp.tools.formats.Conll03NameSampleStream.LANGUAGE
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class opennlp.tools.formats.conllu.ConlluTagset
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class opennlp.tools.formats.EvalitaNameSampleStream.LANGUAGE
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class opennlp.tools.formats.GermEval2014NameSampleStream.NerLayer
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class opennlp.tools.ml.AlgorithmType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class opennlp.tools.ml.TrainerFactory.TrainerType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class opennlp.tools.models.ModelType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class opennlp.tools.monitoring.TrainingMeasure
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class opennlp.tools.namefind.RegexNameFinderFactory.DEFAULT_REGEX_NAME_FINDER
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class opennlp.tools.parser.ParserEventTypeEnum
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class opennlp.tools.parser.ParserType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class opennlp.tools.postag.POSTagFormat
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class opennlp.tools.stemmer.hunspell.HunspellDictionary.CaseType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class opennlp.tools.stemmer.hunspell.HunspellDictionary.CompoundPosition
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class opennlp.tools.stemmer.hunspell.HunspellDictionary.FlagMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class opennlp.tools.stemmer.hunspell.HunspellDictionary.LoadMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class opennlp.tools.termvector.TermVectorAnnotator.Mode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class opennlp.tools.tokenize.DetokenizationDictionary.Operation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class opennlp.tools.tokenize.Detokenizer.DetokenizationOperation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class opennlp.tools.tokenize.uax29.WordBreak
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class opennlp.tools.tokenize.uax29.WordType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class opennlp.tools.util.CompatibilityMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class opennlp.tools.util.model.ModelType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class opennlp.tools.util.normalizer.Dimension
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class opennlp.tools.util.normalizer.EmojiCategory
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class opennlp.tools.util.normalizer.EmojiEntityType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class opennlp.tools.util.normalizer.UnicodeDash.Category
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class opennlp.tools.util.normalizer.UnicodeWhitespace.Breaking
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class opennlp.tools.util.normalizer.UnicodeWhitespace.Category
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class opennlp.tools.util.WhitespaceMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class opennlp.tools.util.wordvector.WordVectorType
-
Returns the enum constant of this class with the specified name.
- values - Variable in class opennlp.tools.ml.maxent.GISTrainer
-
The value associated with each context.
- values - Variable in class opennlp.tools.ml.maxent.quasinewton.NegLogLikelihood
- values - Variable in class opennlp.tools.ml.model.ComparableEvent
- values - Variable in class opennlp.tools.ml.model.Event
- values - Variable in class opennlp.tools.ml.model.OnePassRealValueDataIndexer
- values - Variable in class opennlp.tools.ml.naivebayes.NaiveBayesTrainer
-
The value associates with each context.
- values - Variable in class opennlp.tools.ml.perceptron.PerceptronTrainer
-
The value associates with each context.
- values - Variable in class opennlp.tools.stemmer.hunspell.HunspellStemmer.Results
- values - Variable in class opennlp.tools.tokenize.lattice.DoubleArrayLexicon
- values - Variable in class opennlp.tools.tokenize.uax29.WordSegmenter.IntList
- values() - Static method in enum class opennlp.tools.depparse.Transition.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class opennlp.tools.document.Document.DuplicateLayerPolicy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class opennlp.tools.document.LayerKey.Scope
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class opennlp.tools.formats.Conll02NameSampleStream.LANGUAGE
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class opennlp.tools.formats.Conll03NameSampleStream.LANGUAGE
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class opennlp.tools.formats.conllu.ConlluTagset
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class opennlp.tools.formats.EvalitaNameSampleStream.LANGUAGE
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class opennlp.tools.formats.GermEval2014NameSampleStream.NerLayer
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class opennlp.tools.ml.AlgorithmType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class opennlp.tools.ml.TrainerFactory.TrainerType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class opennlp.tools.models.ModelType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class opennlp.tools.monitoring.TrainingMeasure
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class opennlp.tools.namefind.RegexNameFinderFactory.DEFAULT_REGEX_NAME_FINDER
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class opennlp.tools.parser.ParserEventTypeEnum
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class opennlp.tools.parser.ParserType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class opennlp.tools.postag.POSTagFormat
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class opennlp.tools.stemmer.hunspell.HunspellDictionary.CaseType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class opennlp.tools.stemmer.hunspell.HunspellDictionary.CompoundPosition
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class opennlp.tools.stemmer.hunspell.HunspellDictionary.FlagMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class opennlp.tools.stemmer.hunspell.HunspellDictionary.LoadMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class opennlp.tools.termvector.TermVectorAnnotator.Mode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class opennlp.tools.tokenize.DetokenizationDictionary.Operation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class opennlp.tools.tokenize.Detokenizer.DetokenizationOperation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class opennlp.tools.tokenize.uax29.WordBreak
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class opennlp.tools.tokenize.uax29.WordType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class opennlp.tools.util.CompatibilityMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class opennlp.tools.util.model.ModelType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class opennlp.tools.util.normalizer.Dimension
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class opennlp.tools.util.normalizer.EmojiCategory
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class opennlp.tools.util.normalizer.EmojiEntityType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class opennlp.tools.util.normalizer.UnicodeDash.Category
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class opennlp.tools.util.normalizer.UnicodeWhitespace.Breaking
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class opennlp.tools.util.normalizer.UnicodeWhitespace.Category
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class opennlp.tools.util.WhitespaceMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class opennlp.tools.util.wordvector.WordVectorType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values(List<Annotation<String>>, int, int) - Static method in class opennlp.tools.document.DocumentAnnotators
-
Collects the values of a contiguous run of annotations, for example the tags of one sentence's tokens during
DocumentAnnotators.forEachSentence(List, List, SentenceTokenConsumer). - VALUES - Static variable in class opennlp.tools.tokenize.uax29.WordBreakProperty
- variant - Variable in class opennlp.tools.stemmer.hunspell.HunspellStemmer.Analysis
- variants(String) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Collects the case variants to analyze: the surface form first, then its lowercase form when the two differ.
- VARIATION_SELECTOR_EMOJI - Static variable in class opennlp.tools.util.normalizer.UnicodeEmojiSequences
-
U+FE0F asks for emoji presentation.
- VARIATION_SELECTOR_TEXT - Static variable in class opennlp.tools.util.normalizer.UnicodeEmojiSequences
-
U+FE0E asks for text presentation.
- vector - Variable in class opennlp.tools.util.wordvector.DoubleArrayVector
- vector - Variable in class opennlp.tools.util.wordvector.FloatArrayVector
- vectors - Variable in class opennlp.tools.util.wordvector.MapWordVectorTable
- VEHICLE - Enum constant in enum class opennlp.tools.util.normalizer.EmojiEntityType
-
A vehicle, from the
transport-*subgroups. - verify(Path, String) - Static method in class opennlp.tools.util.ResourceInstaller
-
Computes the file's digest and compares it with the expected hex digest, ignoring hex letter case.
- verifyChecksum(Path, String) - Static method in class opennlp.tools.util.DownloadUtil
-
Compares the SHA-512 hash of a model file with the expected one.
- Version - Class in opennlp.tools.util
-
The
Versionclass represents the OpenNLP Tools library version. - Version(int, int, int) - Constructor for class opennlp.tools.util.Version
-
Initializes a
Versioninstance with the provided version elements. - Version(int, int, int, boolean) - Constructor for class opennlp.tools.util.Version
-
Initializes a
Versioninstance with the provided version elements. - VERSION_PROPERTY - Static variable in class opennlp.tools.util.model.BaseModel
- violatesBoundaryChecks(String, String, int, boolean) - Method in class opennlp.tools.stemmer.hunspell.HunspellStemmer
-
Applies the character-level boundary declarations at the junction before
from:CHECKCOMPOUNDCASEforbids an uppercase character on either side of the junction, andCHECKCOMPOUNDTRIPLEforbids the same character three times in a row across it. - VISITED - Static variable in class opennlp.tools.depparse.DependencyTree
-
Traversal state of a token whose head chain is known to reach the root.
- VISITING - Static variable in class opennlp.tools.depparse.DependencyTree
-
Traversal state of a token on the head chain currently being followed.
- vocabulary - Variable in class opennlp.tools.ml.naivebayes.NaiveBayesEvalParameters
- vocabulary - Variable in class opennlp.tools.ml.naivebayes.NaiveBayesModel
- vocabulary - Variable in class opennlp.tools.tokenize.WordpieceTokenizer
- VocabularyMatch(String, int, int) - Constructor for record class opennlp.tools.tokenize.WordpieceEncoder.VocabularyMatch
-
Creates an instance of a
VocabularyMatchrecord class. - VocabularyTrie(Map<String, Integer>, boolean) - Constructor for class opennlp.tools.tokenize.WordpieceEncoder.VocabularyTrie
-
Indexes the initial or the continuation pieces of a vocabulary.
- vowelinstem() - Method in class opennlp.tools.stemmer.PorterStemmer
W
- W_DIC - Static variable in class opennlp.tools.util.featuregen.InSpanGenerator
- W_DIC_IS - Static variable in class opennlp.tools.util.featuregen.InSpanGenerator
- walk(CharSequence, int) - Method in class opennlp.tools.util.normalizer.UnicodeEmojiSequences
-
Walks the trie along the text from a position.
- Walk(int, int) - Constructor for record class opennlp.tools.util.normalizer.UnicodeEmojiSequences.Walk
-
Creates an instance of a
Walkrecord class. - warn(P, String, String) - Method in class opennlp.tools.util.ext.Providers
-
Reports a provider method that could not be used, once per provider and method at
WARNand atDEBUGafterwards, so a resolution on a request path does not flood the log. - warnAboutSharedNames(List<Providers.Registration<P>>) - Method in class opennlp.tools.util.ext.Providers
-
Reports providers that share a name, which can be a replacement or an unwanted override.
- warned - Variable in class opennlp.tools.util.ext.Providers
- warnIfLegacy(CompatibilityMode) - Static method in enum class opennlp.tools.util.CompatibilityMode
-
Logs the legacy-mode removal warning, once per process.
- warnIfLegacy(WhitespaceMode) - Static method in enum class opennlp.tools.util.WhitespaceMode
-
Logs the legacy-mode removal warning, once per process.
- WARNING_TAG - Static variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- warningFlag - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary.AffixFile
- warningFlag - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- watermark - Variable in class opennlp.tools.tokenize.lattice.DoubleArrayLexicon.Builder
- WAVING_BLACK_FLAG - Static variable in class opennlp.tools.util.normalizer.EmojiFlags
- weight - Variable in class opennlp.tools.depparse.ArcStandardBeam.Node
-
The candidate weight summed over the paths through this node by the trainer.
- whitespace() - Static method in class opennlp.tools.util.normalizer.CharClass
-
Returns the whitespace preset: the Unicode
White_Spaceset, replacementU+0020. - whitespace() - Method in class opennlp.tools.util.normalizer.TermAnalyzer.Builder
-
Enables
Dimension.WHITESPACE. - whitespace() - Method in class opennlp.tools.util.normalizer.TextNormalizer.Builder
-
Returns this builder with Unicode whitespace collapsing appended.
- whitespace(CharSequenceNormalizer) - Method in class opennlp.tools.util.normalizer.TermAnalyzer.Builder
-
Enables
Dimension.WHITESPACEwith a specific normalizer, choosing the fold target and behavior. - WHITESPACE - Enum constant in enum class opennlp.tools.util.normalizer.Dimension
-
Unicode whitespace folded to ASCII spaces.
- WHITESPACE - Static variable in class opennlp.tools.sentdetect.SentenceDetectorME
- WHITESPACE - Static variable in class opennlp.tools.tokenize.SimpleTokenizer.CharacterEnum
- WHITESPACE - Static variable in class opennlp.tools.tokenize.TokenizerME
- WHITESPACE - Static variable in class opennlp.tools.util.normalizer.AsciiChars
-
The six ASCII whitespace characters: tab (
U+0009), line feed (U+000A), vertical tab (U+000B), form feed (U+000C), carriage return (U+000D), and space (U+0020). - WHITESPACE - Static variable in class opennlp.tools.util.normalizer.CharClass
- WHITESPACE - Static variable in class opennlp.tools.util.normalizer.LineBreakPreservingWhitespaceCharSequenceNormalizer
- WHITESPACE - Static variable in class opennlp.tools.util.normalizer.ParagraphPreservingWhitespaceCharSequenceNormalizer
- WHITESPACE - Static variable in class opennlp.tools.util.normalizer.UnicodeWhitespace
- WHITESPACE - Static variable in class opennlp.tools.util.normalizer.WhitespaceCharSequenceNormalizer
- WHITESPACE_KEEPING_NEW_LINES - Static variable in class opennlp.tools.tokenize.TokenizerME
- WhitespaceCharacter(int, String, String, UnicodeWhitespace.Category, UnicodeWhitespace.Breaking) - Constructor for record class opennlp.tools.util.normalizer.UnicodeWhitespace.WhitespaceCharacter
-
Creates an instance of a
WhitespaceCharacterrecord class. - WhitespaceCharSequenceNormalizer - Class in opennlp.tools.util.normalizer
-
A
CharSequenceNormalizerthat collapses each run of Unicode whitespace to a single ASCII space and trims the edges, reusing the cursor basedCharClass.whitespace()engine. - WhitespaceCharSequenceNormalizer() - Constructor for class opennlp.tools.util.normalizer.WhitespaceCharSequenceNormalizer
- WhitespaceMode - Enum Class in opennlp.tools.util
-
Selects the whitespace definition used by
StringUtil.isWhitespace(char)andStringUtil.isWhitespace(int): the UnicodeWhite_Spaceproperty, or OpenNLP's legacy definition from 1.x/2.x. - WhitespaceMode() - Constructor for enum class opennlp.tools.util.WhitespaceMode
- whitespacePreservingLineBreaks() - Method in class opennlp.tools.util.normalizer.TextNormalizer.Builder
-
Returns this builder with whitespace collapsing that preserves line and paragraph breaks appended.
- whitespacePreservingParagraphs() - Method in class opennlp.tools.util.normalizer.TextNormalizer.Builder
-
Returns this builder with hard-wrap unwrapping that preserves paragraph breaks appended.
- WhitespaceRuns - Class in opennlp.tools.tokenize.lattice
-
Splits a text into the maximal stretches that contain no whitespace, as judged by
StringUtil.isWhitespace(char). - WhitespaceRuns() - Constructor for class opennlp.tools.tokenize.lattice.WhitespaceRuns
- WhitespaceRuns.RunHandler - Interface in opennlp.tools.tokenize.lattice
-
Receives one whitespace-free stretch of a text.
- whitespaceTokenizer - Variable in class opennlp.tools.tokenize.WordpieceTokenizer
-
Splits words; not shared, so changes to
WhitespaceTokenizer.INSTANCEdo not apply. - WhitespaceTokenizer - Class in opennlp.tools.tokenize
-
A basic
Tokenizerimplementation which performs tokenization using white spaces. - WhitespaceTokenizer() - Constructor for class opennlp.tools.tokenize.WhitespaceTokenizer
- WhitespaceTokenStream - Class in opennlp.tools.tokenize
-
This stream formats
ObjectStreamofsamplesinto whitespace separated token strings. - WhitespaceTokenStream(ObjectStream<TokenSample>) - Constructor for class opennlp.tools.tokenize.WhitespaceTokenStream
-
Initializes a
WhitespaceTokenStream. - WILDCARD_MUST_NOT_BE_NULL - Static variable in class opennlp.tools.models.AbstractClassPathModelFinder
- WildcardMatcher - Class in opennlp.tools.models
-
Matches file names against the wildcards accepted by
AbstractClassPathModelFinder.matchesWildcard(java.net.URL, String). - WildcardMatcher() - Constructor for class opennlp.tools.models.WildcardMatcher
- WindowFeatureGenerator - Class in opennlp.tools.util.featuregen
-
Generates previous (left-sided) and next (right-sided) features for a given
AdaptiveFeatureGenerator. - WindowFeatureGenerator(int, int, AdaptiveFeatureGenerator...) - Constructor for class opennlp.tools.util.featuregen.WindowFeatureGenerator
-
Initializes a
WindowFeatureGeneratorwith the given parameters. - WindowFeatureGenerator(AdaptiveFeatureGenerator) - Constructor for class opennlp.tools.util.featuregen.WindowFeatureGenerator
-
Initializes a
WindowFeatureGenerator. - WindowFeatureGenerator(AdaptiveFeatureGenerator...) - Constructor for class opennlp.tools.util.featuregen.WindowFeatureGenerator
-
Initializes a
WindowFeatureGenerator. - WindowFeatureGenerator(AdaptiveFeatureGenerator, int, int) - Constructor for class opennlp.tools.util.featuregen.WindowFeatureGenerator
-
Initializes a
WindowFeatureGeneratorwith the given parameters. - WindowFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
A
GeneratorFactorythat producesWindowFeatureGeneratorinstances whenWindowFeatureGeneratorFactory.create()is called. - WindowFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.WindowFeatureGeneratorFactory
- with(LayerKey<T>, List<Annotation<T>>) - Method in interface opennlp.tools.document.Document
-
Returns a new document with one layer added.
- with(LayerKey<T>, List<Annotation<T>>) - Method in class opennlp.tools.document.ImmutableDocument
-
Returns a new document with one layer added.
- with(CharSequenceNormalizer) - Method in class opennlp.tools.util.normalizer.TextNormalizer.Builder
-
Appends a custom normalizer.
- withAdditional(CodePointSet) - Method in class opennlp.tools.util.normalizer.CharClass
-
Returns a copy of this class whose member set is extended with
extra(for example, user-defined code points loaded fromCodePointSet.fromFile(java.nio.file.Path, java.lang.String)). - withoutUserInfo(String) - Static method in class opennlp.tools.util.ext.ProviderSpec
- withPhoneticFields(Map<String, List<int[]>>, Map<int[], List<String>>) - Method in class opennlp.tools.stemmer.hunspell.HunspellConversion
-
Adds dictionary transliterations to the replacement table.
- withSpans(String, List<Span>) - Static method in record class opennlp.tools.termvector.TermVector
-
Creates a full
TermVectorwhose frequency is derived from the occurrence spans. - word - Variable in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
- WORD_ELEMENT_NAME - Static variable in class opennlp.tools.formats.frenchtreebank.ConstitDocumentHandler
- WORD_PREFIX - Static variable in class opennlp.tools.util.featuregen.TokenFeatureGenerator
- WORD_TAG_SEPARATOR - Static variable in class opennlp.tools.depparse.DependencyContextGenerator
-
Separates a word from the tag of the same position within one feature.
- wordAccuracy - Variable in class opennlp.tools.lemmatizer.LemmatizerEvaluator
- wordAccuracy - Variable in class opennlp.tools.postag.POSEvaluator
- wordAccuracy - Variable in class opennlp.tools.postag.POSTaggerCrossValidator
- wordAnchors - Variable in class opennlp.tools.formats.masc.MascWordParser
- wordBeforeBlocksBoundary(CharSequence, int) - Method in class opennlp.tools.util.normalizer.SocialMediaCharSequenceNormalizer
-
Returns whether the word boundary before
indexis blocked. - WordBreak - Enum Class in opennlp.tools.tokenize.uax29
-
The Unicode
Word_Breakproperty values, used by the UAX #29 word boundary algorithm. - WordBreak() - Constructor for enum class opennlp.tools.tokenize.uax29.WordBreak
- WordBreak(String, boolean, boolean) - Constructor for record class opennlp.tools.stemmer.hunspell.HunspellDictionary.WordBreak
-
Creates an instance of a
WordBreakrecord class. - WordBreakProperty - Class in opennlp.tools.tokenize.uax29
-
Looks up the Unicode
Word_Breakproperty of a code point. - WordBreakProperty() - Constructor for class opennlp.tools.tokenize.uax29.WordBreakProperty
- WordBreakProperty.Data - Class in opennlp.tools.tokenize.uax29
- wordBreaks - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary.AffixFile
- wordBreaks - Variable in class opennlp.tools.stemmer.hunspell.HunspellDictionary
- wordBreaks() - Method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Returns the word separators with their start and end anchors.
- WordClusterDictionary - Class in opennlp.tools.util.featuregen
- WordClusterDictionary(InputStream) - Constructor for class opennlp.tools.util.featuregen.WordClusterDictionary
-
Read word2vec and clark clustering style lexicons.
- WordClusterDictionary.WordClusterDictionarySerializer - Class in opennlp.tools.util.featuregen
- WordClusterDictionarySerializer() - Constructor for class opennlp.tools.util.featuregen.WordClusterDictionary.WordClusterDictionarySerializer
- WordClusterFeatureGenerator - Class in opennlp.tools.util.featuregen
-
An
AdaptiveFeatureGeneratorimplementation of a word cluster feature generator. - WordClusterFeatureGenerator(WordClusterDictionary, String, boolean) - Constructor for class opennlp.tools.util.featuregen.WordClusterFeatureGenerator
-
Instantiates a
WordClusterFeatureGeneratorvia a specifiedWordClusterDictionary. - WordClusterFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
Defines a word cluster
GeneratorFactory; it reads an element containing 'w2vwordcluster' as a tag name. - WordClusterFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.WordClusterFeatureGeneratorFactory
- wordCutoff - Variable in record class opennlp.tools.depparse.FeedforwardDependencyTrainer.Settings
-
The field for the
wordCutoffrecord component. - wordCutoff() - Method in record class opennlp.tools.depparse.FeedforwardDependencyTrainer.Settings
-
Returns the value of the
wordCutoffrecord component. - WordEntry(int, int, int, List<String>) - Constructor for record class opennlp.tools.tokenize.lattice.MecabDictionary.WordEntry
-
Creates an instance of a
WordEntryrecord class. - wordIds - Variable in class opennlp.tools.depparse.FeedforwardNetwork
- wordIds() - Method in class opennlp.tools.depparse.FeedforwardNetwork
- wordIndex(String) - Method in class opennlp.tools.formats.conllu.ConlluDependencySampleStream
-
Reads a word ID, the one-based position of a syntactic word in its sentence, from the ID column or from the HEAD column of another word.
- wordLines - Variable in class opennlp.tools.formats.conllu.ConlluSentence
- WordpieceEncoder - Class in opennlp.tools.tokenize
-
A
SubwordTokenizerimplementing the BERT tokenization stages: basic tokenization (control removal, whitespace normalization, CJK isolation, optional lower casing with accent stripping, punctuation isolation) followed by greedy longest-match wordpiece segmentation. - WordpieceEncoder(List<String>) - Constructor for class opennlp.tools.tokenize.WordpieceEncoder
-
Instantiates an encoder for an uncased BERT model with the BERT special tokens.
- WordpieceEncoder(List<String>, boolean) - Constructor for class opennlp.tools.tokenize.WordpieceEncoder
-
Instantiates an encoder with the BERT special tokens.
- WordpieceEncoder(List<String>, boolean, int) - Constructor for class opennlp.tools.tokenize.WordpieceEncoder
-
Instantiates an encoder with the BERT special tokens and a custom word-length limit.
- WordpieceEncoder(List<String>, boolean, String, String, String) - Constructor for class opennlp.tools.tokenize.WordpieceEncoder
-
Instantiates an encoder with custom special tokens.
- WordpieceEncoder(List<String>, boolean, String, String, String, int) - Constructor for class opennlp.tools.tokenize.WordpieceEncoder
-
Instantiates an encoder with custom special tokens and a custom word-length limit.
- WordpieceEncoder(Map<String, Integer>, boolean, String, String, String) - Constructor for class opennlp.tools.tokenize.WordpieceEncoder
-
Instantiates an encoder from an explicit piece-to-id mapping for vocabularies with noncontiguous ids.
- WordpieceEncoder(Map<String, Integer>, boolean, String, String, String, int) - Constructor for class opennlp.tools.tokenize.WordpieceEncoder
-
Instantiates an encoder from a piece-to-id mapping with a custom word-length limit.
- WordpieceEncoder.TrieNode - Class in opennlp.tools.tokenize
-
One node of the vocabulary trie.
- WordpieceEncoder.VocabularyMatch - Record Class in opennlp.tools.tokenize
-
A vocabulary match and the exclusive end offset in normalized text.
- WordpieceEncoder.VocabularyTrie - Class in opennlp.tools.tokenize
-
Finds vocabulary entries without creating strings for candidate lengths.
- WordpieceTokenizer - Class in opennlp.tools.tokenize
-
A
Tokenizerimplementation which performs tokenization using word pieces. - WordpieceTokenizer(Set<String>) - Constructor for class opennlp.tools.tokenize.WordpieceTokenizer
-
Initializes a
WordpieceTokenizerwith avocabularyand a default maximum token length of 100 Unicode code points. - WordpieceTokenizer(Set<String>, int) - Constructor for class opennlp.tools.tokenize.WordpieceTokenizer
- WordpieceTokenizer(Set<String>, String, String, String) - Constructor for class opennlp.tools.tokenize.WordpieceTokenizer
-
Initializes a
WordpieceTokenizerwith avocabularyand custom special tokens. - WordpieceTokenizer(Set<String>, String, String, String, int) - Constructor for class opennlp.tools.tokenize.WordpieceTokenizer
-
Initializes a
WordpieceTokenizerwith avocabulary, custom special tokens and a custommaxTokenLength. - wordRows - Variable in class opennlp.tools.depparse.FeedforwardContext
- wordRows(String[]) - Method in class opennlp.tools.depparse.FeedforwardNetwork
-
Resolves the tokens of a sentence to their word rows once, so that extracting the features of every configuration only indexes.
- words - Variable in class opennlp.tools.formats.masc.MascSentence
- wordsById - Variable in record class opennlp.tools.formats.masc.MascSentence.QuarkExtractor
-
The field for the
wordsByIdrecord component. - wordsById - Variable in class opennlp.tools.formats.masc.MascSentence
- wordsById() - Method in record class opennlp.tools.formats.masc.MascSentence.QuarkExtractor
-
Returns the value of the
wordsByIdrecord component. - WordSegmenter - Class in opennlp.tools.tokenize.uax29
-
Finds word boundaries in text using the Unicode Text Segmentation algorithm (UAX #29), rules WB1 through WB999.
- WordSegmenter() - Constructor for class opennlp.tools.tokenize.uax29.WordSegmenter
- WordSegmenter.IntList - Class in opennlp.tools.tokenize.uax29
- WordSegmenter.SegmentConsumer - Interface in opennlp.tools.tokenize.uax29
-
Receives each word segment as the half-open character range
[start, end). - wordsKey - Variable in class opennlp.tools.parser.ChunkContextGenerator
- wordsKey - Variable in class opennlp.tools.postag.ConfigurablePOSContextGenerator.CacheState
- WordTagSampleStream - Class in opennlp.tools.postag
-
A
stream filterwhich reads a sentence per line that contains words and tags inword_tagformat and outputs aPOSSampleobjects. - WordTagSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.postag.WordTagSampleStream
-
Initializes a
POSSampleinstance. - WordTagSampleStreamFactory - Class in opennlp.tools.formats
-
Note: Do not use this class, internal use only!
- WordTagSampleStreamFactory(Class<WordTagSampleStreamFactory.Parameters>) - Constructor for class opennlp.tools.formats.WordTagSampleStreamFactory
- WordTagSampleStreamFactory.Parameters - Interface in opennlp.tools.formats
- WordToken - Record Class in opennlp.tools.tokenize.uax29
-
A word token produced by
WordTokenizer: the characterSpaninto the source text together with itsWordType. - WordToken(Span, WordType) - Constructor for record class opennlp.tools.tokenize.uax29.WordToken
-
Creates an instance of a
WordTokenrecord class. - WordTokenizer - Class in opennlp.tools.tokenize.uax29
-
A word tokenizer built on the Unicode Text Segmentation algorithm (UAX #29).
- WordTokenizer() - Constructor for class opennlp.tools.tokenize.uax29.WordTokenizer
-
Instantiates a tokenizer with the default maximum token length.
- WordTokenizer(int) - Constructor for class opennlp.tools.tokenize.uax29.WordTokenizer
-
Instantiates a tokenizer with the given maximum token length.
- WordTokenizer.TokenHandler - Interface in opennlp.tools.tokenize.uax29
-
Receives each word token as a character range and its type, with no allocation.
- WordTrie(char[], UnigramSegmenter.WordTrie[], double) - Constructor for class opennlp.tools.tokenize.lattice.UnigramSegmenter.WordTrie
-
Creates an immutable trie node.
- WordTrieBuilder() - Constructor for class opennlp.tools.tokenize.lattice.UnigramSegmenter.WordTrieBuilder
- WordType - Enum Class in opennlp.tools.tokenize.uax29
-
The category of a word token.
- WordType() - Constructor for enum class opennlp.tools.tokenize.uax29.WordType
- WordVector - Interface in opennlp.tools.util.wordvector
-
A word vector.
- WordVectorTable - Interface in opennlp.tools.util.wordvector
-
A table that maps tokens to word vectors.
- WordVectorType - Enum Class in opennlp.tools.util.wordvector
- WordVectorType() - Constructor for enum class opennlp.tools.util.wordvector.WordVectorType
- writeDouble(double) - Method in class opennlp.tools.ml.maxent.io.BinaryGISModelWriter
-
Writes a single
doubleto the underlyingDataOutputStream. - writeDouble(double) - Method in class opennlp.tools.ml.maxent.io.BinaryQNModelWriter
-
Writes a single
doubleto the underlyingDataOutputStream. - writeDouble(double) - Method in class opennlp.tools.ml.model.AbstractModelWriter
-
Writes a single
doubleto the underlyingDataOutputStream. - writeDouble(double) - Method in class opennlp.tools.ml.model.GenericModelWriter
- writeDouble(double) - Method in class opennlp.tools.ml.naivebayes.BinaryNaiveBayesModelWriter
- writeDouble(double) - Method in class opennlp.tools.ml.naivebayes.PlainTextNaiveBayesModelWriter
- writeDouble(double) - Method in class opennlp.tools.ml.perceptron.BinaryPerceptronModelWriter
- writeInt(int) - Method in class opennlp.tools.ml.maxent.io.BinaryGISModelWriter
-
Writes a single
intto the underlyingDataOutputStream. - writeInt(int) - Method in class opennlp.tools.ml.maxent.io.BinaryQNModelWriter
-
Writes a single
intto the underlyingDataOutputStream. - writeInt(int) - Method in class opennlp.tools.ml.model.AbstractModelWriter
-
Writes a single
intto the underlyingDataOutputStream. - writeInt(int) - Method in class opennlp.tools.ml.model.GenericModelWriter
- writeInt(int) - Method in class opennlp.tools.ml.naivebayes.BinaryNaiveBayesModelWriter
- writeInt(int) - Method in class opennlp.tools.ml.naivebayes.PlainTextNaiveBayesModelWriter
- writeInt(int) - Method in class opennlp.tools.ml.perceptron.BinaryPerceptronModelWriter
- writeMatrix(DataOutputStream, float[][]) - Static method in class opennlp.tools.depparse.FeedforwardNetwork.Serializer
-
Writes a rectangular matrix as its dimensions followed by its values in row order.
- writeModel(MaxentModel, OutputStream) - Static method in class opennlp.tools.util.model.ModelUtil
-
Writes the given
MaxentModelto the specifiedOutputStream. - writeNormalizedByte(ByteArrayOutputStream, byte, boolean) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Writes a raw byte, converting a high flag byte to a UTF-8 code point.
- writeNormalizedFlagLine(ByteArrayOutputStream, byte[], int, int) - Static method in class opennlp.tools.stemmer.hunspell.HunspellDictionary
-
Writes one affix line, converting high bytes only within raw flag fields.
- writeObject(ObjectOutputStream) - Method in class opennlp.tools.util.model.BaseModel
- writer - Variable in class opennlp.tools.util.EventTraceStream
- writerClazz - Variable in enum class opennlp.tools.ml.AlgorithmType
- writeSymbol(DataOutputStream, String) - Static method in class opennlp.tools.depparse.FeedforwardNetwork.Serializer
-
Writes a symbol as its UTF-8 byte length followed by the bytes.
- writeUTF(DataOutputStream, String) - Static method in class opennlp.tools.ml.model.ModelParameterChunker
-
Writes the model parameter
stodos. - writeUTF(String) - Method in class opennlp.tools.ml.maxent.io.BinaryGISModelWriter
-
Writes a
Stringto the underlyingDataOutputStream. - writeUTF(String) - Method in class opennlp.tools.ml.maxent.io.BinaryQNModelWriter
-
Writes a
Stringto the underlyingDataOutputStream. - writeUTF(String) - Method in class opennlp.tools.ml.model.AbstractModelWriter
-
Writes a
Stringto the underlyingDataOutputStream. - writeUTF(String) - Method in class opennlp.tools.ml.model.GenericModelWriter
- writeUTF(String) - Method in class opennlp.tools.ml.naivebayes.BinaryNaiveBayesModelWriter
- writeUTF(String) - Method in class opennlp.tools.ml.naivebayes.PlainTextNaiveBayesModelWriter
- writeUTF(String) - Method in class opennlp.tools.ml.perceptron.BinaryPerceptronModelWriter
- writeVector(DataOutputStream, float[]) - Static method in class opennlp.tools.depparse.FeedforwardNetwork.Serializer
-
Writes a vector as its length followed by its values.
- writeVocabulary(DataOutputStream, Map<String, Integer>) - Static method in class opennlp.tools.depparse.FeedforwardNetwork.Serializer
-
Writes one vocabulary as its size followed by (symbol, id) pairs in ascending id order, so that serializing the same network yields the same bytes on every JVM.
- WSEG_SPACE - Enum constant in enum class opennlp.tools.tokenize.uax29.WordBreak
-
Whitespace that segments words (
Word_Break=WSegSpace). - WSEG_SPACE_ORDINAL - Static variable in class opennlp.tools.tokenize.uax29.WordSegmenter
X
- x - Variable in class opennlp.tools.ml.maxent.quasinewton.ParallelNegLogLikelihood.ComputeTask
- X - Enum constant in enum class opennlp.tools.formats.conllu.ConlluTagset
-
The language-specific part-of-speech tags, the
XPOScolumn. - X_UNSPECIFIED - Static variable in class opennlp.tools.util.LanguageCodeValidator
- XML_ID - Static variable in class opennlp.tools.formats.nkjp.NKJPSegmentationDocument
- XML_WHITESPACE - Static variable in class opennlp.tools.formats.masc.MascIdentifiers
-
The characters of XML whitespace.
- xmlID(Node) - Static method in class opennlp.tools.formats.nkjp.NKJPSegmentationDocument
- XmlUtil - Class in opennlp.tools.util
-
Creates XML parsers that process untrusted input securely.
- XmlUtil() - Constructor for class opennlp.tools.util.XmlUtil
- XmlUtil.StaxHolder - Class in opennlp.tools.util
-
Holds the shared StAX factory.
- XPOS - Static variable in class opennlp.tools.formats.conllu.ConlluDependencySampleStream
-
The column holding the language-specific part-of-speech tag.
- xPosTag - Variable in class opennlp.tools.formats.conllu.ConlluWordLine
Y
- Y - Variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer.UpdateInfo
Z
- zero(double[][]) - Static method in class opennlp.tools.depparse.FeedforwardDependencyTrainer
-
Fills a matrix with zeros.
- ZERO_DIGIT - Static variable in class opennlp.tools.formats.conllu.ConlluDependencySampleStream
-
The digit zero: the base of the digit values, and the one digit an ID must not start with.
- ZERO_LOG - Static variable in class opennlp.tools.ml.BeamSearch
- ZERO_WIDTH_JOINER - Static variable in class opennlp.tools.util.normalizer.EmojiEmoticons
- zeroBackOff - Variable in class opennlp.tools.parser.AbstractContextGenerator
- ZIP_CENTRAL_DISK_OFFSET - Static variable in class opennlp.tools.util.ResourceInstaller
- ZIP_CENTRAL_OFFSET_OFFSET - Static variable in class opennlp.tools.util.ResourceInstaller
- ZIP_CENTRAL_SIZE_OFFSET - Static variable in class opennlp.tools.util.ResourceInstaller
- ZIP_COMMENT_LENGTH_OFFSET - Static variable in class opennlp.tools.util.ResourceInstaller
- ZIP_DISK_ENTRIES_OFFSET - Static variable in class opennlp.tools.util.ResourceInstaller
- ZIP_DISK_OFFSET - Static variable in class opennlp.tools.util.ResourceInstaller
- ZIP_END_HEADER_FOURTH - Static variable in class opennlp.tools.util.ResourceInstaller
- ZIP_END_HEADER_LENGTH - Static variable in class opennlp.tools.util.ResourceInstaller
- ZIP_END_HEADER_THIRD - Static variable in class opennlp.tools.util.ResourceInstaller
- ZIP_LOCAL_HEADER_FOURTH - Static variable in class opennlp.tools.util.ResourceInstaller
- ZIP_LOCAL_HEADER_THIRD - Static variable in class opennlp.tools.util.ResourceInstaller
- ZIP_MAGIC_FIRST - Static variable in class opennlp.tools.util.ResourceInstaller
- ZIP_MAGIC_SECOND - Static variable in class opennlp.tools.util.ResourceInstaller
- ZIP_MISMATCH_ERROR - Static variable in class opennlp.tools.util.ResourceInstaller
- ZIP_TOTAL_ENTRIES_OFFSET - Static variable in class opennlp.tools.util.ResourceInstaller
- Zl - Enum constant in enum class opennlp.tools.util.normalizer.UnicodeWhitespace.Category
-
Zl- line separator. - Zp - Enum constant in enum class opennlp.tools.util.normalizer.UnicodeWhitespace.Category
-
Zp- paragraph separator. - Zs - Enum constant in enum class opennlp.tools.util.normalizer.UnicodeWhitespace.Category
-
Zs- space separator. - ZWJ - Enum constant in enum class opennlp.tools.tokenize.uax29.WordBreak
-
Zero width joiner (
U+200D). - ZWJ_ORDINAL - Static variable in class opennlp.tools.tokenize.uax29.WordSegmenter
_
- _smoothingObservation - Variable in class opennlp.tools.ml.maxent.GISTrainer
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
CachedFeatureGenerator(AdaptiveFeatureGenerator)instead.