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 fi开发者_C百科nd 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
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.
精彩评论