only negative branching is available in depolex and rule_to_rule_map
r0ller opened this issue · 2 comments
It's currently not possible to set up dependencies or semantic rules in a way to branch on success. In case of semantic rules e.g. it means, that it is not possible to restrict the interpretaion of the sentence:
"list files in directories" which now evaluates to true.
To be able to restrict the semantics so that whenever a plural noun appears in a PP, it should refer to some constants like "list files in directories abc def", the positive branching should be made possible for substeps. This implies introducing a new field in rule_to_rule_maps instead of having only 'substep' for failures like 'failure_substep' and 'success_substep'. Similarly, in depolex instead of d_failover, we need to have another field for success e.g. 'd_success'.
It seems to make customizing easier if the information about the existence of the parent dependency is accessible. This means introducing in depolex another new boolean field like 'optional_parent_allowed'.
Positive branching in depolex and rule_to_rule_map made possible. Optional_parent_allowed flag introduced in depolex as well.