---
-
name: probability
tag: mi
match: "(text()='P'"
replace:
- intent:
name: "probability"
children: [x: "text()"]
-
name: given
tag: mo
match: "(text()='|' and parent::preceding-sibling::*[last()][text()='P']"
replace:
- intent:
name: "given"
children: [x: "text()"]