Skip to content

Commit 00a22d5

Browse files
authored
Correct docstring return type for analyze_thai_text function
Fix return type in docstring from list to dict.
1 parent 8baf9d8 commit 00a22d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythainlp/util/thai.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ def analyze_thai_text(text: str) -> dict:
327327
character to its descriptive name or itself (for consonants and digits).
328328
329329
:param str text: The Thai text string to be analyzed.
330-
:rtype: list[dict]
330+
:rtype: dict
331331
:return: A dictionaries, with each item containing
332332
a single character and a count of 1.
333333

0 commit comments

Comments
 (0)