#include <zla_classification_result.h>
Overall result of a ZLA classification.
Encapsulates the overall result of a ZLA classification.
- See also
- ZlaClassification, 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 107 of file zla_classification_result.h.
The documentation for this class was generated from the following file:
static Email create(const DcaInstance &aDcaInstance, const std::string &emailContent)
Creates an email object, used as an input parameter for ZLA classification.
FunctionResult classify(const Email &anEmail, ZlaClassificationResult &aZlaResult) const
The email classification method. The method takes an initialized Email object and returns the results...