Skip to content

Wrong NER classification for basic words #2701

@ashwinbiyani

Description

@ashwinbiyani

I see apple is classfied as ORG and fruit is classfied as ORG too. Here is the code i am trying

import spacy

nlp = spacy.load('en_core_web_lg')
doc = nlp(u'Apple is a Fruit')

for ent in doc.ents:
print(ent.text, ent.start_char, ent.end_char, ent.label_)

OUTPUT
Apple 0 5 ORG
Fruit 11 16 ORG

Your Environment

  • Operating System:
  • Python Version Used:
  • spaCy Version Used:
  • Environment Information:

Metadata

Metadata

Assignees

No one assigned

    Labels

    feat / nerFeature: Named Entity RecognizerusageGeneral spaCy usage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions