MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Accessing Dictionary definitions


Hi,
here is a bruto force solution:
In[37]:= words = Flatten[WordData[#] & /@ WordData[], 1];

In[38]:= Select[words, Length[#] == 3 && #[[3]] == "VarietyMeat" &]
Out[38]= {{"brain", "Noun", "VarietyMeat"}, {"heart", "Noun",
  "VarietyMeat"}, {"liver", "Noun", "VarietyMeat"}, {"tongue", "Noun",
   "VarietyMeat"}, {"tripe", "Noun", "VarietyMeat"}}

Greeting from Croatia,
Drago

"Lincoln sievable" <briclark at gmail.com> wrote in message 
news:gvdr7e$730$1 at smc.vnet.net...
> Can anyone guide whether Mathematica, can return words that have
> common elements in their Definitions ?  For example, WordData["liver",
> "Definitions"] shows" liver" has been given a definition that includes
> {"liver", "Noun", "VarietyMeat"}.  Is there a way to, for example,
> return all words that are "VarietyMeat" ?
>
>
> 



  • Prev by Date: Correlating two lists
  • Next by Date: Re: seems I broke the FE of V7
  • Previous by thread: Re: Accessing Dictionary definitions
  • Next by thread: Re: Accessing Dictionary definitions