Skip to content

Convert Chinese sentences to nlu knowing sentences.

Notifications You must be signed in to change notification settings

lijiarui/neat-query

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

neat-query

neat-query change complex Chinese query to a neat one then NLU platform can learn

It will prprocess all data before put in NLU platform.

Feature

  • Change all blanks to English ,
  • Change Chinese punctuation to English punctuation

Example

import { NeatQuery } from 'neat-query'

console.log(NeatQuery.convert('不要太晚了 6、7点飞就可'))
// Output: 不要太晚了,6,7点飞就可

About

Convert Chinese sentences to nlu knowing sentences.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published