(self)
| 14 | return Vocab(w2i) |
| 15 | |
| 16 | def size(self): |
| 17 | return len(self.w2i.keys()) |
| 18 | |
| 19 | #This corpus reader can be used when reading large text file into a memory can solve IO bottleneck of training. |
| 20 | #Use it exactly as the regular CorpusReader from the rnnlm.py |
no outgoing calls
no test coverage detected