ko-nlp / Korpora

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

Make KorpusData be subscriptable #21

Closed lovit closed 4 years ago

lovit commented 4 years ago

usage scenario

from Korpora import NSMC

nsmc  = NSMC()
text, label = nsmc.train[0]
lovit commented 4 years ago

7 이 master 에 merge 되면 NSMCData.__getitem__ 을 구현해야 합니다.