cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Uncharted

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