def get_part_of_speech(sentence):
    cleaned = []
    tokenized = sent_tokenize(sentence)
    for i in tokenized:
        wordsList = nltk.word_tokenize(i)
        wordsList = [w for w in wordsList if (not (w in stop_words))]
        tagged = nltk.pos_tag(wordsList)
        for pair in tagged:
            c_pair = []
            c_pair.append(pair[0])
            try:
                c_pair.append(meaning[pair[1]])
            except:
                c_pair.append('Punctuation')
            cleaned.append(c_pair)
    return cleaned
def get_part_of_speech(sentence):
    cleaned = []
    tokenized = sent_tokenize(sentence)
    for i in tokenized:
        wordsList = nltk.word_tokenize(i)
        wordsList = [w for w in wordsList if (not (w in stop_words))]
        tagged = nltk.pos_tag(wordsList)
        for pair in tagged:
            c_pair = []
            c_pair.append(pair[0])
            try:
                c_pair.append(meaning[pair[1]])
            except:
                c_pair.append('Punctuation')
            cleaned.append(c_pair)
    return cleaned