def __init__(self): self.output_path = '/var/www/html/fundamentals_intf/output/' self.lmdb_obj = webdatastore() self.global_delta_score = {} self.Mobj = slt_map_sectiontype.Map_sectiontype() self.value_to_txt_dict = {} self.txt_to_value_ref_map = {} self.doc_table_html_dict = {} pass
import os, sys, copy import MySQLdb import pprocess import shelve, time import sets, commands, lmdb import read_norm_cell_data as Slt_normdata sObj = Slt_normdata.Slt_normdata() from db.webdatastore import webdatastore lmdb_obj = webdatastore() import slt_map_sectiontype as slt_map_sectiontype Mobj = slt_map_sectiontype.Map_sectiontype() import font_id_for_text_final as Font_id_text StlyObj = Font_id_text.Font_id_text() import xml_to_bbox_normid as cell_id_bbox Xml_Cell_Obj = cell_id_bbox.cell_id_bbox() output_path = '/var/www/html/fundamentals_intf/output/' import sqLite.sqLiteApi as sqLiteApi qObj = sqLiteApi.sqLiteApi() from googletrans import Translator translator = Translator() sys.path.append('/root/muthu_translate/') import socket_client_utils2 as socket_client_utils2 #import html_entity_to_single_char import common.convert as convert convob = convert.convert() def index_all_table(company_id): from getCompanyName_machineId import getCN_MID getCompanyName_machineId = getCN_MID() company_name, machine_id = getCompanyName_machineId[company_id]