--- a +++ b/modules/chatbot/const.py @@ -0,0 +1,20 @@ +CONTRACTIONS = { + "won't": "will not", + "can't": "can not", + "n't": " not", + "'re": " are", + "'s": " is", + "'d": " would", + "'ll": " will", + "'ve": " have", + "'m": " am", + "won\’t": "will not", + "can\’t": "can not", + "n\’t": " not", + "\’re": " are", + "\’s": " is", + "\’d": " would", + "\’ll": " will", + "\’ve": " have", + "\’m": " am", +}