IDOL Server Operations > Categorization > Categorization Example

Categorization Example
This section contains an example of how you might set up Categorization. Each step provides several examples of possible actions for that step.
To use Categorization
1.
action=CategoryCreate&name=Animals&category=10
action=CategoryCreate&name=Cats&parent=10&category=11
action=CategoryCreate&name=Dogs&parent=10&category=12
2.
/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.
action=CategoryBuild&category=10&recurse=true
4.
action=CategorySetTnW&category=11&terms=cat,kitten&weights=500,400
action=CategoryBuild&category=11
5.
action=CategoryQuery&category=11
action=CategoryQuery&category=12&databasematch=News&numresults=10
6.
action=categorySuggestfromDocument&docid=1465
action=CategorySuggestFromText&querytext=the cat in the hat