Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/awslabs/gap-text2sql
/ load
Method
load
rat-sql-gap/seq2struct/utils/vocab.py:112–114 ·
view source on GitHub ↗
(self, path)
Source
from the content-addressed store, hash-verified
110
json.dump(self.word_freq, f)
111
112
def
load(self, path):
113
with
open(path,
"r"
)
as
f:
114
self.word_freq = collections.Counter(json.load(f))
Callers
nothing calls this directly
Calls
1
load
Method · 0.45
Tested by
no test coverage detected