📜  spacy frenc hlemmatizer - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:26.178000             🧑  作者: Mango

代码示例2
pip3 install spacy
python3 -m spacy download fr_core_news_md

import spacy
nlp = spacy.load('fr_core_news_md')

doc = nlp(u"voudrais non animaux yeux dors couvre.")
for token in doc:
    print(token, token.lemma_)