MCPcopy Create free account
hub / github.com/BIT-DataLab/LakeBench / processQuery

Function processQuery

join/Joise/online/data_process.py:24–36  ·  view source on GitHub ↗
(query,rawDict)

Source from the content-addressed store, hash-verified

22
23
24def processQuery(query,rawDict):
25 tids=[]
26 gids=[]
27 freqs=[]
28 for token in query:
29 if token in rawDict.keys():
30 tid=rawDict[token][0]
31 gid=rawDict[token][1]
32 freq=rawDict[token][2]
33 tids.append(tid)
34 gids.append(gid)
35 freqs.append(freq)
36 return tids,gids,freqs
37
38
39

Callers 1

Calls 1

keysMethod · 0.45

Tested by

no test coverage detected