NLP模型笔记2022-08:hanlp模型API使用方法

hanlp模型API接口

安装:pip install hanlp fasttext fasttext bert-for-tf2 py-params params-flow sentencepiece
源码:https://github.com/hankcs/HanLP
如果无法使用就按照这个指定版本号安装其他依赖:

    install_requires=['tensorflow==2.3.0', 'fasttext==0.9.1', 'bert-for-tf2==0.14.5', 'py-params==0.9.7',
                      

猜你喜欢

转载自blog.csdn.net/weixin_41194129/article/details/125006615
今日推荐