vatis-project / vatis

Virtual Automated ATIS Generator for VATSIM
https://docs.vatis.clowd.io
GNU General Public License v3.0
36 stars 16 forks source link

Fix TTS for numbers at the end of a phrase #143

Closed goulven04 closed 1 year ago

goulven04 commented 1 year ago

When numbers are placed at the end of a phrase, like TRANSITION LEVEL 60., that number including the decimal . (which should be considered as punctuation) is passed to the function ToSerialForm() resulting in that . being stripped out. The voice ATIS would become TRANSITION LEVEL SIX ZERO (without the .) and will continue with the remaining part of the template without marking a "pause".