
Dict::Lexed - Lexed wrapper

Version 0.2.2

This module is a perl wrapper around Lexed, a lexicalizer developed at INRIA (http://www.lionel-clement.net/lexed)

use Dict::Lexed;
Dict::Lexed->create_dict($wordlist);
my $dict = Dict::Lexed->new();
$dict->check('foo');
$dict->suggest('foo');

Creates a dictionnary from $wordlist suitable for use with lexed.
Optional parameters:
general options passed to lexed
specific build options passed to lexed

Creates and returns a new Dict::Lexed object.
Optional parameters:
general options passed to lexed
specific consultation options passed to lexed

Check the dictionnary for exact match of word $word. Returns a true value if word is present in the dictionnary, false otherwise.
Check the dictionnary for approximate match of word $word. Returns a list of approximated words from the dictionnary, according to parameters passed when creating the object.
Query the dictionnary for word $word. Returns the raw result of the query, as a list of words.

Copyright (C) 2004, INRIA.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Guillaume Rousse <grousse@cpan.org>