doxygen ccmain/cubeclassifier.cpp

This commit is contained in:
Jim O'Regan 2015-07-20 13:25:47 +01:00
parent f842850205
commit 5c94f129a2

View File

@ -39,8 +39,8 @@ CubeClassifier::CubeClassifier(tesseract::Tesseract* tesseract)
CubeClassifier::~CubeClassifier() { CubeClassifier::~CubeClassifier() {
} }
// Classifies the given [training] sample, writing to results. /// Classifies the given [training] sample, writing to results.
// See ShapeClassifier for a full description. /// See ShapeClassifier for a full description.
int CubeClassifier::UnicharClassifySample( int CubeClassifier::UnicharClassifySample(
const TrainingSample& sample, Pix* page_pix, int debug, const TrainingSample& sample, Pix* page_pix, int debug,
UNICHAR_ID keep_this, GenericVector<UnicharRating>* results) { UNICHAR_ID keep_this, GenericVector<UnicharRating>* results) {
@ -70,7 +70,7 @@ int CubeClassifier::UnicharClassifySample(
return results->size(); return results->size();
} }
// Provides access to the ShapeTable that this classifier works with. /** Provides access to the ShapeTable that this classifier works with. */
const ShapeTable* CubeClassifier::GetShapeTable() const { const ShapeTable* CubeClassifier::GetShapeTable() const {
return &shape_table_; return &shape_table_;
} }
@ -84,8 +84,8 @@ CubeTessClassifier::~CubeTessClassifier() {
delete pruner_; delete pruner_;
} }
// Classifies the given [training] sample, writing to results. /// Classifies the given [training] sample, writing to results.
// See ShapeClassifier for a full description. /// See ShapeClassifier for a full description.
int CubeTessClassifier::UnicharClassifySample( int CubeTessClassifier::UnicharClassifySample(
const TrainingSample& sample, Pix* page_pix, int debug, const TrainingSample& sample, Pix* page_pix, int debug,
UNICHAR_ID keep_this, GenericVector<UnicharRating>* results) { UNICHAR_ID keep_this, GenericVector<UnicharRating>* results) {
@ -123,7 +123,7 @@ int CubeTessClassifier::UnicharClassifySample(
return results->size(); return results->size();
} }
// Provides access to the ShapeTable that this classifier works with. /** Provides access to the ShapeTable that this classifier works with. */
const ShapeTable* CubeTessClassifier::GetShapeTable() const { const ShapeTable* CubeTessClassifier::GetShapeTable() const {
return &shape_table_; return &shape_table_;
} }