The ZLA Classification module class.
This class is used to create a ZlaClassification instance by using the static create() function.
A ZlaClassification instance can be used to create an ZlaClassifier instance.
- See also
- ZlaClassifier, ZlaClassificationResult
myZlaClassifier.
classify( myEmail, myZlaClassificationResult );
if( !myResult ) {
std::cout << "Received error from ZLA Classification (Error code: " <<
return;
}
std::cout <<
"Result=" << myZlaClassificationResult.
result() <<
", Module=" << myZlaClassificationResult.
module();
std::cout << " SPAM";
}
std::cout << " HAM";
}
std::cout << " NDR";
}
std::cout << " UNKNOWN";
}
Definition at line 41 of file zla_classification.h.