I think this issue is due to an operation on dict that is not yet supported in python3.8. The syntax to concatenate two dicts need to be changed as follows:
a = {"exemple_1":5,"exemple_2":3}
b = {"exemple_2":5,"exemple_3":3}
c = {**a,**b}
instead of :
a = {"exemple_1":5,"exemple_2":3}
b = {"exemple_2":5,"exemple_3":3}
c = a|b
In French, the following changes need to be applied at least in this file:
"coreferee/lang/fr/language_specific_rules.py", line 1276,
After changing this file, the bug is disappearing on my example but might be in other languages or use cases.
Hi, While testing coreferee in French on this simple example :
with this code :
I get, this error message :
versions: python==3.8.1 spacy==3.2.0 fr_core_news_lg==3.2.0 coreferee==1.3.1
I think this issue is due to an operation on dict that is not yet supported in python3.8. The syntax to concatenate two dicts need to be changed as follows:
instead of :
In French, the following changes need to be applied at least in this file:
After changing this file, the bug is disappearing on my example but might be in other languages or use cases.
Hope this helps, Thank you for your amazing work,