This commit is contained in:
Patrick J. Burns 2023-05-09 09:52:34 -04:00 committed by Adriane Boyd
parent 7ae4fc19a1
commit 54d9198e62

View File

@ -11,7 +11,7 @@
"# pip install https://huggingface.co/latincy/la_core_web_lg/resolve/main/la_core_web_lg-any-py3-none-any.whl", "# pip install https://huggingface.co/latincy/la_core_web_lg/resolve/main/la_core_web_lg-any-py3-none-any.whl",
"import spacy", "import spacy",
"nlp = spacy.load('la_core_web_lg')", "nlp = spacy.load('la_core_web_lg')",
"doc = nlp('Haec narranatur a poetis de Perseo')", "doc = nlp('Haec narrantur a poetis de Perseo')",
"", "",
"print(f'{doc[0].text}, {doc[0].norm_}, {doc[0].lemma_}, {doc[0].pos_}')", "print(f'{doc[0].text}, {doc[0].norm_}, {doc[0].lemma_}, {doc[0].pos_}')",
"", "",