Constant Field Values (Apache OpenNLP Tools 2.5.9 API)
Description: summary of constants

# Constant Field Values

## opennlp.tools.*

- opennlp.tools.chunker.ChunkerME
  Modifier and Type
  Constant Field
  Value
  `public static final int`
  `DEFAULT_BEAM_SIZE`
  `10`

- opennlp.tools.formats.BioNLP2004NameSampleStream
  Modifier and Type
  Constant Field
  Value
  `public static final int`
  `GENERATE_CELLLINE_ENTITIES`
  `8`
  `public static final int`
  `GENERATE_CELLTYPE_ENTITIES`
  `4`
  `public static final int`
  `GENERATE_DNA_ENTITIES`
  `1`
  `public static final int`
  `GENERATE_PROTEIN_ENTITIES`
  `2`
  `public static final int`
  `GENERATE_RNA_ENTITIES`
  `16`
- opennlp.tools.formats.Conll02NameSampleStream
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `DOCSTART`
  `"-DOCSTART-"`
  `public static final int`
  `GENERATE_LOCATION_ENTITIES`
  `4`
  `public static final int`
  `GENERATE_MISC_ENTITIES`
  `8`
  `public static final int`
  `GENERATE_ORGANIZATION_ENTITIES`
  `2`
  `public static final int`
  `GENERATE_PERSON_ENTITIES`
  `1`
- opennlp.tools.formats.ConllXPOSSampleStreamFactory
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `CONLLX_FORMAT`
  `"conllx"`
- opennlp.tools.formats.EvalitaNameSampleStream
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `DOCSTART`
  `"-DOCSTART-"`
  `public static final int`
  `GENERATE_GPE_ENTITIES`
  `8`
  `public static final int`
  `GENERATE_LOCATION_ENTITIES`
  `4`
  `public static final int`
  `GENERATE_ORGANIZATION_ENTITIES`
  `2`
  `public static final int`
  `GENERATE_PERSON_ENTITIES`
  `1`

- opennlp.tools.formats.ad.ADChunkSampleStream
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `OTHER`
  `"O"`
- opennlp.tools.formats.ad.ADSentenceStream.Sentence
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `META_LABEL_FINAL`
  `"final"`

- opennlp.tools.formats.brat.AnnotationConfiguration
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `ATTRIBUTE_TYPE`
  `"Attribute"`
  `public static final String`
  `ENTITY_TYPE`
  `"Entity"`
  `public static final String`
  `EVENT_TYPE`
  `"Event"`
  `public static final String`
  `RELATION_TYPE`
  `"Relation"`
  `public static final String`
  `SPAN_TYPE`
  `"Span"`

- opennlp.tools.formats.conllu.ConlluPOSSampleStreamFactory
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `CONLLU_FORMAT`
  `"conllu"`

- opennlp.tools.formats.masc.Masc
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `MASC_FORMAT`
  `"masc"`

- opennlp.tools.langdetect.LanguageDetectorConfig
  Modifier and Type
  Constant Field
  Value
  `public static final int`
  `DEFAULT_CHUNK_SIZE`
  `200`
  `public static final int`
  `DEFAULT_MAX_LENGTH`
  `10000`
  `public static final int`
  `DEFAULT_MIN_CONSEC_IMPROVEMENTS`
  `2`
  `public static final double`
  `DEFAULT_MIN_DIFF`
  `0.2`

- opennlp.tools.lemmatizer.LemmatizerME
  Modifier and Type
  Constant Field
  Value
  `public static final int`
  `DEFAULT_BEAM_SIZE`
  `3`
  `public static final int`
  `LEMMA_NUMBER`
  `29`

- opennlp.tools.ml.AbstractEventTrainer
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `DATA_INDEXER_ONE_PASS_REAL_VALUE`
  `"OnePassRealValue"`
  `public static final String`
  `DATA_INDEXER_ONE_PASS_VALUE`
  `"OnePass"`
  `public static final String`
  `DATA_INDEXER_PARAM`
  `"DataIndexer"`
  `public static final String`
  `DATA_INDEXER_TWO_PASS_VALUE`
  `"TwoPass"`
- opennlp.tools.ml.BeamSearch
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `BEAM_SIZE_PARAMETER`
  `"BeamSize"`
- opennlp.tools.ml.EventModelSequenceTrainer<T>
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `SEQUENCE_VALUE`
  `"EventModelSequence"`
- opennlp.tools.ml.EventTrainer
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `EVENT_VALUE`
  `"Event"`
- opennlp.tools.ml.SequenceTrainer
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `SEQUENCE_VALUE`
  `"Sequence"`

- opennlp.tools.ml.maxent.GISTrainer
  Modifier and Type
  Constant Field
  Value
  `public static final double`
  `LOG_LIKELIHOOD_THRESHOLD_DEFAULT`
  `1.0E-4`
  `public static final String`
  `LOG_LIKELIHOOD_THRESHOLD_PARAM`
  `"LLThreshold"`
  `public static final String`
  `MAXENT_VALUE`
  `"MAXENT"`

- opennlp.tools.ml.maxent.quasinewton.QNMinimizer
  Modifier and Type
  Constant Field
  Value
  `public static final double`
  `CONVERGE_TOLERANCE`
  `1.0E-4`
  `public static final double`
  `INITIAL_STEP_SIZE`
  `1.0`
  `public static final double`
  `L1COST_DEFAULT`
  `0.0`
  `public static final double`
  `L2COST_DEFAULT`
  `0.0`
  `public static final int`
  `M_DEFAULT`
  `15`
  `public static final int`
  `MAX_FCT_EVAL_DEFAULT`
  `30000`
  `public static final double`
  `MIN_STEP_SIZE`
  `1.0E-10`
  `public static final int`
  `NUM_ITERATIONS_DEFAULT`
  `100`
  `public static final double`
  `REL_GRAD_NORM_TOL`
  `1.0E-4`
- opennlp.tools.ml.maxent.quasinewton.QNTrainer
  Modifier and Type
  Constant Field
  Value
  `public static final double`
  `L1COST_DEFAULT`
  `0.1`
  `public static final String`
  `L1COST_PARAM`
  `"L1Cost"`
  `public static final double`
  `L2COST_DEFAULT`
  `0.1`
  `public static final String`
  `L2COST_PARAM`
  `"L2Cost"`
  `public static final int`
  `M_DEFAULT`
  `15`
  `public static final String`
  `M_PARAM`
  `"NumOfUpdates"`
  `public static final int`
  `MAX_FCT_EVAL_DEFAULT`
  `30000`
  `public static final String`
  `MAX_FCT_EVAL_PARAM`
  `"MaxFctEval"`
  `public static final String`
  `MAXENT_QN_VALUE`
  `"MAXENT_QN"`
  `public static final int`
  `THREADS_DEFAULT`
  `1`
  `public static final String`
  `THREADS_PARAM`
  `"Threads"`

- opennlp.tools.ml.model.AbstractDataIndexer
  Modifier and Type
  Constant Field
  Value
  `public static final boolean`
  `SORT_DEFAULT`
  `true`
  `public static final String`
  `SORT_PARAM`
  `"sort"`
- opennlp.tools.ml.model.AbstractModelReader
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `MAX_ENTRIES_PROPERTY`
  `"OPENNLP_MAX_ENTRIES"`
- opennlp.tools.ml.model.ModelParameterChunker
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `SIGNATURE_CHUNKED_PARAMS`
  `"CHUNKED-MODEL-PARAMS:"`

- opennlp.tools.ml.naivebayes.NaiveBayesTrainer
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `NAIVE_BAYES_VALUE`
  `"NAIVEBAYES"`

- opennlp.tools.ml.perceptron.PerceptronTrainer
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `PERCEPTRON_VALUE`
  `"PERCEPTRON"`
  `public static final double`
  `TOLERANCE_DEFAULT`
  `1.0E-5`
- opennlp.tools.ml.perceptron.SimplePerceptronSequenceTrainer
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `PERCEPTRON_SEQUENCE_VALUE`
  `"PERCEPTRON_SEQUENCE"`

- opennlp.tools.monitoring.IterDeltaAccuracyUnderTolerance
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `STOP`
  `"Stopping: change in training set accuracy less than {%s}"`
- opennlp.tools.monitoring.StopCriteria<T>
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `FINISHED`
  `"Training finished after completing %s iterations successfully."`

- opennlp.tools.namefind.BilouCodec
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `CONTINUE`
  `"cont"`
  `public static final String`
  `LAST`
  `"last"`
  `public static final String`
  `OTHER`
  `"other"`
  `public static final String`
  `START`
  `"start"`
  `public static final String`
  `UNIT`
  `"unit"`
- opennlp.tools.namefind.BioCodec
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `CONTINUE`
  `"cont"`
  `public static final String`
  `OTHER`
  `"other"`
  `public static final String`
  `START`
  `"start"`
- opennlp.tools.namefind.NameFinderME
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `CONTINUE`
  `"cont"`
  `public static final int`
  `DEFAULT_BEAM_SIZE`
  `3`
  `public static final String`
  `OTHER`
  `"other"`
  `public static final String`
  `START`
  `"start"`
- opennlp.tools.namefind.NameSample
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `DEFAULT_TYPE`
  `"default"`
- opennlp.tools.namefind.NameSampleDataStream
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `END_TAG`
  `"<END>"`
  `public static final String`
  `START_TAG`
  `"<START>"`
  `public static final String`
  `START_TAG_PREFIX`
  `"<START:"`

- opennlp.tools.parser.AbstractBottomUpParser
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `COMPLETE`
  `"c"`
  `public static final String`
  `CONT`
  `"C-"`
  `public static final double`
  `defaultAdvancePercentage`
  `0.95`
  `public static final int`
  `defaultBeamSize`
  `20`
  `public static final String`
  `INC_NODE`
  `"INC"`
  `public static final String`
  `INCOMPLETE`
  `"i"`
  `public static final String`
  `OTHER`
  `"O"`
  `public static final String`
  `START`
  `"S-"`
  `public static final String`
  `TOK_NODE`
  `"TK"`
  `public static final String`
  `TOP_NODE`
  `"TOP"`
- opennlp.tools.parser.Parse
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `BRACKET_LCB`
  `"{"`
  `public static final String`
  `BRACKET_LRB`
  `"("`
  `public static final String`
  `BRACKET_LSB`
  `"["`
  `public static final String`
  `BRACKET_RCB`
  `"}"`
  `public static final String`
  `BRACKET_RRB`
  `")"`
  `public static final String`
  `BRACKET_RSB`
  `"]"`

- opennlp.tools.parser.treeinsert.Parser
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `ATTACH_DAUGHTER`
  `"d"`
  `public static final String`
  `ATTACH_SISTER`
  `"s"`
  `public static final String`
  `BUILT`
  `"built"`
  `public static final String`
  `DONE`
  `"d"`
  `public static final String`
  `NON_ATTACH`
  `"n"`

- opennlp.tools.postag.POSTaggerME
  Modifier and Type
  Constant Field
  Value
  `public static final int`
  `DEFAULT_BEAM_SIZE`
  `3`

- opennlp.tools.sentdetect.SentenceDetectorME
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `NO_SPLIT`
  `"n"`
  `public static final String`
  `SPLIT`
  `"s"`

- opennlp.tools.tokenize.TokenizerME
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `NO_SPLIT`
  `"F"`
  `public static final String`
  `SPLIT`
  `"T"`
- opennlp.tools.tokenize.TokenSample
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `DEFAULT_SEPARATOR_CHARS`
  `"<SPLIT>"`

- opennlp.tools.util.SequenceCodec<T>
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `DEFAULT_PREFIX`
  `"default-"`
- opennlp.tools.util.TrainingParameters
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `ALGORITHM_PARAM`
  `"Algorithm"`
  `public static final int`
  `CUTOFF_DEFAULT_VALUE`
  `5`
  `public static final String`
  `CUTOFF_PARAM`
  `"Cutoff"`
  `public static final int`
  `ITERATIONS_DEFAULT_VALUE`
  `100`
  `public static final String`
  `ITERATIONS_PARAM`
  `"Iterations"`
  `public static final String`
  `THREADS_PARAM`
  `"Threads"`
  `public static final String`
  `TRAINER_TYPE_PARAM`
  `"TrainerType"`

- opennlp.tools.util.ext.ExtensionLoader
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `ALLOWED_PACKAGES_PROPERTY`
  `"OPENNLP_EXT_ALLOWED_PACKAGES"`
- opennlp.tools.util.ext.ExtensionServiceKeys
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `ID`
  `"OPENLP_EXTENSION_ID"`

- opennlp.tools.util.featuregen.WindowFeatureGenerator
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `NEXT_PREFIX`
  `"n"`
  `public static final String`
  `PREV_PREFIX`
  `"p"`

- opennlp.tools.util.model.BaseModel
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `TRAINING_CUTOFF_PROPERTY`
  `"Training-Cutoff"`
  `public static final String`
  `TRAINING_EVENTHASH_PROPERTY`
  `"Training-Eventhash"`
  `public static final String`
  `TRAINING_ITERATIONS_PROPERTY`
  `"Training-Iterations"`