a library that get text embeddings
Project description
unlp
gitHub
欢迎提pull requests, 如果有bug
或新需求
,请反馈issue
unlp
unlp是一些经常需要用到的NLP算法包,有助于您学习和使用基于深度学习的文本处理。
安装
python3.6+
pip install unlp
pip install -r requirements.txt
unlp模块
- 根据nlp的任务来构建这个包,主要有无监督学习、有监督学习以及文本增强的一些常有方法;
- 无监督学习中有关键词抽取,向量嵌入和相似度计算;
- 监督学习中有分类任务,命名实体识别,文本生成等;
- 文本增强常用方法,比如回译,同义词替换等。
unlp使用
具体参见示例目录
无监督学习方法
- 关键词抽取;
- 向量嵌入;
- 相似度计算;
- 语义搜索;
...
监督学习方法
- 文本分类;
- 命名实体识别;
- 文本摘要;
- 对话生成;
...
文本数据增强
- 回译;
- EDA(同义词替换、插入、交换和删除);
...
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
unlp-1.4.6-py3-none-any.whl
(2.9 MB
view hashes)