From 0f890c0b9029c66603740b0f43ce4d06e1eaff8c Mon Sep 17 00:00:00 2001 From: Wannaphong Phatthiyaphaibun Date: Fri, 5 Aug 2022 20:31:59 +0700 Subject: [PATCH] Fixed thai_word_tone_detector docs --- pythainlp/util/thai.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pythainlp/util/thai.py b/pythainlp/util/thai.py index 66fbb7312..333739c0e 100644 --- a/pythainlp/util/thai.py +++ b/pythainlp/util/thai.py @@ -164,10 +164,10 @@ def thai_word_tone_detector(word: str) -> Tuple[str, str]: It use pythainlp.transliterate.pronunciate for convert word to\ pronunciation. - :param str syllable: Thai word. + :param str word: Thai word. :return: Thai pronunciation with tone each syllables.\ (l, m, h, r, f or empty if it cannot detector) - :rtype: str + :rtype: Tuple[str, str] :Example: ::