Get corresponding verbs and nouns for adverbs and adjectives
问题 How can I get corresponding verbs and nouns for adverbs and adjectives in python? It seems simple succession and precedence may not be very accurate. There may be stopwords like to eg. in I am delighted to learn... I can't any library or even problem statement formalised as such. Code right now. Now I want to return the corresponding the verb for adverb and noun for each adjective in the sentence. Please help. Code: def pos_func(input_text): #pos tagging code: text=input_text tokens=tokenize