- 아래의 명령을 써서 설치한다.
sudo apt-get install wamerican-large
- 원하는 words 리스트는 아래와 같이 확인할 수 있다.
pubuntu@pubuntu:/usr/share/dict$ apt-cache search wordlist | grep ^w | sort
wamerican - American English dictionary words for /usr/share/dict
wamerican-huge - 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
wbrazilian - Brazilian Portuguese wordlist
wbritish - British English dictionary words for /usr/share/dict
wbritish-huge - 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
wbulgarian - The Bulgarian 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-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
wdanish - The Comprehensive Danish Dictionary (DSDO) - wordlist
wdutch - list of Dutch words
wfaroese - The Faroese dictionary / wordlist
wfinnish - A small Finnish dictionary for /usr/share/dict
wfrench - French dictionary words for /usr/share/dict
wgalician-minimos - Wordlist for Galician (minimos)
witalian - The Italian dictionary words for /usr/share/dict/
wngerman - New German orthography wordlist
wnorwegian - Norwegian wordlist
wogerman - The old German dictionary for /usr/share/dict
wpolish - Polish dictionary words for /usr/share/dict
wportuguese - European Portuguese wordlist
wspanish - The Spanish dictionary words for /usr/share/dict
wswedish - The Swedish dictionary
wswiss - Swiss (German) orthography wordlist
wukrainian - Ukrainian dictionary words for /usr/share/dict
wamerican - American English dictionary words for /usr/share/dict
wamerican-huge - 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
wbrazilian - Brazilian Portuguese wordlist
wbritish - British English dictionary words for /usr/share/dict
wbritish-huge - 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
wbulgarian - The Bulgarian 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-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
wdanish - The Comprehensive Danish Dictionary (DSDO) - wordlist
wdutch - list of Dutch words
wfaroese - The Faroese dictionary / wordlist
wfinnish - A small Finnish dictionary for /usr/share/dict
wfrench - French dictionary words for /usr/share/dict
wgalician-minimos - Wordlist for Galician (minimos)
witalian - The Italian dictionary words for /usr/share/dict/
wngerman - New German orthography wordlist
wnorwegian - Norwegian wordlist
wogerman - The old German dictionary for /usr/share/dict
wpolish - Polish dictionary words for /usr/share/dict
wportuguese - European Portuguese wordlist
wspanish - The Spanish dictionary words for /usr/share/dict
wswedish - The Swedish dictionary
wswiss - Swiss (German) orthography wordlist
wukrainian - Ukrainian dictionary words for /usr/share/dict
크로스워드에 활용하기
- vim에서 정규표현식으로 원하는 문자열을 찾고 싶다면 명령 모드에서 다음과 같은 형태로 찾으면 된다.
b로 시작하고 중간에 어떤 알파벳 2개가 오며, k로 끝나는 단어
:/^b[a-z]\{2}k$
^패턴 : 패턴으로 시작함
$패턴 : 패턴으로 끝남
[a-z] : 알파벳을 의미
{2} : 2번 반복을 의미
:/^b[a-z]\{2}k$
^패턴 : 패턴으로 시작함
$패턴 : 패턴으로 끝남
[a-z] : 알파벳을 의미
{2} : 2번 반복을 의미
- grep으로는 다음과 같이 찾을 수 있다. (dot 는 하나의 문자를 의미한다.)
cat /usr/share/dict/words | grep ^b..k$