mirror of
https://github.com/leon-ai/leon.git
synced 2024-12-25 01:31:47 +03:00
refactor(server): stop removing accent for NLU
This commit is contained in:
parent
fa6a5a43a6
commit
7654407fba
@ -2,8 +2,8 @@
|
||||
"todolist": {
|
||||
"create_list": {
|
||||
"expressions": [
|
||||
"Créé la liste",
|
||||
"Créé une liste"
|
||||
"Crée la liste",
|
||||
"Crée une liste"
|
||||
]
|
||||
},
|
||||
"rename_list": {
|
||||
|
@ -61,7 +61,7 @@ class Nlu {
|
||||
log.title('NLU')
|
||||
log.info('Processing...')
|
||||
|
||||
query = string.removeAccents(string.ucfirst(query))
|
||||
query = string.ucfirst(query)
|
||||
|
||||
if (Object.keys(this.classifier).length === 0) {
|
||||
this.brain.talk(`${this.brain.wernicke('random_errors')}!`)
|
||||
|
Loading…
Reference in New Issue
Block a user