V
VP
Hi all,
I have wordlist file having format:
....
abc
abd
abf
abg
abh
....
So there is one word (utf-8) for each line and all lines were ordered by alphabet.
I would like to make a Perl script for checking a word:
# check.pl abc
if the word is found => ouput OK
if the word is not found => output two words above and below of this word. For example:
# check.pl abe => output: abd abf
The word list has about 70,000 words. I don't know how to search it quickly.
Any suggestion will be welcome.
TIA
VP
I have wordlist file having format:
....
abc
abd
abf
abg
abh
....
So there is one word (utf-8) for each line and all lines were ordered by alphabet.
I would like to make a Perl script for checking a word:
# check.pl abc
if the word is found => ouput OK
if the word is not found => output two words above and below of this word. For example:
# check.pl abe => output: abd abf
The word list has about 70,000 words. I don't know how to search it quickly.
Any suggestion will be welcome.
TIA
VP