Downloads · 30 days
0
eyldlv/latin-ner
latin-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.
Trained using letters from the Bullinger collection, based on mbert.
Downloads · 30 days
0
Access
Public
Updated Jan 16, 2023
Repo size
673 MB
Likes
0
Public
Click a slice to open those files.
Other673 MB · 100%
From the Hugging Face model README
Trained using letters from the Bullinger collection, based on mbert.
import spacy
nlp = spacy.load('./enhg_pipeline')
doc = nlp('Norimberga in proximum quoddam Ulmensibus oppidulum Leypphaim sese contulit, certa spe recuperandae sedis, e qua nuper est detrusus.')
for ent in doc.ents:
print(ent.text, ent.label_)
# Output:
# Norimberga GEO
# Ulmensibus GEO