dca_interface  6.3.4
text_classifier.h
Go to the documentation of this file.
1 /* IBM Source Code */
2 /* (C) Copyright IBM Corp. 2009, 2012 */
3 /* Licensed Materials - Property of IBM */
4 /* US Government Users Restricted Rights - Use duplication or disclosure restricted by GSA Schedule Contract with IBM Corp. */
5 
6 #ifndef TEXT_CLASSIFIER_H
7 #define TEXT_CLASSIFIER_H
8 
17 namespace dca {
18 
19  class textclassifier_p;
20 
21  class TextClassificationResults;
22  class HtmlText;
23 
34  {
35  public:
39  HtmlTextClassifier& operator = ( const HtmlTextClassifier& rhi );
40  virtual ~HtmlTextClassifier();
42 
68  FunctionResult classify( const HtmlText& aText, TextClassificationResults& aTextResults ) const;
69 
71  PRIVATE_PTR textclassifier_p *_p;
72  };
73 
74 }
75 
76 #endif
HTML text classifier object for text classification.
FunctionResult classify(const HtmlText &aText, TextClassificationResults &aTextResults) const
The HTML Text Classification method. The method takes an initialized HtmlText object and returns the ...
Encapsulates an HTML text object.
Definition: base_htmltext.h:24
Overall results of a text classification.
#define PRIVATE_PTR
Type for private pointer implementations, for internal use only.
Definition: base_types.h:83
Standard function result.
Definition: base_classes.h:148