ru ar oot ad hapnd?
Are you <ru> aware <ar> of what <oot> had <ad> happened <hapnd>?
Are you aware of what had happened?
dte g eththm or n?
Did he <dte> go <g> with them <eththm> or <or> not <n>?
Did he go with them or not?
I underlined because it doesn’t have to use a style limited to plain text, i.e. it could use superscript for separate suffixes and prefixes, etc.
The order of the rules will matter, e.g. phrases woud need to be translated before basic words, and I am all ears about how that should be handled.