Wolfram Research

Function Repository Resource:

AdverbQ

Source Notebook

Check if a word is an adverb

Contributed by: Arnoud Buzing

ResourceFunction["AdverbQ"][word]

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

Details and Options

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

Examples

Basic Examples

Check if a word is an adverb:

In[1]:=
ResourceFunction["AdverbQ"]["swiftly"]
Out[1]=
In[2]:=
ResourceFunction["AdverbQ"]["truck"]
Out[2]=

Applications

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

In[3]:=
Counts[ResourceFunction["AdverbQ"] /@ TextWords[WikipediaData["Adverb"]]]
Out[3]=

Requirements

Wolfram Language 11.3 (March 2018) or above

Resource History

License Information