This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/packages/cplint/em/README
Fabrizio Riguzzi be449b3aef updated cplint
2011-10-22 16:33:04 +02:00

24 lines
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/