Re: [htdig] endings algo


Subject: Re: [htdig] endings algo
From: Gilles Detillieux (grdetil@scrc.umanitoba.ca)
Date: Fri Jan 28 2000 - 09:16:55 PST


According to Anthony Hinsinger:
> Hello, i'd like to use the endings algorithm. I've downloaded french ispell,
> created the french.0, added this to my config file:
>
> locale: fr_FR
> lang_dir: ${common_dir}/french
> endings_affix_file: ${lang_dir}/french.aff
> endings_dictionary: ${lang_dir}/french.0
> endings_root2word_db: ${lang_dir}/root2word.db
> endings_word2root_db: ${lang_dir}/word2root.db
>
> And run htfuzzy -c configfile -v endings
>
> So, it have created root2word.db and word2root.db.
>
> When i change search_algorithm from exact:1 to endings:1, it find none words
> Any idea ?

I don't think you should remove exact:1 from search_algorithm. I'm using

search_algorithm: exact:1 synonyms:0.5 endings:0.1

with the standard english.0 and english.aff dictionary and affix file,
and it works fine. Note also that htsearch must find and use the same
root2word.db and word2root.db files that you created with htfuzzy, so if
your "configfile" that you used for htfuzzy above is not the same config
file you use for htsearch, then the latter must have the same definitions
for endings_root2word_db and endings_word2root_db, or it just won't work.

-- 
Gilles R. Detillieux              E-mail: <grdetil@scrc.umanitoba.ca>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

------------------------------------ To unsubscribe from the htdig mailing list, send a message to htdig-unsubscribe@htdig.org You will receive a message to confirm this.



This archive was generated by hypermail 2b28 : Fri Jan 28 2000 - 09:18:59 PST