Skip to content
Snippets Groups Projects
Commit fc967321 authored by Victor Zimmermann's avatar Victor Zimmermann
Browse files

Add restriction for whitespace, positional lengthening and mcl leading to...

Add restriction for whitespace, positional lengthening and mcl leading to syllable length 2, resolves #25
parent b851c45b
No related branches found
No related tags found
No related merge requests found
......@@ -280,8 +280,11 @@ def parse_verse(verse):
for syllable in syllables:
if 'muta cum liquida' in syllable.phenomena:
abstract += '{}'
mcl_count += 1
if 'positional lengthening' in syllable.phenomena and ' ' in syllable.phenomena['positional lengthening'].chars:
abstract += '2'
else:
abstract += '{}'
mcl_count += 1
elif 'positional lengthening' in syllable.phenomena:
abstract += '2'
elif syllable.syllable_length == 0:
......
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