Exemple #1
0
def test_main_sonar3_with_fill(sonar_naf_object3, caplog):
    caplog.set_level('DEBUG', 'multisieve_coreference.dump')
    process_coreference(sonar_naf_object3, fill_gaps=True)
    assert sonar_naf_object3.coreference_layer is not None
Exemple #2
0
def test_main_sonar2_without_fill(sonar_naf_object2, caplog):
    caplog.set_level('DEBUG', 'multisieve_coreference.dump')
    process_coreference(sonar_naf_object2, fill_gaps=False)
    assert sonar_naf_object2.coreference_layer is not None
Exemple #3
0
def test_example_with_fill(example_naf_object, caplog):
    caplog.set_level('DEBUG', 'multisieve_coreference.dump')
    process_coreference(example_naf_object, fill_gaps=True)
    assert example_naf_object.coreference_layer is not None
Exemple #4
0
def test_example_debug(example_naf_object, caplog):
    caplog.set_level('DEBUG')
    process_coreference(example_naf_object)
    assert example_naf_object.coreference_layer is not None