Skip to content

Commit

Permalink
Add korean parallel corpus to loader (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
lovit committed Oct 4, 2020
1 parent 8f2ee72 commit e2d3204
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions Korpora/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
)
from .korpus_kcbert import KcBERTKorpus
from .korpus_korean_hate_speech import KoreanHateSpeechKorpus
from .korpus_korean_parallel import KoreanParallelKOENNewsKorpus
from .korpus_korean_petitions import KoreanPetitionsKorpus
from .korpus_kornli import KorNLIKorpus
from .korpus_korsts import KorSTSKorpus
Expand Down
4 changes: 4 additions & 0 deletions Korpora/loader.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from .korpus_chatbot_data import KoreanChatbotKorpus, fetch_chatbot
from .korpus_kcbert import KcBERTKorpus, fetch_kcbert
from .korpus_korean_hate_speech import KoreanHateSpeechKorpus, fetch_korean_hate_speech
from .korpus_korean_parallel import KoreanParallelKOENNewsKorpus, fetch_korean_parallel_koen_news
from .korpus_korean_petitions import KoreanPetitionsKorpus, fetch_korean_petitions
from .korpus_kornli import KorNLIKorpus, fetch_kornli
from .korpus_korsts import KorSTSKorpus, fetch_korsts
Expand Down Expand Up @@ -60,6 +61,7 @@ def corpus_list(cls):
'kcbert': KcBERTKorpus,
'korean_chatbot_data': KoreanChatbotKorpus,
'korean_hate_speech': KoreanHateSpeechKorpus,
'korean_parallel_koen_news': KoreanParallelKOENNewsKorpus,
'korean_petitions': KoreanPetitionsKorpus,
'kornli': KorNLIKorpus,
'korsts': KorSTSKorpus,
Expand All @@ -74,6 +76,7 @@ def corpus_list(cls):
'kcbert': "beomi@github 님이 만드신 KcBERT 학습데이터",
'korean_chatbot_data': "songys@github 님이 만드신 챗봇 문답 데이터",
'korean_hate_speech': "{inmoonlight,warnikchow,beomi}@github 님이 만드신 혐오댓글데이터",
'korean_parallel_koen_news': "jungyeul@github 님이 만드신 병렬 말뭉치",
'korean_petitions': "lovit@github 님이 만드신 2017.08 ~ 2019.03 청와대 청원데이터",
'kornli': "KakaoBrain 에서 제공하는 Natural Language Inference (NLI) 데이터",
'korsts': "KakaoBrain 에서 제공하는 Semantic Textual Similarity (STS) 데이터",
Expand All @@ -88,6 +91,7 @@ def corpus_list(cls):
'kcbert': fetch_kcbert,
'korean_chatbot_data': fetch_chatbot,
'korean_hate_speech': fetch_korean_hate_speech,
'korean_parallel_koen_news': fetch_korean_parallel_koen_news,
'korean_petitions': fetch_korean_petitions,
'kornli': fetch_kornli,
'korsts': fetch_korsts,
Expand Down

0 comments on commit e2d3204

Please sign in to comment.