Learn R Programming

SemNetCleaner (version 1.0.0)

misnomer: Misnomer Fucntion

Description

A wrapper function for spell-checking (idnetifies misnomers for a word)

Usage

misnomer(word, misnom)

Arguments

word

Word to check for misnomer

misnom

A list of misnomers. Only available for "animals" currently. (see animals.misnomer)

Value

If word matches a misnomer, then the appropriate word is returned. If word does not match a misnomer, then the word is returned

Examples

Run this code
# NOT RUN {
misnomer("possum", SemNetDictionaries::animals.misnomer)

# }

Run the code above in your browser using DataLab