OS Manuals

/usr/bin/combine_lang_model

Tesseract Open Source OCR Engine

From tesseract 5.5.2-r8 (os), captured 2026-11-05 by running combine_lang_model --help (exit 0). permalink

Usage:
  /usr/bin/combine_lang_model [OPTION ...]

  --debug_level  Level of Trainer debugging  (type:int default:0)
  --load_images  Load images with tr files  (type:int default:0)
  --clusterconfig_min_samples_fraction  Min number of samples per proto as % of total  (type:double default:0.625)
  --clusterconfig_max_illegal  Max percentage of samples in a cluster which have more than 1 feature in that cluster  (type:double default:0.05)
  --clusterconfig_independence  Desired independence between dimensions  (type:double default:1)
  --clusterconfig_confidence  Desired confidence in prototypes created  (type:double default:1e-06)
  --lang_is_rtl  True if lang being processed is written right-to-left  (type:bool default:false)
  --pass_through_recoder  If true, the recoder is a simple pass-through of the unicharset. Otherwise, potentially a compression of it  (type:bool default:false)
  --configfile  File to load more configs from  (type:string default:)
  --D  Directory to write output files to  (type:string default:)
  --F  File listing font properties  (type:string default:font_properties)
  --X  File listing font xheights  (type:string default:)
  --U  File to load unicharset from  (type:string default:unicharset)
  --O  File to write unicharset to  (type:string default:)
  --output_trainer  File to write trainer to  (type:string default:)
  --test_ch  UTF8 test character string  (type:string default:)
  --fonts_dir    (type:string default:)
  --fontconfig_tmpdir    (type:string default:)
  --input_unicharset  Filename with unicharset to complete and use in encoding  (type:string default:)
  --script_dir  Directory name for input script unicharsets  (type:string default:)
  --words  File listing words to use for the system dictionary  (type:string default:)
  --puncs  File listing punctuation patterns  (type:string default:)
  --numbers  File listing number patterns  (type:string default:)
  --output_dir  Root directory for output files  (type:string default:)
  --version_str  Version string to add to traineddata file  (type:string default:)
  --lang  Name of language being processed  (type:string default:)
Options (26)
OptionDescriptionSource
--debug_levelLevel of Trainer debugging (type:int default:0)help
--load_imagesLoad images with tr files (type:int default:0)help
--clusterconfig_min_samples_fractionMin number of samples per proto as % of total (type:double default:0.625)help
--clusterconfig_max_illegalMax percentage of samples in a cluster which have more than 1 feature in that cluster (type:double default:0.05)help
--clusterconfig_independenceDesired independence between dimensions (type:double default:1)help
--clusterconfig_confidenceDesired confidence in prototypes created (type:double default:1e-06)help
--lang_is_rtlTrue if lang being processed is written right-to-left (type:bool default:false)help
--pass_through_recoderIf true, the recoder is a simple pass-through of the unicharset.help
--configfileFile to load more configs from (type:string default:)help
--DDirectory to write output files to (type:string default:)help
--FFile listing font properties (type:string default:font_properties)help
--XFile listing font xheights (type:string default:)help
--UFile to load unicharset from (type:string default:unicharset)help
--OFile to write unicharset to (type:string default:)help
--output_trainerFile to write trainer to (type:string default:)help
--test_chUTF8 test character string (type:string default:)help
--fonts_dir(type:string default:)help
--fontconfig_tmpdir(type:string default:)help
--input_unicharsetFilename with unicharset to complete and use in encoding (type:string default:)help
--script_dirDirectory name for input script unicharsets (type:string default:)help
--wordsFile listing words to use for the system dictionary (type:string default:)help
--puncsFile listing punctuation patterns (type:string default:)help
--numbersFile listing number patterns (type:string default:)help
--output_dirRoot directory for output files (type:string default:)help
--version_strVersion string to add to traineddata file (type:string default:)help
--langName of language being processed (type:string default:)help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.