Skip to content
Snippets Groups Projects
Commit d4793dc9 authored by Simon Will's avatar Simon Will
Browse files

Merge branch 'master' of gitlab.cl.uni-heidelberg.de:Messerschleifer/Allzweckmesser

parents b5ca2e2d b851c45b
No related branches found
No related tags found
No related merge requests found
......@@ -258,7 +258,7 @@ def positional_lengthening(verse):
for syllable in token.syllables:
if syllable.span[0]<= match.start() < syllable.span[1]:
s.syllable_length = 2
syllable.syllable_length = 2
syllable.phenomena['positional lengthening'] = Phenomenon(chars=match.group(1))
......@@ -306,12 +306,10 @@ def parse_verse(verse):
for token in new_reading.tokens:
for s in token.syllables:
if blueprint[syll_id] == "1":
print(1)
s.syllable_length = 1
if 'positional lengthening' in s.phenomena and 'muta cum liquida' in s.phenomena:
s.phenomena['positional lengthening'].overruled_by = 'muta cum liquida'
elif blueprint[syll_id] == "2":
print(2)
s.syllable_length = 2
syll_id += 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment