Skip to content

Commit 4847bb7

Browse files
Copilotbact
andcommitted
Fix type annotation in _find_word_boundaries docstring
Co-authored-by: bact <128572+bact@users.noreply.github.com>
1 parent d321074 commit 4847bb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythainlp/benchmarks/word_tokenization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ def _binary_representation(txt: str, verbose: bool = False) -> "np.ndarray":
246246
def _find_word_boundaries(bin_reps: "np.ndarray") -> list[tuple[int, int]]:
247247
"""Find the starting and ending location of each word.
248248
249-
:param str bin_reps: binary representation of a text
249+
:param numpy.ndarray bin_reps: binary representation of a text
250250
251251
:return: list of tuples (start, end)
252252
:rtype: list[tuple[int, int]]

0 commit comments

Comments
 (0)