IDOL Content Component 24.4
IDOL Content Component Help

# Categorization Example

This section contains an example of how you might set up categorization in the IDOL Category component. Each step provides several examples of possible actions for that step.

To use Categorization

1. Create a few categories.

       action=CategoryCreate&Name=Animals&Category=10

       action=CategoryCreate&Name=Cats&Parent=10&Category=11

       action=CategoryCreate&Name=Dogs&Parent=10&Category=12

2. Train the new categories (from a selection of indexed documents, free text, and Boolean rules).

       action=CategorySetTraining&Category=10&DocRef=http://foo.com/animals&DocID=109,178

       action=CategorySetTraining&Category=11&Training=Cats and kittens can be a variety of colours, such as tabby or tortoiseshell

       action=CategorySetTraining&Category=12&Boolean=dog OR hound

3. Build the categories (this processes the training into terms and weights, enabling `CategoryQuery` and `CategorySuggest*`).

       action=CategoryBuild&Category=10&Recurse=True

4. Manually adjust the terms and weights for one of the categories, and rebuild it.

       action=CategorySetTnW&Category=11&Terms=cat,kitten&Weights=500,400

       action=CategoryBuild&Category=11

5. Query for documents matching a particular category, with optional parameters.

       action=CategoryQuery&Category=11

       action=CategoryQuery&Category=12&DatabaseMatch=News&NumResults=10

6. Categorize already-indexed documents or free text.

       action=categorySuggestfromDocument&DocID=1465

       action=CategorySuggestFromText&QueryText=the cat in the hat

Copyright 2024 Open Text
Version 24.4 | Last updated September 2024

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL IDOL Content Component 24.4

Topic Title: Categorization Example