MathGroup Archive 2009

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

Search the Archive

Re: Accessing Dictionary definitions


getKind[word_] := {word,
   Last /@ First /@ WordData[word, "Definitions"]}

selectKind[{w_, lst_List}, what_] := MemberQ[lst, what]


(If[selectKind[getKind[#], "VarietyMeat"], #, {}] & /@
    WordData[]) /. {} :> Sequence[]


Lincoln sievable wrote:
> 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: Re: Wolfram|Alpha Lookup Tool for Mathematica
  • Next by Date: How to handle Units of Measure
  • Previous by thread: Accessing Dictionary definitions
  • Next by thread: Re: Accessing Dictionary definitions