classifier_tester.1.asc 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. CLASSIFIER_TESTER(1)
  2. ====================
  3. NAME
  4. ----
  5. classifier_tester - for *legacy tesseract* engine.
  6. SYNOPSIS
  7. --------
  8. *classifier_tester* -U 'unicharset_file' -F 'font_properties_file' -X 'xheights_file' -classifier 'x' -lang 'lang' [-output_trainer trainer] *.tr
  9. DESCRIPTION
  10. -----------
  11. classifier_tester(1) runs Tesseract in a special mode.
  12. It takes a list of .tr files and tests a character classifier
  13. on data as formatted for training,
  14. but it doesn't have to be the same as the training data.
  15. IN/OUT ARGUMENTS
  16. ----------------
  17. a list of .tr files
  18. OPTIONS
  19. -------
  20. -l 'lang'::
  21. (Input) three character language code; default value 'eng'.
  22. -classifier 'x'::
  23. (Input) One of "pruner", "full".
  24. -U 'unicharset'::
  25. (Input) The unicharset for the language.
  26. -F 'font_properties_file'::
  27. (Input) font properties file, each line is of the following form, where each field other than the font name is 0 or 1:
  28. *font_name* *italic* *bold* *fixed_pitch* *serif* *fraktur*
  29. -X 'xheights_file'::
  30. (Input) x heights file, each line is of the following form, where xheight is calculated as the pixel x height of a character drawn at 32pt on 300 dpi. [ That is, if base x height + ascenders + descenders = 133, how much is x height? ]
  31. *font_name* *xheight*
  32. -output_trainer 'trainer'::
  33. (Output, Optional) Filename for output trainer.
  34. SEE ALSO
  35. --------
  36. tesseract(1)
  37. COPYING
  38. -------
  39. Copyright \(C) 2012 Google, Inc.
  40. Licensed under the Apache License, Version 2.0
  41. AUTHOR
  42. ------
  43. The Tesseract OCR engine was written by Ray Smith and his research groups
  44. at Hewlett Packard (1985-1995) and Google (2006-2018).