Created
April 25, 2011 20:21
NLTKclean_html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from nltk import clean_html | |
from urllib2 import urlopen | |
html = urlopen('http://mek.niif.hu/00700/00707/html/vs192601.htm').read() | |
tisztitott_html = clean_html(html) | |
print tisztitott_html[:50] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment