The script amie_2_anyburl.py does not run.
Closed this issue · 0 comments
Jean-KOUAGOU commented
The function amieToAnyBURL(in_path, out_path, pca) is defined to use the arguments in_path, out_path, pca
. However, in its body, rules
and out_path
are used but undefined.
This line: Rule, Head_Coverage, Std_Confidence, PCA_Confidence, Positive_Examples, Body_size, PCA_Body_size, Functional_variable,,,_ = rule.split("\t") leads to the error not enough values to unpack
, at least for AMIE+ at https://github.com/dig-team/amie
You might want to remove the three _
at the end of the line. I did that and it fixed the error