Skip to content

Commit

Permalink
Added Concelho
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardojorgerm authored Apr 10, 2024
1 parent e5dece4 commit d8ae335
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions services/makeTTS.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,8 @@ module.exports = (p, modes = {}) => {
thisString = thisString.replace(regex, ' Câmara ');
regex = /\sFreg[\.]?\b/giu;
thisString = thisString.replace(regex, ' Freguesia');
regex = /\sConcel[\.]?\b/giu;
thisString = thisString.replace(regex, ' Concelho');
regex = /\b(C(al)?ç[\.]?)(\s|$)/giu;
thisString = thisString.replace(regex, 'Calçada ');
regex = /\s(Mun[i]?[c]?(?![í])[i]?(p)?[\.]?)\b/giu;
Expand Down

0 comments on commit d8ae335

Please sign in to comment.