cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
JMP is taking Discovery online, April 16 and 18. Register today and join us for interactive sessions featuring popular presentation topics, networking, and discussions with the experts.
Choose Language Hide Translation Bar
Craige_Hales
Super User
WordNet

Playing with WordNet and CMUDict (again).  Starting to look interesting.  The rhyme information is from the pronunciation dictionary.  The drop-down in the picture contains more relationships than just synonyms (other WordNet files).  The numbers to the left of the lines in the poem are syllable counts, more-or-less.  Some words are not in the tables.  And I'm making a guess that every syllable has exactly one vowel-like sound.

RobertFrost.png

attached is some starter code for WordNet.  Not the whole project yet...but it will take the word "disk" and find synonyms...If you don't recognize "harrow" you are not in the field.

round = lookupIdFromWord["disk"] = {103208556, 103706653, 103924069, 113875185, 201742415};

{"disc", "disk", "harrow", "magnetic disc", "magnetic disk", "phonograph record", "phonograph recording", "platter", "record", "saucer"};

I found this paper (Accessing WordNet from Prolog) quite useful too.

Last Modified: Dec 22, 2015 3:50 PM