4 ms·
> If you’re on Mac, Linux, or BSD, you should have a dictionary of words at /usr/share/dict/words Why do they come with a dictionary of words?
by TowerTall 4y ago
> If you’re on Mac, Linux, or BSD, you should have a dictionary of words at /usr/share/dict/words
Why do they come with a dictionary of words?
- StreamBright 4y agoThere are some legit use cases: words is a standard file on Unix and Unix-like operating systems, and is simply a newline-delimited list of dictionary words. It is used, for instance, by spell-checking programs. The words file is usually stored in /usr/share/dict/words or /usr/dict/words. https://en.wikipedia.org/wiki/Words_(Unix) https://en.wikipedia.org/wiki/Words_(Unix)
- Tempest1981 4y agoAre there other languages besides English and British?
- chipaca 4y ago$ apt-cache search 'words for /usr/share/dict' | sed -e 's/^[^ ]* - //; s/ dictionary words.*//' | sort -u American English British English Bulgarian Canadian English Catalan Esperanto French German medical Irish (Gaeilge) Italian Manx Gaelic Polish Spanish Swedish Ukrainian
- jwilk 4y agoNot every word list package has "words for /usr/share/dict" in the description. $ grep-aptavail -wF Provides wordlist -s Package,Description | tbl-dctrl +===================+=======================================================+ | Package | Description | +-------------------+-------------------------------------------------------+ | wbulgarian | Bulgarian dictionary words for /usr/share/dict | | wbrazilian | Brazilian Portuguese wordlist | | wdanish | The Comprehensive Danish Dictionary (DSDO) - wordlist | | wdutch | list of Dutch words | | wesperanto | Esperanto dictionary words for /usr/share/dict | | wogerman | Traditional German wordlist | | wngerman | New German orthography wordlist | | wswiss | Swiss (German) orthography wordlist | | wpolish | Polish dictionary words for /usr/share/dict | | wfaroese | Faroese dictionary / wordlist | | wgalician-minimos | Wordlist for Galician (minimos) | | wukrainian | Ukrainian dictionary words for /usr/share/dict | | wportuguese | European Portuguese wordlist | | wgerman-medical | German medical dictionary words for /usr/share/dict | | miscfiles | Dictionaries and other interesting files | | wnorwegian | Norwegian word list | | wamerican | American English dictionary words for /usr/share/dict | | wamerican-huge | American English dictionary words for /usr/share/dict | | wamerican-insane | American English dictionary words for /usr/share/dict | | wamerican-large | American English dictionary words for /usr/share/dict | | wamerican-small | American English dictionary words for /usr/share/dict | | wbritish | British English dictionary words for /usr/share/dict | | wbritish-huge | British English dictionary words for /usr/share/dict | | wbritish-insane | British English dictionary words for /usr/share/dict | | wbritish-large | British English dictionary words for /usr/share/dict | | wbritish-small | British English dictionary words for /usr/share/dict | | wcanadian | Canadian English dictionary words for /usr/share/dict | | wcanadian-huge | Canadian English dictionary words for /usr/share/dict | | wcanadian-insane | Canadian English dictionary words for /usr/share/dict | | wcanadian-large | Canadian English dictionary words for /usr/share/dict | | wcanadian-small | Canadian English dictionary words for /usr/share/dict | | wcatalan | Catalan dictionary words for /usr/share/dict | | wswedish | Swedish dictionary words for /usr/share/dict | | wfrench | French dictionary words for /usr/share/dict | | witalian | Italian dictionary words for /usr/share/dict/ | | wspanish | Spanish dictionary words for /usr/share/dict | +===================+=======================================================+
- capableweb 4y agoThere is indeed. Usually you chose what lists to install as part of installation, otherwise it's just one package install away.
- Gigachad 4y agoNot sure the origin but I have seen it used several times where random words are needed. So it certainly is handy.
- jacquesm 4y agoPassword generators, spell checkers, password crackers, textual analysis, the 'look' program. Probably more than that!
- CydeWeys 4y agoSpell checker is an obvious use case. You can then add terms to the system dictionary and now they're valid systemwide in all apps that use the dictionary for spell checking!