When we run a script to return a POS tag, it returns only one tag. Is it possible to get all the tags for a single word? How do we do that?

848    Asked by NishimuraAsato in Data Science , Asked on Nov 4, 2019
Answered by Nishimura Asato

It is possible to return all the tags for a single word.For that, we need to create a function which will return a tag from a particular corpora a then pass n number of tags that we want.


Here ‘brown’ is a corpora from which nltk will extract the tag for the word ‘further’.


Your Answer

Interviews

Parent Categories