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?
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.