> A user types in a word like 'football'. If he clicks a button like 'Show
> connected words' he should get list of words, which are related to
> football, like footballclub, footballchampionchip etc..., but directly
> from the index of htdig.

By "index," here you seem to mean the word list. You're describing the
nature of fuzzy matching--the closest current algorithm to what you
describe might involve the synonyms file.
<http://www.htdig.org/attrs.html#search_algorithm>

(The particular example you gave could be run with the prefix algorithm,
but I'm assuming you also might want to add in "soccer" for
"football," etc.)

If none of the particular fuzzy algorithms meet your needs, it's not too
difficult to code an additional one from the examples in ht://Dig
already. So your "show connected words" would call htsearch with the same
query, but a different config file with the appropriate search_algorithm
setting.

--
-Geoff Hutchison
Williams Students Online
http://wso.williams.edu/



-------------------------------------------------------
This sf.net email is sponsored by: Jabber Inc.
Don't miss the IM event of the season | Special offer for OSDN members! 
JabberConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn
_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to