classifyComment
The classifyComment function of our API allows you to submit a comment for training, if it was misidentified as either spam, or ham.
The Input Paramater
The classifyComment function accepts a single parameter, which is an XML::RPC struct. (XML-RPC mandates the format of several parameter types such as "string", "int", "struct". In this case consider a "struct" analagous to a perl hash or a PHP array).
The structure you pass may have the following members. Members which are not recognised will be ignored.
Name Description comment The body of the submitted comment. required train Either ok or spam, to control how the comment is to be trained.. required Values which are unrecognised will be ignored.
The Return Value
The return value of the function call is a single string. The content of this return value will indicate whether training took place or not.
The return value may be safely ignored.