西班牙狐猴
es-lemmatizer的Python项目详细描述
西班牙狐猴
先读取数据/许可证
安装它
pip install es-lemmatizer
使用方法:
from es_lemmatizer import lemmatize
import spacy
nlp = spacy.load("es")
nlp.add_pipe(lemmatize, after="tagger")
如何发布:
rm -rf dist
python setup.py clean --all
python setup.py sdist bdist_wheel
twine upload --repository-url https://test.pypi.org/legacy/ --verbose dist/*