javascript - reverse-thesaurus api (no compound words) -
i trying find way reverse definition-look-up inside thesaurus or dictionary. there api's dictionaries , thesaurus available, few have reverse-lookup function, ones limited (e.g. don't consider synonyms).
e.g. desire + emotion + not disgust + not hate ====> results in: love
this project in communication studies. limited vocabulary of less 50 words allows more sophisticated communication , expression (used beings can hold many words in brains)
the objective condense number of source words (usually 3-10) 1 new word or phrase (or short list of candidates). new word/phrase have similar meaning 3-10 words made of. new target word/phrase not part of dictionary of source words, nor join dictionary.
the 3-10 source word can include negated ones (e.g. not tall, not fast, ...).
so in way 50 source words legos, , want find out can build them. want come many combinations , new words possible (no compound-words)
- is there clever way brute force? include synonyms?
- or there thesauruses can download , query myself?
- should work other languages (chinese, japanese, german, ..)
i m happy pointers in direction.
--
here dictionary , thesaurus api's. big companies offer these, m afraid d overwhelm them if did brute force lookup.. (or d me pay money that).
http://words.bighugelabs.com/api.php https://en.wiktionary.org/w/api.php
Comments
Post a Comment