Part of Speech Comparison

When searching for a string in one or more parts of speech, it is sometimes convenient to know if the matches also pertain to other grammatical categories. For example, a search for adjectives ending in ent:

There were 371 matches for the string ent$ in Adjectives.

If we wish to know how many of those adjectives ending in ent are also nouns, under Eliminate matches we can check the radio button unless the word is in... and then check Nouns. (Because we are only checking one part of speech, the radio buttons for all of these parts of speech and any of these parts of speech are irrelevant.) The results are:

There were 99 matches for the string ent$ in Adjectives 
that are also in Nouns.

If we change unless the word is in... to if the word is in..., the program will only show those adjectives that aren't also nouns:

There were 272 matches for the string ent$ in Adjectives 
that are not in Nouns.

Note that 99 and 272 add up to 371, the total number of adjectives ending in ent. The same queries for verbs show:

There were 11 matches for the string ent$ in Adjectives 
that are also in Verbs.
There were 360 matches for the string ent$ in Adjectives 
that are not in Verbs.

It is also possible to know the number of matches that occur in more than one other part of speech. If we check both Nouns and Verbs, there are four possibilities:

  1. Eliminate matches if the word is in... all of these parts of speech
    The program will eliminate from the results all adjectives that are also both nouns and verbs; that is, it will only eliminate matches that pertain to all three grammatical categories:
    There were 365 matches for the string ent$ in Adjectives 
    	that are not in (both) Nouns and Verbs.
  2. Eliminate matches unless the word is in... all of these parts of speech
    The program will eliminate from the results all adjectives that are neither nouns nor verbs, leaving only those matches that pertain to all three grammatical categories:
    There were 6 matches for the string ent$ in Adjectives 
    	that are also in Nouns and Verbs.
  3. Eliminate matches if the word is in... any of these parts of speech
    The program will eliminate from the results all adjectives that are either nouns or verbs, leaving only those adjectives that don't pertain to either the noun or verb categories:
    There were 267 matches for the string ent$ in Adjectives 
    	that are not in (either) Nouns or Verbs.
  4. Eliminate matches unless the word is in... any of these parts of speech
    The program will eliminate from the results all words that are neither nouns nor verbs, leaving only those adjectives that pertain to either the noun or verb categories:
    There were 104 matches for the string ent$ in Adjectives 
    	that are also in Nouns or Verbs.

visca.com | Regex Dictionary

Email