Learn R Programming

SemNetCleaner (version 1.0.0)

singularize: Converts Words to their Singular Form

Description

A function to de-pluralize '-s' and '-es' words. This function is very basic and does not have many rules. The function simply removes '-s' or '-es' from words.

Usage

singularize(word)

Arguments

word

A word

Value

Returns the word in singular form

Examples

Run this code
# NOT RUN {
singularize(trial[1,10])

# }

Run the code above in your browser using DataLab