Inserting sentences and probabilities

Using the sintax specified in the section 5.2, there two possible ways of inserting a sentence. You can set a variable with the desired sentence and then use this variable in the function PPL.p

»> s1 = `$\sim$(B$\mid$C)'

»> PPL.p(s1, 0.3, 0.8)

Or you can enter the sentence using directly the function PPL.p:

»> PPL.p(`$\sim$(B$\mid$C)', 0.3, 0.8)



Andre da Costa Teves 2007-08-11