nlp-architect
nlp-architect copied to clipboard
Minor issue with running the cross-document coreference example
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.
Hi @cbiehl, thanks for the fix. Please review CI logs and fix the flake8 style issue.