unicharset_extractor(1)

unicharset_extractor1

Reads box or plain text files to extract the unicharset.

Usage

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)

Overview

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.

Copying

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

Releases

9 releases since Debian 5.0 (Lenny); the text changed 6 times.

  1. 5.0–6.0
  2. 7–8
  3. 9
  4. 10
  5. 11
  6. 12
  7. 13

History

unicharset_extractor first appeared in Tesseract 2.00.

Author

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

From tesseract-ocr 5.5.0-1+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.