Module ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias Import alias Import alias Import alias Import alias Import alias Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Return Call NameLoad ListComp TupleLoad NameLoad NameLoad comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr decorator_list
N/A nltk.classify NaiveBayesClassifier nltk.corpus movie_reviews stopwords nltk.collocations BigramCollocationFinder nltk.metrics BigramAssocMeasures nltk.probability FreqDist ConditionalFreqDist N/A gzip N/A os N/A pickle N/A re N/A nltk N/A POSITIVE 4 N/A NEGATIVE 0 N/A NEUTRAL 2 N/A mention_re N/A N/A re compile \@\S+ N/A re UNICODE N/A url_re N/A N/A re compile ((mailto\:|(news|(ht|f)tp(s?))\://){1}\S+) N/A re UNICODE N/A emoticon_re N/A N/A re compile \:\)|\:\-\)|\: \)|\:D|\=\)|\:\(\:\-\(\: \( N/A re UNICODE N/A tokenizer N/A N/A nltk RegexpTokenizer \w+ word_feats N/A N/A words N/A N/A N/A N/A dict N/A N/A word True N/A word words N/A words_in_tweet N/A N/A inputstr N/A N/A N/A outputstr inputstr N/A outputstr N/A N/A mention_re sub MENTION_TOKEN outputstr N/A outputstr N/A N/A url_re sub URL_TOKEN outputstr N/A outputstr N/A N/A emoticon_re sub outputstr N/A outputstr N/A N/A outputstr lower N/A N/A N/A tokenizer tokenize outputstr N/A save_classifier N/A N/A classifier N/A N/A N/A fModel N/A open BayesModel.pkl wb N/A N/A N/A pickle dump classifier fModel 1 N/A N/A N/A fModel close N/A N/A N/A os system rm BayesModel.pkl.gz N/A N/A N/A os system gzip BayesModel.pkl N/A load_classifier N/A N/A N/A N/A N/A N/A N/A os system gunzip BayesModel.pkl.gz N/A fModel N/A open BayesModel.pkl rb N/A classifier N/A N/A pickle load fModel N/A N/A N/A fModel close N/A N/A N/A os system gzip BayesModel.pkl N/A classifier N/A package_classifier N/A N/A to_pickle N/A N/A N/A fp N/A N/A gzip open sentiment.pkl.gz wb N/A N/A N/A pickle dump to_pickle fp 1 N/A N/A N/A fp close N/A