Did I find the right examples for you? yes no

All Samples(9)  |  Call(9)  |  Derive(0)  |  Import(0)
recovers the list of adverbs bound to verb                         
Input=sentence                        Output=sentence                 

        def find_vrb_adv(phrase, vg):
    """
    recovers the list of adverbs bound to verb                         
    Input=sentence                        Output=sentence                 
    """

    #If phrase is empty
    if not phrase:
        return phrase

    #If there is an auxiliary
    if phrase[0] in ResourcePool().auxiliary:
        if phrase[1].endswith('ly'):
            vg.vrb_adv = vg.vrb_adv + [phrase[1]]
            return [phrase[0]] + phrase[2:]
    else:
        #Using a rule of grammar
        if phrase[0].endswith('ly'):
            vg.vrb_adv = vg.vrb_adv + [phrase[0]]
            return phrase[1:]

    return phrase
        


src/d/i/Dialogs-0.13/src/dialogs/parsing/analyse_sentence.py   Dialogs(Download)
    else:
        sentence = analyse_verbal_structure.delete_unusable_word(sentence)
        sentence = analyse_verbal_structure.find_vrb_adv(sentence, vg)
        vg.vrb_tense = analyse_verb.find_tense_question(sentence, aux)
 
 
    #If there is a forgotten
    sentence = analyse_verbal_structure.find_vrb_adv(sentence, vg)
 
    #In case there is a state verb followed by an adjective
                sentence = sentence[2:]
                sentence = analyse_verbal_structure.delete_unusable_word(sentence)
                sentence = analyse_verbal_structure.find_vrb_adv(sentence, vg)
 
            #There is a modal
            elif modal:
                sentence = [sentence[0]] + sentence[2:]
                sentence = analyse_verbal_structure.delete_unusable_word(sentence)
                sentence = analyse_verbal_structure.find_vrb_adv(sentence, vg)
                sentence = sentence[:1] + sentence[2:]
                sentence = analyse_verbal_structure.delete_unusable_word(sentence)
                sentence = analyse_verbal_structure.find_vrb_adv(sentence, vg)
                vg.vrb_tense = analyse_verb.find_tense_statement(sentence)