code: def __iter__(self):
      # This usage of mmap is for a Linux\OS-X
      # For Windows replace prot=mmap.PROT_READ with access=mmap.ACCESS_READ
      m = mmap.mmap(self.f.fileno(), 0, prot=mmap.PROT_READ)
      data = m.readline()
      while data:
          line = data
          data = m.readline()
          line = line.lower()
          line = line.strip().split()
          yield line
  
file_path: dynet/examples/python-utils/util.py
imports: import mmap
label_desc: Use image node_id 2 for calling the FastCorpusReader obj's underlying member method code with example usage: obj.__iter__() without return types