Table of Contents
fsa_accent - find words that deprived of diacritics match words from
fsa_accent [ options ] [ <infile ] [ >outfile ]
fsa_accent reads lines from the input. Each line contains one word. Every
word is looked up in specified dictionaries. All words that when deprived
of diacritics match the input word are printed.
- -d dictionary
- use that dictionary. Several dictionaries may be given. At least one dictionary
must be specified. Dictionaries are automata built using fsa_build or fsa_ubuild.
- -a accent_file
- use accent_file to establish relationships between characters
with diacritics, and those without them. The first character of the accent_file
is a comment character. All lines that begin with it are comments, and
are ignored. All other lines specify one character without diacritics for
one or more characters with diacritics. The first character in a line is
a character without diacritics. It is followed by one or more spaces and
HT characters, and then by a string of characters without diacritics,
followed immediately by new line. There should be no spaces between characters
with diacritics. For each word containing a character found in the first
column in the accent_file words containing that character as well as characters
listed to the right of it in the accent_file will be looked up.
- -i input_file
- specifies an input file, i.e. a file with words that lack accents. More
input files can be specified in that way. If the option is not present,
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
Note: whether this information will be used or not depends on the
module used for I/O handling (one_word_io or text_io).
- prints version
Send bug reports to the author: Jan Daciuk, firstname.lastname@example.org (correct the stuttering).
- Invalid option used, or lack of a required option.
- Dictionary file could not be opened.
- Not enough memory.
- Accent file could
not be opened or used.
Table of Contents