Пример #1
0
def test_fmeasure_d2_1():
    global markables_tr, exact_matcher
    f,r,p = coref.evaluate(exact_matcher,markables_tr)
    assert_almost_equals(f,.61961,places=4)
Пример #2
0
def test_precision_d2_1():
    global markables_tr, exact_matcher
    f,r,p = coref.evaluate(exact_matcher,markables_tr)
    assert_almost_equals(p,.89773,places=4)
Пример #3
0
def test_recall_d2_1():
    global markables_tr, exact_matcher
    f,r,p = coref.evaluate(exact_matcher,markables_tr)
    assert_almost_equals(r,.47305,places=4)
Пример #4
0
def test_fmeasure_d2_1():
    global markables_tr, exact_matcher
    f,r,p = coref.evaluate(exact_matcher,markables_tr)
    assert_almost_equals(f,.61961,places=4)
Пример #5
0
def test_precision_d2_1():
    global markables_tr, exact_matcher
    f,r,p = coref.evaluate(exact_matcher,markables_tr)
    assert_almost_equals(p,.89773,places=4)
Пример #6
0
def test_recall_d2_1():
    global markables_tr, exact_matcher
    f,r,p = coref.evaluate(exact_matcher,markables_tr)
    assert_almost_equals(r,.47305,places=4)