Max-IO

Constraint Information

Max-IO
Superset OfMax-IO<Segment>, Max-IO<Feature>
See AlsoMax-BR, other OO constraints
Subset OfMax
NameMax-IO
DescriptionEvery segment in the input must appear in the output

Constraint Definition

def maxIO(i,o):
    """Name=Max-IO
Description=Every segment in the input must appear in the output
Superset Of=Max-IO<Segment>, Max-IO<Feature>
Subset Of=Max
See Also=Max-BR, other OO constraints"""
    return _optimal_path(_levenshtein(i,o), i, o)[1] # (dels,_ins_,subs)

Constraint Evaluation

Input: (only needed for faithfulness constraints)
Output:

Back to main page TODO:Put examples here, or automatically import test cases from the wiki, or something.