nlptools.tool.classification

->ClassificationTool

(->ClassificationTool id model tokenizer classifier logger)
Positional factory function for class nlptools.tool.classification.ClassificationTool.

cmdkey

the command key for this unit

make-document-classifier

(make-document-classifier model tokenizer)

map->ClassificationTool

(map->ClassificationTool m__7585__auto__)
Factory function for class nlptools.tool.classification.ClassificationTool, taking a map of keywords to field values.

parse-categories

(parse-categories outcomes-string outcomes)
Given a string that represents the opennlp outcomes and an array of
probability outcomes, zip them into a map of category-probability pairs

tool-classification-test

ukey

this unit key