Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
This function get off the punctuation from the word              
Input=word                              Output=word                      

        def get_off_point(word):
    """
    This function get off the punctuation from the word              
    Input=word                              Output=word                      
    """

    if word.endswith('.') or word.endswith('!') or word.endswith('?'):
        point = word[len(word) - 1]
        while word.endswith(point):
            word = word[:len(word) - 1]
    return word
        


src/d/i/Dialogs-0.13/src/dialogs/parsing/preprocessing.py   Dialogs(Download)
        elif j.endswith('.') or j.endswith('?') or j.endswith('!'):
            sentence = sentence + [j[:len(j) - 1]] + [j[len(j) - 1]]
            sentence[len(sentence) - 2] = other_functions.get_off_point(sentence[len(sentence) - 2])
            sentence = processing(sentence)
            sentence_list = sentence_list + sentence