Giter Site home page Giter Site logo

dongdonglotty / intent-classification-baseline-system Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ghiblifield/intent-classification-baseline-system

0.0 1.0 0.0 6.13 MB

A baseline system for intent recognition using the dataset released by SMP2018 ECDT Shared Task

Python 33.42% Jupyter Notebook 66.58%

intent-classification-baseline-system's Introduction

Intent Classification Baseline

中文语音助手意图识别基线系统,外部专有名词知识、训练模型和预测样本的流程。

By W. Y. Shen

PROJECT:https://github.com/GhibliField/Intent-Classification-Baseline-System

USE

DOWNLOAD PROJECT

git clone https://github.com/GhibliField/Intent-Classification-Baseline-System.git

DEPENDENCIES

pip install -r requirements.txt

EXAMPLE

RUN SERVER:

python ServerDemo.py 

TEST:

python test.py 

PROJECT STRUCTURE

FILES

├── config.py
├── data
│   ├── devel.json
│   └── train.json
├── models
│   ├── ltp_data_v3.4.0/
│   ├── some.pkl
│   └── ...
├── README.md
├── RequestHandler.py
├── requirements.txt
├── ServerDemo.py
├── test.py
├── trainers
│   ├── classifiers.py
│   ├── NB-SVM_with_chi2.ipynb
│   ├── SVM_epg-tvchannel.ipynb
│   ├── SVM_video-cinemas.ipynb
│   ├── SVM_video-epg.ipynb
│   ├── SVM_video-music.ipynb
│   └── SVM_website-app.ipynb
└── utils
    ├── predicates.tsv
    ├── pretty_sure.tsv
    ├── proper_noun/
    ├── proper_noun_all.tsv
    ├── rules.tsv
    ├── stopword_2792.txt
    └── utils.py

MAIN COMPONENTS

  • data: 训练数据
  • model: 持久化了的分类模型与必要的对象
  • trainer: notebook脚本,用于训练不同的分类器
  • utils: 外部词库,方法等
  • config.py: 配置路径参数, 请务必修改路径
  • RequestHandler.py: 测试流程
  • ServerDemo.py: Flask 测试服务端
  • test.py: 测试脚本

REFERENCE

intent-classification-baseline-system's People

Contributors

ghiblifield avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.