mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-04 20:30:24 +03:00
Update LatinCy ‘code_example’ in website/meta/universe.json
Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>
This commit is contained in:
parent
75f88ecb93
commit
ab586864f7
|
@ -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"
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue
Block a user