该仓库已于 2023-08-20 归档。您可以查看文件或克隆它,但不能推送、创建工单或合并请求。
文件
yap-6.3/packages/cplint/em/README
Fabrizio Riguzzi be449b3aef updated cplint
2011-10-22 16:33:04 +02:00

24 行
559 B
Plaintext

This folder contains an EM algorithm based on cplint
To execute it, load em.pl with
:- use_module(library('cplint/em')).
and run
:- em(filestem).
in a directory containing filestem.kb, filestem.bg and filestem.l.
You will find the output in filestem.rules.
See the files sa1 and sp1 in the folder as examples (they are the first fold of IMDB for target predicates sameauthor and sameperson)
In the .l file you should specify input and output (taget predicates) in the form
input(pred/arity).
output(pred/arity).
See also http://sites.unife.it/rib/