Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pythainlp/benchmarks/word_tokenization.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def _binary_representation(txt: str, verbose: bool = False) -> "np.ndarray":
def _find_word_boundaries(bin_reps: "np.ndarray") -> list[tuple[int, int]]:
"""Find the starting and ending location of each word.

:param str bin_reps: binary representation of a text
:param numpy.ndarray bin_reps: binary representation of a text

:return: list of tuples (start, end)
:rtype: list[tuple[int, int]]
Expand Down
Loading