import plotly.offline as py
from visual import *
py.init_notebook_mode(connected=True)
section, year = "astro-ph", 17
volume = "{}.{}".format(section, str(year).zfill(2))
# model = Word2Vec.load("../stat/word_vec/{}".format(volume))
# terms = get_lines("../topics/{}.txt".format(section))
# extented_terms = closest_keys(terms, model)
lda_topics(volume)
lda_articles(volume)
citied_articles(volume, n_cites=15)
active_authors(section, year)
subsections_ratio(section, year)