| << Prev | - Up - |
CheckWordprocedure CheckWords is used by our demo to check that all words of an input sentence are actually known to the lexicon prior to invoking MakeScript.
proc {CheckWords Ws}
{ForAll Ws
proc {$ W}
if {Dictionary.member Lex.lexicon W} then skip
else raise unknown(W) end end
end}
end
| << Prev | - Up - |