예제 #1
0
def evaluate():
    """Evaluate on a corpus."""
    model = load_model()
    return run_evaluation(model)
예제 #2
0
def evaluate():
    """Evaluate a trained majority vote model."""
    model = load_model()
    return run_evaluation(lambda sents: make_preds(model, sents))
예제 #3
0
def evaluate():
    """Evaluate on a corpus."""
    model = SumBasic()
    return run_evaluation(model)
예제 #4
0
def evaluate():
    """Evaluate on a corpus."""
    model = OracleSummarizer()
    return run_evaluation(model)
예제 #5
0
def evaluate():
    """Evaluate a trained neural tagger."""
    field_odict = load_fields()
    model = load_model(field_odict)
    model.eval()
    return run_evaluation(lambda sents: make_preds(field_odict, model, sents))
예제 #6
0
def evaluate():
    """Evaluate on a corpus."""
    model = Lead()
    return run_evaluation(model)