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

Really fix meter comparison

parent cd8a05e6
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,7 @@ def main(meter_reference_verses, outfile, meters=['hexameter']):
# the reference reading’s schema and the meter matches the
# reference meter.
reading_is_correct = int(
meter.short_name == ref_meter.short_name
meter.short_name == ref_meter
and reading.get_schema() == ref_schema
)
instances.append((features, reading_is_correct))
......
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