Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
knows if a word is an adjective                                  
Input=word                Output=1 if it is an adjective and 0 if not                     

        def is_an_adj(word):
    """
    knows if a word is an adjective                                  
    Input=word                Output=1 if it is an adjective and 0 if not                     
    """

    #It is a noun verb pronoun or determinant so we have to return 0
    if word in ResourcePool().special_nouns + ResourcePool().special_verbs:
        return 0

    #For the regular adjectives
    for k in ResourcePool().adjective_rules:
        if word.endswith(k):
            return 1

    #For adjectives created from numbers
    if word.endswith('th') and number(word) == 2:
        return 1

    #We use the irregular adjectives list to find it
    if word in list(
            ResourcePool().adjectives.keys()) + ResourcePool().adjective_numbers + ResourcePool().adj_quantifiers:
        return 1

    return 0
        


src/d/i/Dialogs-0.13/src/dialogs/verbalization/sentence_rebuilding.py   Dialogs(Download)
 
    #It is an how question
    if other_functions.is_an_adj(analysis.aim) == 1:
        return ['how'] + [analysis.aim] + phrase
    elif analysis.aim == 'manner':