version 0.1.0
Update of spaCy model for Latin based on Proiel Latin conll files (https://proiel.github.io/).
Download this folder into your virtual environment, site packages, etc. Unzip, if necessary, and...
- pip install dist/la_latin_spacy_model-0.1.0.tar.gz
See https://spacy.io/usage/training for more information on working with this model.
import spacy
nlp = spacy.load('la_latin_spacy_model')
docs = nlp(u'arma virumque cano')
for token in docs:
print(token.text)
>>> arma
>>> virumque
>>> cano
This is part of my larger work on adding Latin as a language to spaCy. Please see: https://github.com/diyclassics/spaCy/tree/latin/spacy/lang/la.