Table of Contents
fsa_prefix - print all words beginning with the specified prefix
fsa_prefix [ options ] [ <infile ] [ >outfile ]
fsa_prefix
reads lines from the input. Each line contains one word or nothing. The
word is treated as a prefix. All words in the specified dictionaries that
have the word as their prefix are printed.
If the word is empty, the whole
contents of the dictionary is printed.
- -d dictionary
- use that
dictionary. Several dictionaries may be given. At least one dictionary
must be specified. Dictionaries are automata built using fsa_ubuild or
fsa_build.
- -i input_file
- specifies a file with prefixes to be completed.
More than one file can be specified in that way (i.e. the option can used
more than once). In absence of this option, standard input is used.
- -l language_file
- specifies a file that hold language specific information, i.e. (for now)
characters that form words, and pairs of (lowercase, uppercase) characters
for case conversion. If the option is not specified, latin letters with
standard case conversions wil be used.
Note: whether this information
will be used or not depends on the module used for I/O handling (one_word_io
or text_io).
- -v
- print version details.
- OK
- Invalid options,
or lack of a required option.
- Dictionary file could not be opened.
- Not enough
memory.
- Possible cycle in the automaton detected.
fsa_accent(1)
,
fsa_build(1)
fsa_guess(1)
, fsa_guess(5)
, fsa_hash(1)
, fsa_morph(1)
, fsa_morph(5)
,
fsa_spell(1)
, fsa_ubuild(1)
, fsa_visual(1)
.
Send bug reports to the
author: Jan Daciuk, jjaannddaacc@eti.pg.gda.pl (correct stuttering!).
Table of Contents