Fixed wrong stress location asignment of new stress type"

This commit is contained in:
2018-09-11 11:34:29 +02:00
parent d09b5a8293
commit d4ea584fc4
5 changed files with 194 additions and 5 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ letter_type_co_model, syllable_type_co_model, syllabled_letter_type_co_model = d
content = data._read_content(read_location)
# format data for accentuate_word function it has to be like [['besedišči', '', 'Ncnpi', 'besedišči'], ]
content = [[el[0], '', el[1][:-1], el[0]] for el in content[:-1]]
content = [[el[0], '', el[1][:-1], el[0]] for el in content]
# use environment variables and models to accentuate words
data = Data('l', shuffle_all_inputs=False)