Module Expr Str Import alias Import alias ImportFrom alias TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body ImportFrom alias Assign NameStore Str Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Num Index Num Assign NameStore Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Print BinOpMod Str NameLoad Assign NameStore Call NameLoad NameLoad With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Print BinOpMod Str NameLoad With Call NameLoad Call AttributeLoad NameLoad attr NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr NameLoad
N/A N/A Script to download the movie review dataset N/A os N/A tarfile contextlib closing N/A N/A urllib urlopen N/A N/A N/A ImportError N/A urllib.request urlopen N/A URL http://www.cs.cornell.edu/people/pabo/movie-review-data/review_polarity.tar.gz N/A ARCHIVE_NAME N/A N/A N/A URL rsplit / 1 N/A 1 N/A DATA_FOLDER txt_sentoken N/A N/A N/A N/A N/A os path exists DATA_FOLDER N/A N/A N/A N/A N/A N/A os path exists ARCHIVE_NAME N/A N/A N/A Downloading dataset from %s (3 MB) URL N/A opener N/A urlopen URL N/A N/A open ARCHIVE_NAME wb archive N/A N/A N/A N/A archive write N/A N/A opener read N/A N/A Decompressing %s ARCHIVE_NAME N/A N/A closing N/A N/A tarfile open ARCHIVE_NAME r:gz archive N/A N/A N/A N/A archive extractall path . N/A N/A N/A os remove ARCHIVE_NAME