I want a latin word list for research / reference purposes. (Like /usr/share/dict/words)There would appear to be no such word list (apt-file search /usr/share/dict | sort | uniq | grep latin), but there is a DICT english latin dictionary: dict-freedict-eng-lat.Is there an easy way to get a word list from this?I tried some quick manual parsing of the .dz using sed but the format looks complicated enough that it needs a little parsing. I tried the dictunformat command, however it produces a c5 database which looks to be a binary format. I can't find tools to interact with such files.
Getting a wordlist from a DICT formatted dictionary
dictionary
If I remember correctly, .dz is a variant of gzip that allows to gunzip just the necessary chunks. Try: zcat dict-freedict-eng-lat.dzMost of the .dz are generated from more comprehensible formats (in the case the format is TEI) using freedict-tools.UPDATE: (I like hacking solutions but) now the not so hacking way:1) If you want Latin, get the sources of freedict Lat-Eng (the inverse dictionary):wget https://sourceforge.net/projects/freedict/files/Latin%20-%20English/0.1.1/freedict-lat-eng-0.1.1.src.tar.bz22) unzip it:tar -xvjf freedict-lat-eng-0.1.1.src.tar.bz2and enjoy the pleasure of dealing with the sources...3) get Latin entry (orth xml tag) from the XML-TEI source (lat-eng/lat-eng.tei):xidel -e //orth lat-eng/lat-eng.teiOne last suggestion: use the Latin-German dictionary (more complete)https://sourceforge.net/projects/freedict/files/Latin%20-%20German/0.4/freedict-lat-deu-0.4.src.tar.bz2tar ...xidel -e //orth lat-deu/lat-deu.tei |  sort -u | wc        (9730)