Browse Source

tts: replace poo with pooh for TTS

master
vampirefrog 1 year ago
parent
commit
8ced04bc09
  1. 1
      static/tts.js

1
static/tts.js

@ -99,6 +99,7 @@ function appendChat(chat) { @@ -99,6 +99,7 @@ function appendChat(chat) {
.replace(/(6,?000,?000|(6|six)\s+mill?ion)/g, 'two hundred and seventy one thousand three hundred and one')
.replace(/(((https?\:\/\/)|(www\.))(\S+))/gi, '')
.replace(/((.+?)\2)\2+/gu, '$1')
.replace(/\bpoo\b/g, 'pooh')
.toLowerCase()
;

Loading…
Cancel
Save