Mercurial > hgrepos > Python2 > PyMuPDF
diff mupdf-source/thirdparty/tesseract/doc/wordlist2dawg.1.asc @ 2:b50eed0cc0ef upstream
ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4.
The directory name has changed: no version number in the expanded directory now.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 15 Sep 2025 11:43:07 +0200 |
| parents | |
| children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mupdf-source/thirdparty/tesseract/doc/wordlist2dawg.1.asc Mon Sep 15 11:43:07 2025 +0200 @@ -0,0 +1,69 @@ +WORDLIST2DAWG(1) +================ +:doctype: manpage + +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) + +<https://tesseract-ocr.github.io/tessdoc/Training-Tesseract.html> + +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-2018).
