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
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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