reference/ocr-new/learnfile.tcl
changeset 0 6b8091ca909a
equal deleted inserted replaced
-1:000000000000 0:6b8091ca909a
       
     1 # one line each for files that need to be learned
       
     2 # form:  LEARN <imagefile> <textfile> <synchwords bool>
       
     3 # or: LEARN_DATA <datafile>
       
     4 set DONT_SYNCH_WORDS 0
       
     5 set SYNCH_WORDS 1
       
     6 
       
     7 # LEARN TIF/tomquotes.tif tomquotes.txt
       
     8 #LEARN train.tif train.txt $DONT_SYNCH_WORDS
       
     9 #LEARN 4.header.tif 4.header.txt $SYNCH_WORDS
       
    10 #LEARN 4.col0.tif 4.col0.txt $SYNCH_WORDS
       
    11 LEARN_DATA learn.dat
       
    12 
       
    13