presciencelabs / tabitha-editor

0 stars 0 forks source link

Fix 'named' phrases #118

Closed craigp-atw closed 2 months ago

craigp-atw commented 2 months ago

Fixes #116 Melchizedek named that man _ExplainName was the king of Salem named a city _ExplainName. image

The rule that recognized the 'named' relation was expecting a name to follow, ie a non-modified noun (eg. 'a man named Paul'). However, the _explainName structure is written with the nouns flipped, meaning the noun that follows 'named' could be any noun phrase. The 'named' rules have been adjusted to accommodate this.

Note this rule still doesn't trigger when 'named' is being used as the Verb: John named that man Saul. image