dig-team / amie

Mavenized AMIE+Typing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AMIEParser.rules does not work if line contains extra info

falcaopetri opened this issue · comments

Hi,

AMIEParser.rules reads rules from a file. It assumes that each line contains only the rule itself, and no extra data. Therefore, it cannot directly handle AMIE's mining output.

PR #23 tried to improve this behavior, but it had unrealistically assumptions.
PR #24 should be a better alternative.

Also, note that #24 changes AMIEParser.rules to rely on KB.rules, instead of KB.triples (see #21 (comment)).