logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

unicharset_extractor - Reads box or plain text files to extract the unicharset.

Author

       The Tesseract OCR engine was written by Ray Smith and his research groups at Hewlett Packard (1985-1995)
       and Google (2006-2018).

                                                   01/19/2025                            UNICHARSET_EXTRACTOR(1)

Copying

       Copyright (C) 2006, Google Inc. Licensed under the Apache License, Version 2.0

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 training pages bounding box files or a plain text file:

           unicharset_extractor fontfile_1.box fontfile_2.box ...

       The unicharset will be put into the file ./unicharset if no output filename is provided.

       NOTE Use the appropriate norm_mode based on the language.

History

       unicharset_extractor first appeared in Tesseract 2.00.

Name

       unicharset_extractor - Reads box or plain text files to extract the unicharset.

See Also

tesseract(1), unicharset(5)

       https://tesseract-ocr.github.io/tessdoc/Training-Tesseract.html

Synopsis

unicharset_extractor [--output_unicharset filename] [--norm_mode mode] box_or_text_file [...]

       Where mode means: 1=combine graphemes (use for Latin and other simple scripts) 2=split graphemes (use for
       Indic/Khmer/Myanmar) 3=pure unicode (use for Arabic/Hebrew/Thai/Tibetan)

See Also