Did I find the right examples for you? yes no

All Samples(8)  |  Call(8)  |  Derive(0)  |  Import(0)
Function creates strings with '+' in place of ' '                                
Input=list of string                      Output=string with + in place of ' '   

        def convert_to_string(liste):
    """
    Function creates strings with '+' in place of ' '                                
    Input=list of string                      Output=string with + in place of ' '   
    """
    if not liste:
        return ''

    if len(liste) == 1:
        return liste[0]
    else:
        return liste[0] + '+' + convert_to_string(liste[1:])
        


src/d/i/Dialogs-0.13/src/dialogs/parsing/preprocessing.py   Dialogs(Download)
 
            sentence = sentence[:begin_pos] + [
                other_functions.convert_to_string(sentence[begin_pos:end_pos])] + sentence[end_pos:]
 
        i += 1
        for j in ResourcePool().concatenate_proposals:
            if i + len(j) <= len(sentence) and sentence[i:i + len(j)] == j:
                sentence = sentence[:i] + [other_functions.convert_to_string(j)] + sentence[i + len(j):]
                break
 
                            sentence[i:i + len(cn)] == cn:
                sentence = sentence[:i] + \
                           [other_functions.convert_to_string(cn)] + \
                           sentence[i + len(cn):]
                break

src/d/i/Dialogs-0.13/src/dialogs/parsing/analyse_verbal_structure.py   Dialogs(Download)
    #We process the verb
    if scd_sentence[0] == 'not':
        scd_verb = [other_functions.convert_to_string(analyse_verb.return_verb(scd_sentence, [scd_sentence[1]], ''))]
        vg.sv_sec = vg.sv_sec + [Verbal_Group(scd_verb, [], '', [], [], [], [], Verbal_Group.negative, [])]
        #We delete the verb
        scd_sentence = scd_sentence[phrase.index(scd_sentence[1]) + 1:]
    else:
        scd_verb = [other_functions.convert_to_string(analyse_verb.return_verb(scd_sentence, [scd_sentence[0]], ''))]

src/d/i/Dialogs-0.13/src/dialogs/parsing/analyse_sentence.py   Dialogs(Download)
        verb = analyse_verb.find_verb_question(sentence, aux, vg.vrb_tense)
        verb_main = analyse_verb.return_verb(sentence, verb, vg.vrb_tense)
        vg.vrb_main = [other_functions.convert_to_string(verb_main)]
 
        #We delete the verb if the aux is not the verb 'be'
        verb = analyse_verb.find_verb_statement(sentence, vg.vrb_tense)
        verb_main = analyse_verb.return_verb(sentence, verb, vg.vrb_tense)
        vg.vrb_main = [other_functions.convert_to_string(verb_main)]
 
        #We delete the verb
        verb = [sentence[0]]
        verb_main = analyse_verb.return_verb(sentence, verb, vg.vrb_tense)
        vg.vrb_main = [other_functions.convert_to_string(verb_main)]
 
        #We delete the verb