Function Repository Resource:

AdjectiveQ

Source Notebook

Check if a word is an adjective

Contributed by: Arnoud Buzing

ResourceFunction["AdjectiveQ"][word]

gives True if word can be used as an adjective and False otherwise.

Details and Options

The result is True if any definition of word is an adjective.

Examples

Basic Examples (1) 

Check if a word is an adjective:

In[1]:=
ResourceFunction["AdjectiveQ"]["happy"]
Out[1]=
In[2]:=
ResourceFunction["AdjectiveQ"]["happiness"]
Out[2]=

Applications (1) 

Find how many words in an article can be used as adjectives:

In[3]:=
Counts[ResourceFunction["AdjectiveQ"] /@ TextWords[WikipediaData["Adjective"]]]
Out[3]=

Requirements

Wolfram Language 11.3 (March 2018) or above

Version History

  • 1.0.0 – 11 October 2018

License Information