Topics#
Application ID
eot_topics
Application Aliases
topics.app eot/topics.app
Description#
The Topics application enables you to identify the topics in your documents and their relevancy.
Configuration#
The configuration is an object defined as (bold = required, italic = optional):
count (
number
) [optional
] – The maximum number of topics (> 0
) to be returnedthreshold (
number
) [optional
] – The minimum relevancy threshold of the topics. Valid values are in the range[0,100]
ignore_entities (
bool
) – Do not include the topic candidates that have the attributehead="entity"
as topics candidates
Example#
wow -p 'english,topics.app' \
-i "The climate crisis may lead the human race to shrink in size, a leading fossil expert has said."
which yields:
[
{ "name": "fossil expert", "relevancy": 100 },
{ "name": "human race", "relevancy": 100 },
{ "name": "climate crisis", "relevancy": 99 }
]
For an interpretation of the JSON data, refer to the application’s JSON schema.