Skip to content

singularize() returns non-words for some regular -se nouns (e.g. gasesgase) #123

Description

@fedemelo

inflection.singularize() returns incorrect, non-word results for a small set of common nouns whose plural ends in -ses. The stripped form is not a real word, and singularize(pluralize(x)) !== x.

To reproduce (inflection@3.0.2):

const inflection = require('inflection');

inflection.singularize('gases');   // → 'gase'   (expected 'gas')
inflection.singularize('lenses');  // → 'lense'  (expected 'lens')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions