def trainInit(self, model):
		self.model = model
		self.oo = 400.0
		self.pm = productMatcher()
		self.analysis_res = {}
		self.kb_list = {}

		self.qid = {}
		self.query_url = []
		self.query_cnt = 0

		self.kb_id = {}
		self.kb_url = []
		self.kb_cnt = 0

		self.transDict = {}
		self.node_num = 0
		self.graph = graph(0, self.oo)
		self.kb_set = set()
		self.kb_num = {}
Ejemplo n.º 2
0
	def __init__(self):
		self.pm = productMatcher()
		self.filterVersionReg = None
		self.res = {}
		self.acro = {}
		pass