MCPcopy Create free account
hub / github.com/clab/dynet / __init__

Method __init__

examples/python-utils/util.py:38–39  ·  view source on GitHub ↗
(self, fname)

Source from the content-addressed store, hash-verified

36
37class CorpusReader:
38 def __init__(self, fname):
39 self.fname = fname
40 def __iter__(self):
41 for line in file(self.fname):
42 line = line.strip().split()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected