Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
verbalises a question about possession                             
Input=class sentence                              Output=sentence                

        def possession_ques(analysis):
    """
    verbalises a question about possession                             
    Input=class sentence                              Output=sentence                
    """

    #processing as statement
    phrase = statement(analysis)

    #We have to know if it is plural or singular
    if other_functions.plural_noun(analysis.sn) == 1:
        return ['whose'] + phrase[:len(phrase) - 1] + ['these'] + ['?']
    else:
        return ['whose'] + phrase[1:len(phrase) - 1] + ['this'] + ['?']
        


src/d/i/Dialogs-0.13/src/dialogs/verbalization/utterance_rebuilding.py   Dialogs(Download)
 
        elif analysis.aim == 'owner':
            return sentence_rebuilding.possession_ques(analysis)
 
        #All other cases of w_question