0.0.4 • Published 7 years ago

neat-query v0.0.4

Weekly downloads
2
License
ISC
Repository
github
Last release
7 years ago

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点飞就可