Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ownthink/semantic
语义理解/口语理解,项目包含有词法分析:中文分词、词性标注、命名实体识别;口语理解:领域分类、槽填充、意图识别。
https://github.com/ownthink/semantic
nlp nlu slu
Last synced: 6 days ago
JSON representation
语义理解/口语理解,项目包含有词法分析:中文分词、词性标注、命名实体识别;口语理解:领域分类、槽填充、意图识别。
- Host: GitHub
- URL: https://github.com/ownthink/semantic
- Owner: ownthink
- Created: 2018-10-08T00:44:35.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-08T02:25:41.000Z (almost 6 years ago)
- Last Synced: 2023-10-20T22:14:16.470Z (about 1 year ago)
- Topics: nlp, nlu, slu
- Language: Python
- Homepage: https://www.ownthink.com/
- Size: 11.7 KB
- Stars: 170
- Watchers: 11
- Forks: 58
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 语义理解/口语理解
>>> 采用了深度学习等技术主要功能:
* 中文分词
* 词性标注
* 命名实体识别
* 领域分类
* 槽填充
* 意图识别自然语言处理使用的是作者开源的Jiagu项目:https://github.com/ownthink/Jiagu
spoken举例:
```
上海的天气
厦门明天会不会下雨
姚明真正的身高是多少
```### 使用方式
```shell
python3 test.py
```解析结果
```shell
{
"input": "厦门明天会不会下雨",
"semantics": [
{
"score": "0.8",
"domain": "天气",
"intent": "雨",
"slot": [
[
"城市",
"厦门"
],
[
"日期",
"明天"
]
]
}
],
"词法分析": {
"词性标注": [
"地名",
"时间词",
"动词",
"动词",
"动词"
],
"实体识别": [
"B-地名",
"O",
"O",
"O",
"O"
],
"中文分词": [
"厦门",
"明天",
"会",
"不会",
"下雨"
]
}
}
```