A "disambiguation phrase" is a phrase that answers a disambiguation question ("which book do you mean...").

A disambiguation question can be answered with several types of syntax:

all/everything/all of them
both/both of them
any/any of them
<disambig list>
the <ordinal list> ones
the former/the latter

Note that we assign non-zero badness to all of the ordinal interpretations, so that we will take an actual vocabulary interpretation instead of an ordinal interpretation whenever possible. For example, if an object's name is actually "the third button," this will give us greater affinity for using "third" as an adjective than as an ordinal in our own list.

grammar disambigPhrase(all) :   DisambigProd

Superclass Tree   (in declaration order)


Summary of Properties  

Inherited from BasicProd :
firstTokenIndex  isSpecialResponseMatch  lastTokenIndex 

Summary of Methods  

getResponseList  resolveNouns 

Inherited from DisambigProd :

Inherited from BasicProd :
canResolveTo  getOrigText  getOrigTokenList  setOrigTokenList 




getResponseList ( )en_us.t[7326]

there's only me in the response list

resolveNouns (resolver, results)en_us.t[7319]
no description available

TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3