IDOL Server Operations > Binary Categories > Query with Binary Categories

Query with Binary Categories
After you train the binary category, you can use the BinaryCatQuery action to determine whether a piece of text, a file on disk or a document in IDOL results in a “yes” (POSITIVE) or a “no” (NEGATIVE) answer for the question the binary category asks. For example, your binary category might ask the question “Is this spam?” and could filter e-mails to ignore spam e-mails. For details on the BinaryCatQuery action, refer to the IDOL server Online Help.
For example:
http://12.3.4.56:9000/action=BinaryCatQuery&Name=spam_binarycat&QueryText=How to become an instant millionaire
This action uses port 9000 to instruct IDOL server, which is located on a machine with the IP address 12.3.4.56, to check whether the text How to become an instant millionaire results in a “POSITIVE” or a “NEGATIVE” result for the question posed by the binary category spam_binarycat.
Related Topics 
*