Giter Site home page Giter Site logo

cookit's Introduction

Cookit

Nuance NLU online project


Cookit is a web platform for Nuance NLU data management, online word segmentation and model validation.

Environment

python2.7 x86+django+mysql

Db Init

Create schema ‘cookit’ in mysql, then

python manage.py makemigrations
python manage.py migrate

Your data models under NLU/models.py will be sync into db.

Add a User Account

Cookit requires user login to access NLU online part,so we need to create an account in backend.

python manage.py adduser

Data Management

Data Type

Cookit supports three kinds of NLU data:

  1. corpus
  2. hrl
  3. pattern

1. Corpus data template

// no header
Ent.Pause	停止 播放
Ent.Continue	恢复 听 歌

2. Hrl data template

// with header
#head;hrl;2.0;utf-8
#ref#speechfile#speaker#gender#reference word sequence#topic#;slot names#;slot values
head
ref#Blu/009s003.pcm#Blu#male#请打开收音机界面#INTENT_Radio_ShowRadio##
ref#Blu/009s034.pcm#Blu#male#有收音机界面吗#INTENT_Radio_ShowRadio##

3. Pattern data template

Apps.CloseApp	APP_NM 不想 听 了
Apps.ShowMenu	APP_MENU_NM 打开

Add New Data

Put your all data files under \Cookit\static\data

The data file should be categorized by its suffix:

  1. Corpus: *.cop
  2. Hrl: *.hrl
  3. Pattern: *.pat

Then run python manage.py syncdata, all the data will be sync to the db automatically.

Cookit Website

Cookit web part provides ...

waiting...

cookit's People

Contributors

hevlfreis avatar

Watchers

James Cloos avatar  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.