Loading allzweckmesser/scanner.py +4 −4 Original line number Diff line number Diff line Loading @@ -440,7 +440,7 @@ def generate_synizesis(reading): in_syllables = match.start() < len(syl.text) < match.end() if in_syllables: syn_list.append([syl.id, other_syl.id, new_text, match.groups(0)]) syn_list.append([syl.id, other_syl.id, new_text, match.group(0)]) else: continue Loading Loading @@ -579,11 +579,11 @@ def make_elisions(verse, old = False): next_syllable.phenomena['apheresis'] = apheresis next_syllable.syllable_length = 0 if reading.tokens[i+1].text in {'est', 'estis'}: pl = Phenomenon(chars=m.groups(0)+" est") pl = Phenomenon(chars=m.group(0)+" est") this_syllable.phenomena['positional_lengthening'] = pl this_syllable.syllable_length = 2 elif reading.tokens[i+1].text in {'es'} and 'm' in m.groups(1): pl = Phenomenon(chars=m.groups(0)+" es") elif reading.tokens[i+1].text in {'es'} and 'm' in m.group(1): pl = Phenomenon(chars=m.group(0)+" es") this_syllable.phenomena['positional_lengthening'] = pl this_syllable.syllable_length = 2 Loading Loading
allzweckmesser/scanner.py +4 −4 Original line number Diff line number Diff line Loading @@ -440,7 +440,7 @@ def generate_synizesis(reading): in_syllables = match.start() < len(syl.text) < match.end() if in_syllables: syn_list.append([syl.id, other_syl.id, new_text, match.groups(0)]) syn_list.append([syl.id, other_syl.id, new_text, match.group(0)]) else: continue Loading Loading @@ -579,11 +579,11 @@ def make_elisions(verse, old = False): next_syllable.phenomena['apheresis'] = apheresis next_syllable.syllable_length = 0 if reading.tokens[i+1].text in {'est', 'estis'}: pl = Phenomenon(chars=m.groups(0)+" est") pl = Phenomenon(chars=m.group(0)+" est") this_syllable.phenomena['positional_lengthening'] = pl this_syllable.syllable_length = 2 elif reading.tokens[i+1].text in {'es'} and 'm' in m.groups(1): pl = Phenomenon(chars=m.groups(0)+" es") elif reading.tokens[i+1].text in {'es'} and 'm' in m.group(1): pl = Phenomenon(chars=m.group(0)+" es") this_syllable.phenomena['positional_lengthening'] = pl this_syllable.syllable_length = 2 Loading