예제 #1
0
		def run_p(nsid):
			prod = Producer(nsid)
			prod.initContent(set(chain(*(self.pddb[self.prodgr.vs[p][NID]] for p in self.comm[id_p[nsid]]))), self.dtdb, True)
			prod.inferScores()
			prod.repTag(cover=0) # TWEAK
			self.pgdb[nsid] = prod
			self.pgsb[nsid] = prod.state
예제 #2
0
		def run_p(nsid):
			prod = Producer(nsid)
			prod.initContent(self.pddb[nsid], self.dtdb)
			prod.inferScores()
			prod.repDoc()
			prod.repTag()
			self.phdb[nsid] = prod
			self.phsb[nsid] = prod.state