|
NAMESearch::OpenFTS::Morph::ISpell - Perl interface to ISpell's dictionaries. Thanks mnoGoSearch (http://www.mhogosearch.org) developers team, kindly granted us to use their stemming code. PREREQUISITESISpell's dictionary and affixes ( *.dict and *.aff ) should be installed. SYNOPSISuse Search::OpenFTS::Morph::ISpell; my $dict=Search::OpenFTS::Morph::ISpell->new( aff_file=>'..', dict_file=>'..' ); my $dict=Search::OpenFTS::Morph::ISpell->new( aff_file=>'..', dict_file=>'..', stop_file=>'..' ); my $dict=Search::OpenFTS::Morph::ISpell->new( aff_file=>'..', dict_file=>'..', locale=>'..' ); my $dict=Search::OpenFTS::Morph::ISpell->new( aff_file=>'..', dict_file=>'..', stop_file=>'..', locale=>'..' ); my @norms = $dict->lemms($word); my $is_stopword = $dict->is_stoplexem( $norm ); DESCRIPTIONThis module returns an array of infinitives for given word and empty array if word is not found in dictionary. Input words must be in dictionary encoding. AUTHORTeodor Sigaev, teodor@sigaev.ru SEE ALSO Ispell site http://fmg-www.cs.ucla.edu/geoff/ispell.html
mnoGoSearch site http://www.mhogosearch.ru
The OpenFTS Primer ( see doc/ subdirectory )
The Crash-course to OpenFTS ( in examples/ subdirectory )
perldoc Search::OpenFTS::Search
perldoc Search::OpenFTS::Index
perldoc Search::OpenFTS::Parser
perldoc Search::OpenFTS::Dict::PorterEng
perldoc Search::OpenFTS::Dict::Snowball
perldoc Search::OpenFTS::Dict::UnknownDict
NOTICESWe recommend ispell dictionary for russian language maintained by Alexander Lebedev, avaliable from ftp://mch5.chem.msu.su/pub/russian/ispell/
|