WordData

WordData["word", "property"]
gives the specified property for the English word .

WordData["word"]
gives a list of full word specifications representing possible uses and senses of .

WordData[wordspec, "property"]
gives a property for a particular word specification.

DetailsDetails

  • A particular use or sense of a word can be represented by a word specification of the form , where is a part of speech and is a sense tag.
  • Words that occur only in one sense can be specified just by . Words that occur only in one sense as a given part of speech can be specified by .
  • In WordData, ordinary words are capitalized as they would be within a sentence (such as or ).
  • Some multiword phrases (such as ) can be used and are treated like single words.
  • Parts of speech include , , , , as well as , , etc.
  • Sense tags are capitalized like Mathematica names.
  • WordData[] gives a list of all words and phrases available in WordData.
  • For properties that depend on the use or sense of a word, WordData[wordspec, "property"] gives a list of rules for each use and sense of a word consistent with wordspec.
  • WordData[wordspec, "property", "form"] yields results in the following forms:
  • "List"a single list of results for all word specifications
    "Rules"a list of word specifications for each word specification
    "ShortRules"a list of word results for each word specification
  • Basic grammatical properties of words include:
  • "PartsOfSpeech"possible parts of speech for a word
  • WordData[All, "part"] gives all words of a given part of speech. WordData[All, "Stopwords"] gives a list of words typically ignored in text comparisons. WordData[All, "PartsOfSpeech"] gives a list of parts of speech.
  • WordData[patt, "Lookup"] gives a list of all available words matching the string pattern patt.
  • Basic meaning-related properties of words include:
  • "Antonyms"words with an opposite meaning (e.g. "large" from "small")
    "BroaderTerms"generalizations of a word (e.g. "shape" from "circle")
    "Definitions"definitions for a word
    "Examples"examples of the word in use
    "NarrowerTerms"specializations of a word (e.g. "circle" from "shape")
    "Synonyms"words with the same meaning (e.g. "large" from "big")
  • Properties describing usage characteristics for words include:
  • "ConceptWeight"rough estimate of semantic importance
    "GeographicDomain"geographic region to which the word relates (e.g. )
    "UsageField"field or category in which the word is used (e.g. )
    "UsageType"type of word usage (e.g. , )
  • Lexical properties of words include:
  • "Hyphenation"hyphenation blocks in a word
    "PhoneticForm"IPA phonetic representation
  • Morphological properties for words include:
  • "BaseForm"base uninflected form of a word (e.g. "large" from "larger")
    "InflectedForms"inflected forms of a word (e.g. "went" from "go")
    "MorphologicalDerivatives"words that are morphologically derived from a word
    "MorphologicalSource"word from which a word is morphologically derived
    "PorterStem"Porter-stemmed form of word
  • Special properties for nouns include:
  • "CompositeTerms"entities made from a material (e.g. "brass" from "copper")
    "DerivedAdjectives"derived adjectives (e.g. "American" from "America")
    "MaterialTerms"terms for constituent material (e.g. "copper" from "brass")
    "PartTerms"terms for parts (e.g. "finger" from "hand")
    "SubsetTerms"terms for subsets (e.g. "Arthropoda" from "Animalia")
    "SupersetTerms"terms for supersets (e.g. "Animalia" from "Arthropoda")
    "WholeTerms"terms for wholes (e.g. "hand" from "finger")
  • Special properties for verbs include:
  • "CausesTerms"verbs for causes (e.g. "kill" from "die")
    "ConsequencesTerms"verbs for consequences (e.g. "die" from "kill")
    "EntailedTerms"verbs for entailed actions (e.g. "step" from "walk")
    "SentenceFrames"ways that the verb can appear in phrases
    "PhrasalVerbs"phrasal forms for verbs (e.g. "move on" from "move")
  • Special properties for adjectives include:
  • "BaseNoun"noun the adjective is derived from (e.g. "handy" from "hand")
    "DerivedAdverb"derived adverb (e.g. "quickly" from "quick")
  • Special properties for adverbs include:
  • "BaseAdjective"adjective the adverb is derived from (e.g. "quick" for "quickly")
  • Word labeling properties include:
  • "WordNetID"WordNet synset IDs for a word
  • WordData[wordspec, "property", "ann"] gives various annotations associated with a property. Typical annotations include:
  • "Description"a textual description of the property
    "Note"special note about the property given
  • WordData[All, "Properties"] gives all properties supported by WordData.
  • Using WordData may require internet connectivity.
New in 6
New to Mathematica? Find your learning path »
Have a question? Ask support »