Possible Duplicate:Extracting Nouns from Noun Phase to NLP
Does anyone have examples of how to extract all nouns from a string using Python NLTK ?
For example, I have this line: "I like tomatoes and salad." I want to create a method that returns Tomatoes and Salad.
If not in Python, does anyone know of any other solution?
NLTK , this ; , , , , NN; . , , I like.
NN
I
like
, , . 95% . , WordNet .
adlib Bash, Princetons, . - python, , wordnets.
Linux - Dave Taylor adlib.