spaces not stripped

This commit is contained in:
UndeadMaelys
2022-05-04 21:29:53 +02:00
parent b4c5460d11
commit 947542d7d0
2 changed files with 69 additions and 65 deletions

View File

@@ -96,6 +96,10 @@ function convertToHeonian(text)
or string.sub(text,i,i) == "\t"
or string.sub(text,i,i) == "-" then -- check if its an unsupported symbol to skip it.
-- adjust i
if string.sub(text,i,i) == " " then
transcribed_text = transcribed_text .. " "
end
new_syllable = true
i = i + 1
pos = i
char_step = false