This commit is contained in:
Patrick J. Burns 2023-05-09 09:52:34 -04:00 committed by GitHub
parent eb3960a15a
commit 15f16db6ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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_}')",
"", "",