Commit 97583a07 authored by Simon Will's avatar Simon Will
Browse files

Correctly collect feature MCL_TRIGGERS_PL

parent b126cc3d
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -659,8 +659,11 @@ def parse_verse(verse):
                            (s.phenomena['positional lengthening']
                             .overruled_by) = 'muta cum liquida'
                    elif blueprint[syll_id] == '2':
                        reading.features[ReadingFeature.MCL_TRIGGERS_PL] += 1
                        s.syllable_length = 2
                        if (s.vowel_length < 2
                            and 'muta cum liquida' in s.phenomena):
                            reading.features[
                                ReadingFeature.MCL_TRIGGERS_PL] += 1
                    syll_id += 1

            new_readings.append(copy.deepcopy(new_reading))