diff --git a/src/python/docs.h b/src/python/docs.h index 5d60763..e76aa31 100644 --- a/src/python/docs.h +++ b/src/python/docs.h @@ -463,7 +463,7 @@ DOC_SIGNATURE_EN_KO(LDA_load__doc__, u8R""(`filename` 경로의 파일로부터 모델 인스턴스를 읽어들여 반환합니다.)""); DOC_SIGNATURE_EN_KO(LDA_summary__doc__, - "summary(self, initial_hp=True, params=True, topic_word_top_n=5, file=sys.stdout, flush=False)", + "summary(self, initial_hp=True, params=True, topic_word_top_n=5, file=None, flush=False)", u8R""(.. versionadded:: 0.9.0 print human-readable description of the current model diff --git a/tomotopy/documentation.kr.rst b/tomotopy/documentation.kr.rst index 56989bd..406aece 100644 --- a/tomotopy/documentation.kr.rst +++ b/tomotopy/documentation.kr.rst @@ -296,7 +296,7 @@ tomotopy의 Python3 예제 코드는 https://github.com/bab2min/tomotopy/blob/ma ------- * 0.9.0 (2020-08-04) * 모델의 상태를 알아보기 쉽게 출력해주는 `tomotopy.LDAModel.summary()` 메소드가 추가되었습니다. - * 난수 생성기를 `EigenRand`_로 대체하여 생성 속도를 높이고 플랫폼 간의 결과 차이를 해소하였습니다. + * 난수 생성기를 [EigenRand]로 대체하여 생성 속도를 높이고 플랫폼 간의 결과 차이를 해소하였습니다. * 이로 인해 `seed`가 동일해도 모델 학습 결과가 0.9.0 이전 버전과 달라질 수 있습니다. * `tomotopy.HDPModel`에서 간헐적으로 발생하는 학습 오류를 수정했습니다. * 이제 `tomotopy.DMRModel.alpha`가 메타데이터별 토픽 분포의 사전 파라미터를 보여줍니다. @@ -308,7 +308,7 @@ tomotopy의 Python3 예제 코드는 https://github.com/bab2min/tomotopy/blob/ma * 이제 `tomotopy.MGLDAModel.get_count_by_topics()`가 전역 토픽과 지역 토픽 모두의 단어 개수를 보여줍니다. * `tomotopy.PAModel.alpha`, `tomotopy.PAModel.subalpha`, `tomotopy.PAModel.get_count_by_super_topic()`이 추가되었습니다. -.. _EigenRand: https://github.com/bab2min/EigenRand +[EigenRand]: https://github.com/bab2min/EigenRand * 0.8.2 (2020-07-14) * `tomotopy.DTModel.num_timepoints`와 `tomotopy.DTModel.num_docs_by_timepoint` 프로퍼티가 추가되었습니다. diff --git a/tomotopy/documentation.rst b/tomotopy/documentation.rst index 2ecbeeb..0b10933 100644 --- a/tomotopy/documentation.rst +++ b/tomotopy/documentation.rst @@ -299,7 +299,7 @@ History ------- * 0.9.0 (2020-08-04) * The `tomotopy.LDAModel.summary()` method, which prints human-readable summary of the model, has been added. - * The random number generator of package has been replaced with `EigenRand`_. It speeds up the random number generation and solves the result difference between platforms. + * The random number generator of package has been replaced with [EigenRand]. It speeds up the random number generation and solves the result difference between platforms. * Due to above, even if `seed` is the same, the model training result may be different from the version before 0.9.0. * Fixed a training error in `tomotopy.HDPModel`. * `tomotopy.DMRModel.alpha` now shows Dirichlet prior of per-document topic distribution by metadata. @@ -311,7 +311,7 @@ History * `tomotopy.MGLDAModel.get_count_by_topics()` now returns the word count for both global and local topics. * `tomotopy.PAModel.alpha`, `tomotopy.PAModel.subalpha`, and `tomotopy.PAModel.get_count_by_super_topic()` have been added. -.. _EigenRand: https://github.com/bab2min/EigenRand +[EigenRand]: https://github.com/bab2min/EigenRand * 0.8.2 (2020-07-14) * New properties `tomotopy.DTModel.num_timepoints` and `tomotopy.DTModel.num_docs_by_timepoint` have been added.