There are a few instances where spaCy tags an ORG instead of the GPE I am looking for. I am not sure how to 'turn off' tagging ORG so that it will only look for GPE, or if there is a way to prioritize GPE first.
import spacy
from spacy import displacy
nlp = spacy.load('en_core_web_lg')doc = nlp('Is there a way to bypass the ORG tag for the Los Angeles Lakers and only tag Los Angeles')
displacy.render(doc, style="ent")
In that example when 'Los Angeles Lakers' is together, it will be tagged as a ORG, but really what I want is the GPE Los Angeles. Another example is 'Seattle Seahawks' Looking for the GPE Seattle but I get the ORG