NaturalLanguage.singularize()

Determine the singular version of a plural noun.

Usage

Hover over inputs/exits for more info.

var NaturalLanguage = require('machinepack-nlp');


// Determine the singular version of a plural noun.

NaturalLanguage.singularize({

noun: 'cameras',

}).execSync();

Inputs

noun required

A plural noun.

'cameras'

Exits

error

An unexpected error occurred.

success

OK.

'camera'