Module ImportFrom alias Import alias Import alias Import alias identifier Expr Call AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword NameLoad keyword Num Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Call NameLoad NameLoad AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad For TupleStore NameStore NameStore NameLoad body AugAssignAdd SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad
N/A __future__ print_function N/A logging N/A gensim N/A numpy np N/A N/A N/A logging basicConfig format %(asctime)s : %(levelname)s : %(message)s level N/A logging INFO N/A id2word N/A N/A N/A N/A gensim corpora Dictionary load_from_text data/wiki_en_output_wordids.txt.bz2 N/A mm N/A N/A N/A gensim corpora MmCorpus data/wiki_en_output_tfidf.mm N/A model N/A N/A N/A N/A gensim models hdpmodel HdpModel corpus mm id2word id2word chunksize 10000 N/A N/A N/A model save wiki_hdp.pkl N/A topics N/A N/A np zeros N/A N/A len mm N/A model num_topics N/A N/A di doc N/A enumerate mm N/A N/A doc_top N/A model N/A doc N/A N/A ti tv doc_top N/A N/A N/A topics N/A N/A di ti tv N/A N/A N/A np save topics_hdp.npy topics