Skip to content

Bug with lemmatisation: lemma of "cameras" is "cameras"? #11870

Description

@Saibo-creator

How to reproduce the behaviour

import spacy
nlp = spacy.load('en_core_web_sm')
doc = nlp("cameras, fungi")
for token in doc:
    print(token._lemma)
# return  cameras, fungi, expected: camera, fungus

Info about spaCy

  • spaCy version: 2.3.8
  • Platform: macOS-10.16-x86_64-i386-64bit
  • Python version: 3.8.13
  • Models: en

Metadata

Metadata

Assignees

No one assigned

    Labels

    feat / lemmatizerFeature: Rule-based and lookup lemmatizationlang / enEnglish language data and models

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions