I’m using Jon Ingold’s Disambiguation Control extension and it seems to freak out over the use of the pronoun “her”.
I created a new sample game to test this:
[code]“Test” by “CAR”
Home is a room. Mom is a woman in home. Dad is a man in home.
Include Disambiguation Control by Jon Ingold.[/code]
and here is a transcript from that game:
So “him” works as expected, but not only does the game not understand “her” correctly, it also doesn’t accept the player’s answer to “Whom do you want to ask?”!
Anyone know why this is happening or how to alter it? I tried looking at the extension code, but the Inform 6 is over my head.
Hmm. Yeah, it’s possible that it’s related to that, but this particular issue is definitely related to the Disambiguation Control extension somehow – if I don’t include the extension, then the sample game interprets “ask her about foo” as asking Mom (as expected).
The fact that the parser doesn’t accept the player’s clarification is the bigger issue for me. I wouldn’t mind
But as is the player has to retype the whole “ask mom about foo”, which is confusing for them and breaks immersion. I am thinking this may be a bug in Disambiguation Control, but am not sure.
True, I’m not suggesting the error should be attributed to core Inform. But since Disambiguation Control was last changed in June, while Graham made the change in October, I now wonder whether that change somehow affected the way Disambiguation Control does its magic.
Sadly, however, I’m still not nearly skilled enough at I6 to even begin tracing the problem myself.
I am sure it is tricky indeed. If you can’t figure out the “her” thing, a workaround so that the parser at least explains the player’s clarification would be great if possible.
Thanks for taking a look at this and for providing this extension!
Ah, okay: so it turns out the standard parser actually has a check in to stop this problem; so I’ve lifted it into the DC process. It’s not a very nice solution, but it seems to work - nothing’s broken on the standard tests and “her” is now working properly.
I’ll submit the updated version to the Extensions site, but until it goes up, you can grab it from here.