Did I find the right examples for you? yes no

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)
puts the direct complement in the indirect
Input=sentence and verbal class         Output=sentence and verbal class         

        def DOC_to_IOC(vg):
    """
    puts the direct complement in the indirect
    Input=sentence and verbal class         Output=sentence and verbal class         
    """

    for x in ResourcePool().indirect_transitive:
        #The case of the verb only and his modal form
        if vg.vrb_main != [] and (vg.vrb_main[0] == x or vg.vrb_main[0].endswith('+' + x)):
            #In this case we have just one direct complement
            if vg.d_obj:
                vg.i_cmpl = vg.i_cmpl + [Indirect_Complement([], vg.d_obj)]
                vg.d_obj = []
                return vg
    return vg
        


src/d/i/Dialogs-0.13/src/dialogs/parsing/analyse_sentence.py   Dialogs(Download)
                    sentence = analyse_verbal_structure.state_adjective(sentence, vg)
 
    vg = analyse_verbal_structure.DOC_to_IOC(vg)
 
    while len(sentence) > 1:
    vg = analyse_verbal_structure.refine_indirect_complement(vg)
    vg = analyse_verbal_structure.refine_subsentence(vg)
    vg = analyse_verbal_structure.DOC_to_IOC(vg)
 
    analysis.sv = [vg]
    sentence = analyse_verbal_structure.find_vrb_adv(sentence, vg)
 
    vg = analyse_verbal_structure.DOC_to_IOC(vg)
 
    while len(sentence) > 1:
    vg = analyse_verbal_structure.refine_indirect_complement(vg)
    vg = analyse_verbal_structure.refine_subsentence(vg)
    vg = analyse_verbal_structure.DOC_to_IOC(vg)
 
    analysis.sv = [vg]