Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

unicharset_extractor(1) [debian man page]

UNICHARSET_EXTRACTOR(1) 												   UNICHARSET_EXTRACTOR(1)

NAME
unicharset_extractor - extract unicharset from Tesseract boxfiles SYNOPSIS
unicharset_extractor [-D dir] FILE... DESCRIPTION
Tesseract needs to know the set of possible characters it can output. To generate the unicharset data file, use the unicharset_extractor program on the same training pages bounding box files as used for clustering: unicharset_extractor fontfile_1.box fontfile_2.box ... The unicharset will be put into the file dir/unicharset, or simply ./unicharset if no output directory is provided. Tesseract also needs to have access to character properties isalpha, isdigit, isupper, islower, ispunctuation. all of this auxilury data and more is encoded in this file. (See unicharset(5)) If your system supports the wctype functions, these values will be set automatically by unicharset_extractor and there is no need to edit the unicharset file. On some older systems (eg Windows 95), the unicharset file must be edited by hand to add these property description codes. NOTE The unicharset file must be regenerated whenever inttemp, normproto and pffmtable are generated (i.e. they must all be recreated when the box file is changed) as they have to be in sync. This is made easier than in previous versions by running unicharset_extractor before mftraining and cntraining, and giving the unicharset to mftraining. SEE ALSO
tesseract(1), unicharset(5) http://code.google.com/p/tesseract-ocr/wiki/TrainingTesseract3 HISTORY
unicharset_extractor first appeared in Tesseract 2.00. COPYING
Copyright (C) 2006, Google Inc. Licensed under the Apache License, Version 2.0 AUTHOR
The Tesseract OCR engine was written by Ray Smith and his research groups at Hewlett Packard (1985-1995) and Google (2006-present). 02/09/2012 UNICHARSET_EXTRACTOR(1)

Check Out this Related Man Page

WORDLIST2DAWG(1)														  WORDLIST2DAWG(1)

NAME
wordlist2dawg - convert a wordlist to a DAWG for Tesseract SYNOPSIS
wordlist2dawg WORDLIST DAWG lang.unicharset wordlist2dawg -t WORDLIST DAWG lang.unicharset wordlist2dawg -r 1 WORDLIST DAWG lang.unicharset wordlist2dawg -r 2 WORDLIST DAWG lang.unicharset wordlist2dawg -l <short> <long> WORDLIST DAWG lang.unicharset DESCRIPTION
wordlist2dawg(1) converts a wordlist to a Directed Acyclic Word Graph (DAWG) for use with Tesseract. A DAWG is a compressed, space and time efficient representation of a word list. OPTIONS
-t Verify that a given dawg file is equivalent to a given wordlist. -r 1 Reverse a word if it contains an RTL character. -r 2 Reverse all words. -l <short> <long> Produce a file with several dawgs in it, one each for words of length <short>, <short+1>,... <long> ARGUMENTS
WORDLIST A plain text file in UTF-8, one word per line. DAWG The output DAWG to write. lang.unicharset The unicharset of the language. This is the unicharset generated by mftraining(1). SEE ALSO
tesseract(1), combine_tessdata(1), dawg2wordlist(1) http://code.google.com/p/tesseract-ocr/wiki/TrainingTesseract3 COPYING
Copyright (C) 2006 Google, Inc. Licensed under the Apache License, Version 2.0 AUTHOR
The Tesseract OCR engine was written by Ray Smith and his research groups at Hewlett Packard (1985-1995) and Google (2006-present). 02/09/2012 WORDLIST2DAWG(1)
Man Page