Downloads · 30 days
8
4% of all-time downloads
eyldlv/enhg-ner
enhg-ner is a token classification model from eyldlv. Use it when you need labels on individual words, such as names. It is set up for spacy.
Based on the SpaCy German model and trained on letters from the Bullinger collection
Downloads · 30 days
8
4% of all-time downloads
All-time downloads
207
Public
Repo size
843 MB
Likes
0
Public
Click a slice to open those files.
Other438 MB · 52%
From the Hugging Face model README
Based on the SpaCy German model and trained on letters from the Bullinger collection
import spacy
nlp = spacy.load('./enhg-ner')
doc = nlp('Ich hab euch uff gestert ouch by ainem mennlin von Strasburg geschriben mitt ainem brieff gen Bern gehörig.')
for ent in doc.ents:
print(ent.text, ent.label_)
# Output:
# Strasburg GEO
# Bern GEO