Update LatinCy ‘code_example’ in website/meta/universe.json

Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>
This commit is contained in:
Patrick J. Burns 2023-05-09 05:35:41 -04:00 committed by GitHub
parent 75f88ecb93
commit ab586864f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,9 +13,7 @@
"nlp = spacy.load('la_core_web_lg')",
"doc = nlp('Haec narranatur a poetis de Perseo')",
"",
"for token in doc:",
" print(f'{token.text}, {token.norm_}, {token.lemma_}, {token.pos_}')",
" break",
"print(f'{doc[0].text}, {doc[0].norm_}, {doc[0].lemma_}, {doc[0].pos_}')",
"",
"# > Haec, haec, hic, DET"
],