OPENNLP(1)
πΈ NAME πΈ
opennlp β the CLI interface to Apache OpenNLP, bestie π
β¨ DESCRIPTION β¨
okay so the moment you run opennlp, it immediately starts yelling log lines at you before you even ask for anything. It's giving main character energy. Here's literally what comes out:
[main] INFO opennlp.tools.cmdline.CLI - OpenNLP 2.5.9.
[main] INFO opennlp.tools.cmdline.CLI - Usage: opennlp TOOL
[main] INFO opennlp.tools.cmdline.CLI - where TOOL is one of:
And TOOL is one of these iconic lil guys π (no cap, this is the full roster):
π Document Categorizer vibes
Doccatβ Learned document categorizer ποΈDoccatTrainerβ Trainer for the learnable document categorizer ποΈDoccatEvaluatorβ Measures the performance of theDoccatmodel with the reference data πDoccatCrossValidatorβ K-fold cross validator for the learnable Document Categorizer πDoccatConverterβ Converts 20newsgroup data format to native OpenNLP format π
π¦ Language Detector vibes
LanguageDetectorβ Learned language detector πLanguageDetectorTrainerβ Trainer for the learnable language detector ποΈLanguageDetectorConverterβ Converts leipzig data format to native OpenNLP format πLanguageDetectorCrossValidatorβ K-fold cross validator for the learnable Language Detector πLanguageDetectorEvaluatorβ Measures the performance of the Language Detector model with the reference data π
πΈ Tokenizer vibes
DictionaryBuilderβ Builds a new dictionary πSimpleTokenizerβ Character class tokenizer βοΈTokenizerMEβ Learnable tokenizer βοΈTokenizerTrainerβ Trainer for the learnable tokenizer ποΈTokenizerMEEvaluatorβ Measures the performance of the learnable tokenizer πTokenizerCrossValidatorβ K-fold cross validator for the learnable tokenizer πTokenizerConverterβ Converts external data formats (irishsentencebank,ad,pos,masc,conllx,namefinder,parse,conllu) to native OpenNLP format πDictionaryDetokenizerβ Normalizes tokenized text according to rules defined in a detokenizer dictionary π§Ή
β Sentence Detector vibes
SentenceDetectorβ Learnable sentence detector πSentenceDetectorTrainerβ Trainer for the learnable sentence detector ποΈSentenceDetectorEvaluatorβ Measures the performance of the learnable sentence detector πSentenceDetectorCrossValidatorβ K-fold cross validator for the learnable sentence detector πSentenceDetectorConverterβ Converts external data formats (nkjp,irishsentencebank,ad,pos,masc,conllx,namefinder,parse,moses,conllu,letsmt) to native OpenNLP format π
π Name Finder vibes
TokenNameFinderβ Learnable name finder πTokenNameFinderTrainerβ Trainer for the learnable name finder ποΈTokenNameFinderEvaluatorβ Measures the performance of theNameFindermodel with the reference data πTokenNameFinderCrossValidatorβ K-fold cross validator for the learnable Name Finder πTokenNameFinderConverterβ Converts external data formats (evalita,ad,conll03,bionlp2004,conll02,masc,muc6,ontonotes,brat) to native OpenNLP format πCensusDictionaryCreatorβ Converts 1990 US Census names into a dictionary π½
π₯ POS Tagger vibes
POSTaggerβ Learnable part of speech tagger π·οΈPOSTaggerTrainerβ Trains a model for the part-of-speech tagger ποΈPOSTaggerEvaluatorβ Measures the performance of the POS tagger model with the reference data πPOSTaggerCrossValidatorβ K-fold cross validator for the learnable POS tagger πPOSTaggerConverterβ Converts external data formats (ad,masc,conllx,parse,ontonotes,conllu) to native OpenNLP format π
π Lemmatizer vibes
LemmatizerMEβ Learnable lemmatizer π±LemmatizerTrainerMEβ Trainer for the learnable lemmatizer ποΈLemmatizerEvaluatorβ Measures the performance of the Lemmatizer model with the reference data π
π§ Chunker vibes
ChunkerMEβ Learnable chunker π§©ChunkerTrainerMEβ Trainer for the learnable chunker ποΈChunkerEvaluatorβ Measures the performance of the Chunker model with the reference data πChunkerCrossValidatorβ K-fold cross validator for the chunker πChunkerConverterβ Convertsaddata format to native OpenNLP format π
π Parser vibes
Parserβ Performs full syntactic parsing π³ParserTrainerβ Trains the learnable parser ποΈParserEvaluatorβ Measures the performance of the Parser model with the reference data πParserConverterβ Converts external data formats (ontonotes,frenchtreebank) to native OpenNLP format πBuildModelUpdaterβ Trains and updates the build model in a parser model π§CheckModelUpdaterβ Trains and updates the check model in a parser model π§TaggerModelReplacerβ Replaces the tagger model in a parser model π§
π Extra lil icons
EntityLinkerβ Links an entity to an external data set πNGramLanguageModelβ Gives the probability and most probable next token(s) of a sequence of tokens in a language model π²
and then it wraps up with the most helpful part, fr fr:
[main] INFO opennlp.tools.cmdline.CLI - All tools print help when invoked with help parameter
[main] INFO opennlp.tools.cmdline.CLI - Example: opennlp SimpleTokenizer help
So yeah β every single tool prints help when you invoke it with the help parameter. Like, the example is literally:
opennlp SimpleTokenizer help
π not the log-prefixed output making it look like a whole crime scene, but that's just how the CLI do. Slay.
k bye bestie, go tokenize something π«Ά this has been opennlp version 2.5.9, dated May 2026, and the manpage answers to the name OPENNLP(1) π
β¨
π¦ where this page comes from
- ubuntu stonking: opennlp 2.5.9-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms