nltk.sem.DRS.findtype

DRS.findtype(variable)

Find the type of the given variable as it is used in this expression. For example, finding the type of “P” in “P(x) & Q(x,y)” yields “<e,t>”

Parameters:variable – Variable