reference/ocr-new/learn.h
changeset 0 6b8091ca909a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/reference/ocr-new/learn.h	Thu May 18 23:12:51 2006 +0200
@@ -0,0 +1,27 @@
+// learn.h 
+// Functions for use with LearnedcharGroups array
+class Page;
+
+void learn(Page * p, char * asciiFile, bool synchWords=FALSE);  
+void learn(char * tifFile, char * asciiFile, bool synchWords=FALSE);  
+int learn(Component * comp, char * id, Confidence threshold);
+void readLearnFiles();    // sources learnfile.tcl where learn files can be set
+
+int writeLearnedGroups(char * filename);  // Save learned characters
+int readLearnedGroups(char * filename);   // read back saved characters
+void testLearn();                         
+
+// oldlearn for use with LearnedChars array 
+// averaging learning ***NOT CURRENTLY USED ***
+void oldlearn(char * tifFile, char * asciiFile);  // averages values
+void initLearnedChars();   // sets learned charactere array to 0
+
+
+
+
+
+
+
+
+
+