Did I find the right examples for you? yes no

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)
Function return 1 if the word starts with upper case letter                       
Input=word               Output=flag(0 if no upper case or 1 if upper case)        

        def find_cap_lettre(word):
    """
    Function return 1 if the word starts with upper case letter                       
    Input=word               Output=flag(0 if no upper case or 1 if upper case)        
    """
    if word[0] in ResourcePool().capital_letters:
        return 1
    return 0
        


src/d/i/Dialogs-0.13/src/dialogs/verbalization/utterance_rebuilding.py   Dialogs(Download)
    #If it is a proper name
    counter = begin_pos
    while counter < len(phrase) and other_functions.find_cap_lettre(phrase[counter]) == 1:
        counter += 1
 
    while i < len(list):
 
        if other_functions.find_cap_lettre(list[i][0]) == 1:
            phrase = phrase + list[i]
        else:
 
            #In the case of a proper name
            while nom_gr != [] and begin_pos != 0 and other_functions.find_cap_lettre(nom_gr[0]) == 1:
                begin_pos -= 1