ko-nlp / Korpora

Korean corpus repository
Creative Commons Attribution 4.0 International
694 stars 80 forks source link

NSMC getitem 구현 #31

Closed lovit closed 4 years ago

lovit commented 4 years ago

(now)

nsmc = Korpora.load(nsmc)
nsmc[0]
~/git/Korpora/Korpora/korpora.py in __getitem__(self, index)
     12 
     13     def __getitem__(self, index):
---> 14         raise NotImplementedError('Implement __getitem__')
     15 
     16     def __iter__(self):

NotImplementedError: Implement __getitem__