Update GBConversationalService.ts

This commit is contained in:
PH Nascimento 2020-12-07 18:25:00 -03:00 committed by GitHub
parent 0778ea6e14
commit 88630e6b7e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -580,7 +580,9 @@ export class GBConversationalService {
} }
text = text.toLowerCase(); text = text.toLowerCase();
text = text.replace('who´s', 'who is');
text = text.replace('who\'s', 'who is'); text = text.replace('who\'s', 'who is');
text = text.replace('what´s', 'what is');
text = text.replace('what\'s', 'what is'); text = text.replace('what\'s', 'what is');
text = text.replace('?', ' '); text = text.replace('?', ' ');
text = text.replace('!', ' '); text = text.replace('!', ' ');