WORDLIST2DAWG(1)
π WORDLIST2DAWG(1) π
ok so bestie, welcome to wordlist2dawg β the manual page. yes that's the manual name, and yes it's a mouthful, but trust me, she's iconic. this little tool converts a wordlist into a DAWG for Tesseract, and we're gonna get into it. π
β¨ SYNOPSIS β¨
like, here's every single way you can run her, no cap:
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 π¦
so wordlist2dawg(1) does exactly what it says on the tin: it converts a wordlist into a Directed Acyclic Word Graph β a DAWG, for the uninitiated π
β for use with Tesseract. and what even is a DAWG? it's a compressed, space and time efficient representation of a word list. literally the glow-up your wordlist didn't know it needed. β¨
πΈ OPTIONS πΈ
-tβ verify that a given dawg file is equivalent to a given wordlist. vibe check for your dawg π-r 1β reverse a word if it contains an RTL character. only the RTL girlies get flipped π-r 2β reverse all words. everybody gets flipped, periodt π-l <short> <long>β produce a file with several dawgs in it, one each for words of length <short>, <short+1>,... <long>. a whole little dawg family πΆ
π ARGUMENTS π
WORDLISTβ a plain text file in UTF-8, one word per line. keep it clean, bestie, one word per line, that's the whole assignment πDAWGβ the output DAWG to write. this is where she goes π«Άlang.unicharsetβ the unicharset of the language. this is the unicharset generated bymftraining(1). yes, that one. don't @ me, just use the onemftraining(1)gave you π
π SEE ALSO π
go check out her friends, they're all slaying in their own lanes:
and the docs, for the lore drop: https://tesseract-ocr.github.io/tessdoc/Training-Tesseract.html π
π COPYING π
Copyright (C) 2006 Google, Inc. Licensed under the Apache License, Version 2.0
like, legal stuff, but make it fashion π
π§ AUTHOR π§
The Tesseract OCR engine was written by Ray Smith and his research groups at Hewlett Packard (1985-1995) and Google (2006-2018). absolute legends, we stan πβ¨
ok that's the whole page bestie, no gatekeeping here π
and that's a wrap! this page is dated 2026-09-28 and it's the wordlist2dawg(1) page β go build something iconic with it, mwah ππ
π
π¦ where this page comes from
- opensuse-leap 16.0: tesseract-ocr 5.5.3-bp160.2.1 Β· Apache-2.0 AND GPL-2.0-or-later
- opensuse-leap 16.0: tesseract-ocr 5.5.3-bp160.2.1 Β· Apache-2.0 AND GPL-2.0-or-later
- opensuse-leap 16.0: tesseract-ocr 5.5.3-bp160.2.1 Β· Apache-2.0 AND GPL-2.0-or-later
- opensuse-leap 16.0: tesseract-ocr 5.5.3-bp160.2.1 Β· Apache-2.0 AND GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms