views:

59

answers:

1

I developed a web site to search a database of videos indexed by keywords. There are several keywords that are repeated like "kid" and "kids" or "children"

I'd like that when users search for a keyword they will find also videos with similar keywords and keywords translation (ex. "kid" > "kinder").

I was thinking about using an external dictionary, there's Google dictionary but it does not provide APIs.

Have you got any idea on how can I do that?

Thanks

Giuseppe

+1  A: 

WordNet provides a free-to-use (even commercially) dictionary containing synonyms.

For instance, the "kid" word contains the following synset:

Noun

  • S: (n) child, kid, youngster, minor, shaver, nipper, small fry, tiddler, tike, tyke, fry, nestling (a young person of either sex) "she writes books for children"; "they're just kids"; "`tiddler' is a British term for youngster"

See this page for libraries to access the dictionary from the language your program is in.

James Kolpack
any suggestion for language translators?english-italian and italian-english is what I'm looking for.
Gusepo
I'm not aware of any off-the-shelf or open source ones - you might be able to find a raw english-to-italian dictionary which you could use for single words. You might also look at Google Translate - they offer an API to use their translation functionality in other programs http://code.google.com/apis/ajaxlanguage/documentation/
James Kolpack