Skip to main content

nlu of classifiers detection、name entity recognition、classification of chinese text

Project description


Chatbot_NLU 是一个基于 RASA 的自定义中文语言理解组件,他可以替换掉RASA中本身的nlu模块,可以使nlu的准确率有较大提升,目前 引入了 bert ,后续将引入 xlnet

同时,RASA 的自定义组件可以参考 Custom NLU Components

目前 Chatbot_NLU 支持的功能有:

1、bert vector

2、bert intent

3、bert slot



pip install chatbot_nlu


Chatbot_NLU 的使用是在 config.yml 文件中修改配置,常见的使用方法请参考:

language: "zh"

- name: "JiebaTokenizer"
- name: "chatbot_nlu.extractors.crf_entity_extractor.CRFEntityExtractor"

# ner
- name: "chatbot_nlu.extractors.jieba_pseg_extractor.JiebaPsegExtractor"
  part_of_speech: ["nr"]

- name: "chatbot_nlu.extractors.bilstm_crf_entity_extractor.BilstmCRFEntityExtractor"

# Word Embedding
- name: "chatbot_nlu.featurizers.bert_vectors_featurizer.BertVectorsFeaturizer"
  ip: ""
  port: 5555
  port_out: 5556
  show_server_config: True
  timeout: 10000
  check_version: False

三、Update News

  • 2020.1.7 接入钉钉群,支持主动推送消息、outgoing交互
  • 2020.1.9 接入微信


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for chatbot-nlu, version 1.0.3
Filename, size File type Python version Upload date Hashes
Filename, size chatbot_nlu-1.0.3-py3-none-any.whl (191.4 kB) File type Wheel Python version py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page