original_docstring: 
    If the sentence include 'have not' in any form in a sentence (doesn't have, don't have, do not have, does not have, not have etc., all the adjectives in this sentence should be negated).
  
    Adds a 'IS_SENTENCE_NEGATED' key to indicate 'Negate all adjectives in this sentence since it includes "not have" negation in it.'
  
    NOTE: Consider the sentence, "My time and space in Italy were not very enjoyable and not fun."  # when be verbs are used it is hard to know if it is meant were 'very enjoyable and not fun' or meant were not 'very enjoyable and not fun'. We asssume it is the first one; so we do not double negate for these kinds of sentences even though we double negate for 'have not' verbs.
    
docstring: If the sentence include 'have not' in any form in a sentence (doesn't have, don't have, do not have, does not have, not have etc., all the adjectives in this sentence should be negated).
  Adds a 'IS_SENTENCE_NEGATED' key to indicate 'Negate all adjectives in this sentence since it includes "not have" negation in it.'
  
  Consider the sentence, "My time and space in Italy were not very enjoyable and not fun."  # when be verbs are used it is hard to know if it is meant were 'very enjoyable and not fun' or meant were not 'very enjoyable and not fun'. We asssume it is the first one; so we do not double negate for these kinds of sentences even though we double negate for 'have not' verbs.
docstring_tokens: If the sentence include ' have not ' in any form in a sentence ( doesn ' t have don ' t have do not have does not have not have etc . all the adjectives in this sentence should be negated ) . Adds a ' IS_SENTENCE_NEGATED ' key to indicate ' Negate all adjectives in this sentence since it includes " not have " negation in it . ' Consider the sentence " My time and space in Italy were not very enjoyable and not fun . " # when be verbs are used it is hard to know if it is meant were ' very enjoyable and not fun ' or meant were not ' very enjoyable and not fun ' . We asssume it is the first one ; so we do not double negate for these kinds of sentences even though we double negate for ' have not ' verbs .
code: def handle_negated_sentence(dep_dict, word, dependentWord):
    '''
    If the sentence include 'have not' in any form in a sentence (doesn't have, don't have, do not have, does not have, not have etc., all the adjectives in this sentence should be negated).
  
    Adds a 'IS_SENTENCE_NEGATED' key to indicate 'Negate all adjectives in this sentence since it includes "not have" negation in it.'
  
    NOTE: Consider the sentence, "My time and space in Italy were not very enjoyable and not fun."  # when be verbs are used it is hard to know if it is meant were 'very enjoyable and not fun' or meant were not 'very enjoyable and not fun'. We asssume it is the first one; so we do not double negate for these kinds of sentences even though we double negate for 'have not' verbs.
    '''
    if word.upos == 'VERB' and word.lemma.upper() == 'HAVE' and dependentWord.lemma.upper() == 'NOT' and dependentWord.deprel == 'advmod':
      dep_dict['IS_SENTENCE_NEGATED'] = set(['YES'])
code_tokens: def handle_negated_sentence ( dep_dict , word , dependentWord ) : if word . upos == 'VERB' and word . lemma . upper ( ) == 'HAVE' and dependentWord . lemma . upper ( ) == 'NOT' and dependentWord . deprel == 'advmod' : dep_dict [ 'IS_SENTENCE_NEGATED' ] = set ( [ 'YES' ] )
short_docstring: If the sentence include 'have not' in any form in a sentence (doesn't have, don't have, do not have, does not have, not have etc., all the adjectives in this sentence should be negated).
short_docstring_tokens: If the sentence include ' have not ' in any form in a sentence ( doesn ' t have don ' t have do not have does not have not have etc . all the adjectives in this sentence should be negated ) .
comment: '''
    If the sentence include 'have not' in any form in a sentence (doesn't have, don't have, do not have, does not have, not have etc., all the adjectives in this sentence should be negated).
  
    Adds a 'IS_SENTENCE_NEGATED' key to indicate 'Negate all adjectives in this sentence since it includes "not have" negation in it.'
  
    NOTE: Consider the sentence, "My time and space in Italy were not very enjoyable and not fun."  # when be verbs are used it is hard to know if it is meant were 'very enjoyable and not fun' or meant were not 'very enjoyable and not fun'. We asssume it is the first one; so we do not double negate for these kinds of sentences even though we double negate for 'have not' verbs.
    '''