Picking out the nouns is the easy part, if players would only use nouns to refer to things it would be trivial to create understand statements. But if descriptions include not only nouns (as is the usual case), is there a good way to handle that?
The easiest thing I could think of is to create an understand statement including all these words. But then the player can refer to e.g. the s-temple as “the” or “of” if I have an understand statement like:
Understand "the/temple/of/doom" as the s-temple.
My initial thought was to just do
Understand "temple" as the s-temple.
But then the parser gives me errors if the player includes any other words.
Is there some way to understand things by their noun only (avoiding disambiguation questions) and somehow strip all words which are not relevant?
In terms of effect The temple of doom is a thing is equivalent to:
The temple of doom is a privately-named thing.
Understand "temple/of/doom" as the temple of doom.
(effect, not internal representation; pace@drpeterbatesuk. )
I’d say “temple/of/doom” is most appropriate. You’re not making anything any worse than the norm by creating a case in which “of” can refer to something; as you’ve noted, the effect of leaving it out is worse.
Understand "the/-- temple of/-- doom/--" as the s-temple.
Which will avoid lots of things with “the” in their names getting triggered by “x the”. Essentially, it makes the “the/–” parts adjectives rather than the core noun.