I’ve updated my Inform 7 extension for improving parser clarification and guesswork to version 7. This fixes one moderately serious bug where the word “her” wouldn’t be understood as a pronoun, and only as a possessive. Turns out Graham had already done some work in the parser to solve this: this version of DC carries that change deep into the bowels of I6’s NounDomain function, where it can do some good.
This is the first update to DC in a while; I’ve had the impression that not many people are using it. For those who haven’t looked, Disambiguation Control rewrites the chunk of the parser that deals with when the parser guesses at a noun, and when it asks for more help. It explodes the normal Inform 7 rulebook “Does the player mean?” into two books, “Should the game choose” and “Should the game suggest”.
The first of these controls when the parser is allowed to make guesses without information (in response to commands like “eat”, where the only sensible choices are foodstuffs, or “drop”, where the game should assume held items). The second book controls is a weaker set of conditions for what the parser can offer as suggestions (in response to commands like “take apple”, the game will suggest any apple and bottle of apple cider, but probably shouldn’t suggest the apple tree itself.)
The extensions includes multiple other fixes and improvements, removing some of I7’s built-in guesswork logic (almost always preferring held items, for instance, regardless of what verb the player has typed); and replacing the “You can’t use multiple objects with that verb” with a more helpful, “You can only have one item here. Which exactly?”
Finally, it prevents an oversight in the “Does the player mean” rulebooks, which causes rules intended to disambiguate specific cases (The can of polish, not the Polish man) to fire when the player has typed nothing. (Causing the command “TAKE” to respond, “(the can of polish)”, even if you are already holding it, and so forth.)