Skip to content

Commit 8dafab7

Browse files
authored
Merge pull request #1289 from PyThaiNLP/copilot/check-issue-1030-status
Fix type annotation in _find_word_boundaries docstring
2 parents a498d65 + 4847bb7 commit 8dafab7

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)