topics – Topic Identifier#

Topic Identifier – or topics – is the command line utility provided by the eot-wowool-sdk Python package allowing you to easily use the functionality of the Topics application.

Example#

topics -p 'english' \
    -i "The climate crisis may lead the human race to shrink in size, a leading fossil expert has said."

Usage#

usage: topics [-h] [-f FILE] [-i INPUT] -p PIPELINE [-c COUNT] [-t THRESHOLD]
              [-m TOPIC_MODEL] [--verbose] [--cleanup] [-e ENCODING] [--json]
              [--raw_print] [--lxware LXWARE]

Named Arguments#

-f, --file

input file

-i, --input

input text

-p, --pipeline

processing pipeline

-c, --count

count of desired topics

Default: 5

-t, --threshold

threshold of desired topics [0-100]

Default: 0

-m, --topic_model

topic model file.

--verbose

verbose print

Default: False

--cleanup

remove control characters

Default: False

-e, --encoding

encoding

Default: “utf8”

--json

verbose output

Default: False

--raw_print

print nicely

Default: False

--lxware

location of the language files