symbolic-kg / PyClause

A libary for using and learning symbolic rules for knowledge graphs
Other
25 stars 5 forks source link

Add write_rules to ranker #2

Closed nomisto closed 9 months ago

nomisto commented 9 months ago

Added ability to write rules with the ranker,

e.g.

ranker = RankingHandler(options.get("ranking_handler"))
ranker.calculate_ranking(loader)
ranker.write_rules(path, loader, direction="tail", as_string=True)
Nzteb commented 9 months ago

thanks!