Instructions to use eyldlv/enhg-ner with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- spaCy
How to use eyldlv/enhg-ner with spaCy:
!pip install https://huggingface.co/eyldlv/enhg-ner/resolve/main/enhg-ner-any-py3-none-any.whl # Using spacy.load(). import spacy nlp = spacy.load("enhg-ner") # Importing as module. import enhg-ner nlp = enhg-ner.load() - Notebooks
- Google Colab
- Kaggle
NER for Early New High German (Frühneuhochdeutsch)
Based on the SpaCy German model and trained on letters from the Bullinger collection
How to use
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
- Downloads last month
- 4