-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(core.gbapp): Fix in NLP handling of acents.
- Loading branch information
1 parent
e7d7a1a
commit 2a5ecd4
Showing
8 changed files
with
70 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,9 @@ | ||
|
||
export const Messages = { | ||
global_quit: /^(sair|sai|chega|exit|quit|finish|end|ausfahrt|verlassen)/i, | ||
'en-US': { | ||
show_video: 'I will show you a video, please wait...', | ||
good_morning: 'good morning', | ||
good_evening: 'good evening', | ||
good_night: 'good night', | ||
hi: (msg) => `Hello, ${msg}.`, | ||
very_sorry_about_error: `I'm sorry to inform that there was an error which was recorded to be solved.`, | ||
canceled: 'Canceled. If I can be useful, let me know how', | ||
whats_email: 'What\'s your E-mail address?', | ||
which_language: 'Please, type the language name you would like to talk through.', | ||
validation_enter_valid_email: 'Please enter a valid e-mail.' , | ||
language_chosen: 'Very good, so let\'s go...' , | ||
affirmative_sentences: /^(sim|s|positivo|afirmativo|claro|evidente|sem dúvida|confirmo|confirmar|confirmado|uhum|si|y|yes|sure)/i | ||
|
||
}, | ||
'pt-BR': { | ||
show_video: 'Vou te mostrar um vídeo. Por favor, aguarde...', | ||
good_morning: 'bom dia', | ||
good_evening: 'boa tarde', | ||
good_night: 'boa noite', | ||
hi: (msg) => `Oi, ${msg}.`, | ||
very_sorry_about_error: `Lamento, ocorreu um erro que já foi registrado para ser tratado.`, | ||
canceled: 'Cancelado, avise como posso ser útil novamente.', | ||
whats_email: 'Qual seu e-mail?', | ||
which_language: 'Por favor, digite o idioma que você gostaria de usar para conversarmos.', | ||
validation_enter_valid_email: 'Por favor digite um email válido.', | ||
language_chosen: 'Muito bem, então vamos lá...' , | ||
affirmative_sentences: /^(sim|s|positivo|afirmativo|claro|evidente|sem dúvida|confirmo|confirmar|confirmado|uhum|si|y|yes|sure)/i | ||
|
||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters