Skip to content

Commit dd4f0a1

Browse files
authored
Fixing thai tonal checker type description
1 parent 8d9e319 commit dd4f0a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pythainlp/khavee/core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,8 +412,8 @@ def check_klon(self, text: str,k_type: int=8) -> Union[List[str], str]:
412412
def check_aek_too(self, text: Union[List[str], str], dead_syllable_as_aek:bool = False) -> Union[List[bool], List[str], bool, str]:
413413
"""
414414
Thai tonal word checker
415-
416-
:param str or list[str] text: Thai word or list of Thai words
415+
:param Union[List[str], str] text: Thai word or list of Thai words
416+
:param bool dead_syllable_as_aek: if True, dead syllable will be considered as aek
417417
:return: the check if the word is aek or too or False(not both) or list of the check if input is list
418418
:rtype: Union[List[bool], List[str], bool, str]
419419

0 commit comments

Comments
 (0)