Fix morphology for | features
@@ -71,6 +71,10 @@ def _normalize_props(props):
for key in FIELDS:
if key in props:
value = str(props[key]).lower()
+ # We don't have support for disjunctive int|rel features, so
+ # just take the first one :(
+ if "|" in value:
+ value = value.split("|")[0]
attr = '%s_%s' % (key, value)
if attr in FEATURES:
props.pop(key)
