nlp-architect icon indicating copy to clipboard operation
nlp-architect copied to clipboard

Minor issue with running the cross-document coreference example

Open cbiehl opened this issue 5 years ago • 1 comments

Running the cross-document coreference example as-is produced the following error message for me: Exception: No model found that Support RelationType-RelationType.SAME_HEAD_LEMMA (in file nlp_architect/models/cross_doc_coref/system/sieves_container_init.py, line 45, in get_module_from_relation)

I could apparently solve the problem by importing the class ComputedRelationExtraction and appending it to the models list.

cbiehl avatar Jun 28 '20 13:06 cbiehl

Hi @cbiehl, thanks for the fix. Please review CI logs and fix the flake8 style issue.

peteriz avatar Jul 26 '20 06:07 peteriz