lookuprules(sentence,ruleset) → ruleset
The subroutine lookuprules takes a sentence and a ruleset as arguments. If ruleindexing is true, it uses ruleindexps to find an array of rules that might apply to the specified sentence; otherwise, it returns the entire ruleset.
|