Single result of a text classification.
bool byId(DCA_CATEGORY_ID_TYPE catid, TextClassificationResult &result) const
If the results contain the given category the detailed result item is returned.
TextClassificationResult operator[](DCA_INDEX_TYPE index) const
Similar to at() but allows a more C++ style access.
bool isCategorized() const
Returns whether there are any results for the text classification.
TextClassificationResult at(DCA_INDEX_TYPE index) const
Returns one result of the matched results (if any) with the given index.
DCA_SIZE_TYPE size() const
Returns the number of results in the container.
bool contains(DCA_CATEGORY_ID_TYPE catid) const
Fast method to see whether the results contain a given category or not.
Overall results of a text classification.