Skip to content

Instantly share code, notes, and snippets.

View pramodthammaiah's full-sized avatar

Pramod Thammaiah pramodthammaiah

View GitHub Profile
# coding=UTF-8
import nltk
from nltk.corpus import brown
# This is a fast and simple noun phrase extractor (based on NLTK)
# Feel free to use it, just keep a link back to this post
# http://thetokenizer.com/2013/05/09/efficient-way-to-extract-the-main-topics-of-a-sentence/
# Create by Shlomi Babluki
# May, 2013