Lexed

A lexicalizer

This tool allows to search a dictionary entry from a string. The finished automata-based algorithm is especially fast, and offers a good alternative to hashes for large dictionnaries. Lexed can be used interactively or via client/server socket.

Downloading:
lexed/

Compilation

To install under unix type
./configure [--prefix=<directory>]
make
make install
make clean

Utilisation

For help
lexed -h
man lexed
To build an automata
lexed [ -d <directory > ] [ -p <filename prefix> ] <lexicon1> <lexicon2> ...
The lexicons contain for every line the word followed by associated information, separated by a character (tabulation or space by default).
"." is default directory.
"lexicon" is default filename prefix.
To use an automata
lexed [ -d <directory > ] [ -p <filename prefix> ] [ -f <pref> <or> <suff> <uw> ] <inputfile > outputfile
inputfile contains one word to match by line
Other options
[ -P <port> ] TCP port.
[ -i ] Indexation mode only.
[ -F ] Don't load dictionary informations in memory.
[ -t <char> ] Separator characters.
[ -r <search> <replace> -s <number> ] Number and allowed characters for commutation in fuzzy search.
[ -a <number> ] Number of characters for addition in fuzzy search.
[ -e <number> ] Number of characters for deletion in fuzzy search.