Importing a taxonomy for keyword-based topic detection
After you create a topic detection model, import a taxonomy that contains defined topics and keywords for topic detection. Based on the keywords, topic detection assigns topics to the analyzed piece of text.
- Create a
.xlsxfile with defined topics and corresponding keywords. For more information, see Requirements and best practices for creating a taxonomy for rule-based classification analysis.
- Create a keyword-based topic detection model by specifying the model name, language, and corresponding ruleset. For more information, see Setting up a keyword-based topic detection model.
In the Taxonomy workspace, click.
In the Import taxonomy dialog box, click Choose file, and then select the
To detect child topics only when the corresponding parent topic is detected, for the parent topic, select the Match child topics only if the current topic matches check box.
To test your taxonomy, select.Always test your taxonomy on a number of text samples to determine whether it accurately assigns topics. Depending on the results, you might refine your taxonomy, for example, by increasing the number of Should words to accommodate additional use cases, or by adding Not words to help differentiate between similar categories.
Save the taxonomy by clicking SaveYou can use the taxonomy as part of a machine-learning topic detection model or directly in Text Analyzers to perform keyword-based topic detection.