[Python] I got San Francisco as person entity. Does anyone know why [closed]

Discussão em 'Python' iniciado por Stack, Abril 17, 2025.

  1. Stack

    Stack Membro Participativo

    While naming entities in this eg (I would be flying to Frisco), I added the special case to the tokenizer to change Frisco to San Francisco. And after that, while checking for entities using if token.ent_type != 0 print(token.ent_type_), I got San Francisco as a PERSON

    Continue reading...

Compartilhe esta Página