Skip to content

Normaliser does not expand Arabic numeral in subreading #88

Open
@snomos

Description

@snomos

Compare this:

echo 1600 | ./tools/tts/modes/sme-normaliser.mode    
"<1600>"
	"guhttanuppelohčuođi" Num Sg Nom  "guhttanuppelohčuođi"phon
	"duhátguhttačuođi" Num Sg Nom  "duhátguhttačuohti"phon
	"duhátguhttačuođi" Num Sg Nom  "duhátguhttačuođi"phon
:\n

with this:

echo 1600-logu | ./tools/tts/modes/sme-normaliser.mode          
"<1600-logu>"
	"lohku" N Sem/Amount Sg Gen <W:0.0> @X #1->0 "1600-logu"phon
		"1600" Num Arab Cmp/Hyph Cmp <W:0.0> #1->0 "1600-logu"phon
	"lohku" N Sem/Amount Sg Gen <W:0.0> @X #1->0 "1600-logu"phon
		"1600" Num Cmp/Hyph Cmp <W:0.0> #1->0 "1600-logu"phon
:\n

Excpected output should have been something like duhátguhttačuođi-logu.

@bbqsrc this must probably be fixed in your code as well.

Reported by https://github.com/Yleisradio

Metadata

Metadata

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions