mercredi 20 juillet 2016

Determining whether a word is a noun or not

Given an input word, I want to determine whether it is a noun or not (in case of ambiguity, for instance cook can be a noun or a verb, the word must be identified as a noun).

Actually I use the POS tagger from the Stanford Parser (i give it a single word as input, and i extract only the POS tag from the result). The results are quite good but it takes a very long time.

Is there a way (in python, please :) to perform this task quicker than what I do actually?

Aucun commentaire:

Enregistrer un commentaire