im not sure such a tool exists, if it does its accuracy must be limited, as your asking a machine to be able to understand the human language, for example a word can be a noun or verb in many cases, and you'd need to understand the structure of the sentence