MCPcopy Create free account
hub / github.com/dqwang122/HeterSumGraph / __init__

Method __init__

module/dataloader.py:145–185  ·  view source on GitHub ↗

Initializes the ExampleSet with the path of data :param data_path: string; the path of data :param vocab: object; :param doc_max_timesteps: int; the maximum sentence number of a document, each example should pad sentences to this length :param sent_max_len:

(self, data_path, vocab, doc_max_timesteps, sent_max_len, filter_word_path, w2s_path)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

readJsonFunction · 0.85
readTextFunction · 0.85
word2idMethod · 0.80

Tested by

no test coverage detected