Closed lovit closed 4 years ago
Korpora에 기여해 주셔서 감사합니다.
해당 Pull Request를 제출하기 전에 아래 사항이 완료되었는지 확인 부탁드립니다:
Korpora/test
KorpusData 가 하나인 경우에는 get_all_texts 를 구현하지 않아도 Korpus 의 attribute 중 KorpusData 를 상속하는 클래스를 찾아 texts 를 가져옵니다. 만약 get_all_texts 에서 return 하는 텍스트의 순서를 강제하고 싶은 경우에는 Korpus 를 상속한 각 클래스별로 get_all_texts 를 오버라이딩합니다.
KorpusData
get_all_texts
Korpus
Pull Request
Korpora에 기여해 주셔서 감사합니다.
해당 Pull Request를 제출하기 전에 아래 사항이 완료되었는지 확인 부탁드립니다:
Korpora/test
)1. 해당 PR은 어떤 내용인가요?
KorpusData
가 하나인 경우에는get_all_texts
를 구현하지 않아도Korpus
의 attribute 중KorpusData
를 상속하는 클래스를 찾아 texts 를 가져옵니다. 만약get_all_texts
에서 return 하는 텍스트의 순서를 강제하고 싶은 경우에는 Korpus 를 상속한 각 클래스별로get_all_texts
를 오버라이딩합니다.2. PR과 관련된 이슈가 있나요?
59