Skip to content

Commit 686bcd0

Browse files
authored
change Thai tonal word checker params desctiption
1 parent 243f73e commit 686bcd0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pythainlp/khavee/core.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,8 @@ def check_aek_too(self, text: Union[List[str], str], dead_syllable_as_aek:bool =
417417
"""
418418
Thai tonal word checker
419419
420-
:param str or list[str] text: Thai word or list of Thai words, bool dead_syllable_as_aek: if True, dead syllable will be considered as aek
420+
:param Union[List[str], str] text: Thai word or list of Thai words
421+
:param bool dead_syllable_as_aek: if True, dead syllable will be considered as aek
421422
:return: the check if the word is aek or too or False(not both) or list of the check if input is list
422423
:rtype: Union[List[bool], List[str], bool, str]
423424

0 commit comments

Comments
 (0)