Skip to content

语义理解/口语理解,项目包含有词法分析:中文分词、词性标注、命名实体识别;口语理解:领域分类、槽填充、意图识别。

Notifications You must be signed in to change notification settings

ownthink/Semantic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

语义理解/口语理解

采用了深度学习等技术

主要功能:

  • 中文分词
  • 词性标注
  • 命名实体识别
  • 领域分类
  • 槽填充
  • 意图识别

自然语言处理使用的是作者开源的Jiagu项目:https://github.com/ownthink/Jiagu

spoken举例:

上海的天气
厦门明天会不会下雨
姚明真正的身高是多少

使用方式

python3 test.py

解析结果

{
    "input": "厦门明天会不会下雨", 
    "semantics": [
        {
            "score": "0.8", 
            "domain": "天气", 
            "intent": "", 
            "slot": [
                [
                    "城市", 
                    "厦门"
                ], 
                [
                    "日期", 
                    "明天"
                ]
            ]
        }
    ], 
    "词法分析": {
        "词性标注": [
            "地名", 
            "时间词", 
            "动词", 
            "动词", 
            "动词"
        ], 
        "实体识别": [
            "B-地名", 
            "O", 
            "O", 
            "O", 
            "O"
        ], 
        "中文分词": [
            "厦门", 
            "明天", 
            "", 
            "不会", 
            "下雨"
        ]
    }
}

About

语义理解/口语理解,项目包含有词法分析:中文分词、词性标注、命名实体识别;口语理解:领域分类、槽填充、意图识别。

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy