From aa3c59a2f3b8d3d272c4a764d4496a79354f31b5 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Sun, 15 Sep 2019 17:16:21 +0200 Subject: [PATCH] Include Norwegian NER entity types in glossary [ci skip] See https://github.com/ltgoslo/norne --- spacy/glossary.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/spacy/glossary.py b/spacy/glossary.py index ff38e7138..52abc7bb5 100644 --- a/spacy/glossary.py +++ b/spacy/glossary.py @@ -307,4 +307,10 @@ GLOSSARY = { # https://pdfs.semanticscholar.org/5744/578cc243d92287f47448870bb426c66cc941.pdf "PER": "Named person or family.", "MISC": "Miscellaneous entities, e.g. events, nationalities, products or works of art", + # https://github.com/ltgoslo/norne + "EVT": "Festivals, cultural events, sports events, weather phenomena, wars, etc.", + "PROD": "Product, i.e. artificially produced entities including speeches, radio shows, programming languages, contracts, laws and ideas", + "DRV": "Words (and phrases?) that are dervied from a name, but not a name in themselves, e.g. 'Oslo-mannen' ('the man from Oslo')", + "GPE_LOC": "Geo-political entity, with a locative sense, e.g. 'John lives in Spain'", + "GPE_ORG": "Geo-political entity, with an organisation sense, e.g. 'Spain declined to meet with Belgium'", }