def TopDocs(): with LDA_DB() as lda_db: handler = LDA_Core(request, response, lda_db) handler.LoadTopDocs() return handler.GenerateResponse()
def index(): with LDA_DB() as lda_db: handler = LDA_Core(request, response, lda_db) return handler.GenerateResponse()
def DocTopicMatrix(): with LDA_DB() as lda_db: handler = LDA_Core(request, response, lda_db) handler.LoadDocTopicMatrix() return handler.GenerateResponse()