PartOfSpeech

PartOfSpeech["word"]

returns the possible parts of speech for the specified word.

Details

  • PartOfSpeech gives a list of the parts of speech that the specified word can be.
  • PartOfSpeech returns "GrammaticalUnit" entities.
  • Possible parts of speech are: "Noun", "Verb", "Adjective", "Adverb", "Pronoun", "Preposition", "Conjunction", "Determiner", and "Interjection".
  • PartOfSpeech["word"] gives Missing["UnknownWord"] if "word" is not a recognized English-language word.

Examples

open allclose all

Basic Examples  (1)

Find the parts of speech associated with an English-language word:

Possible Issues  (1)

Words that are not recognized have no discernible part of speech:

Wolfram Research (2015), PartOfSpeech, Wolfram Language function, https://reference.wolfram.com/language/ref/PartOfSpeech.html.

Text

Wolfram Research (2015), PartOfSpeech, Wolfram Language function, https://reference.wolfram.com/language/ref/PartOfSpeech.html.

CMS

Wolfram Language. 2015. "PartOfSpeech." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/PartOfSpeech.html.

APA

Wolfram Language. (2015). PartOfSpeech. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/PartOfSpeech.html

BibTeX

@misc{reference.wolfram_2023_partofspeech, author="Wolfram Research", title="{PartOfSpeech}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/PartOfSpeech.html}", note=[Accessed: 19-April-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_partofspeech, organization={Wolfram Research}, title={PartOfSpeech}, year={2015}, url={https://reference.wolfram.com/language/ref/PartOfSpeech.html}, note=[Accessed: 19-April-2024 ]}