|
5 | 5 | <head> |
6 | 6 | <meta charset="utf-8" /> |
7 | 7 | <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
8 | | - <title>pythainlp.benchmarks.word_tokenization — PyThaiNLP a498d65 documentation</title> |
| 8 | + <title>pythainlp.benchmarks.word_tokenization — PyThaiNLP 8dafab7 documentation</title> |
9 | 9 | <link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=03e43079" /> |
10 | 10 | <link rel="stylesheet" type="text/css" href="../../../_static/css/theme.css?v=9edc463e" /> |
11 | 11 | <link rel="stylesheet" type="text/css" href="../../../_static/copybutton.css?v=76b2166b" /> |
|
14 | 14 |
|
15 | 15 | <script src="../../../_static/jquery.js?v=5d32c60e"></script> |
16 | 16 | <script src="../../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script> |
17 | | - <script src="../../../_static/documentation_options.js?v=1cb812de"></script> |
| 17 | + <script src="../../../_static/documentation_options.js?v=c5026a07"></script> |
18 | 18 | <script src="../../../_static/doctools.js?v=fd6eb6e6"></script> |
19 | 19 | <script src="../../../_static/sphinx_highlight.js?v=6ffebe34"></script> |
20 | 20 | <script src="../../../_static/clipboard.min.js?v=a7894cd8"></script> |
@@ -366,7 +366,7 @@ <h1>Source code for pythainlp.benchmarks.word_tokenization</h1><div class="highl |
366 | 366 | <span class="k">def</span><span class="w"> </span><span class="nf">_find_word_boundaries</span><span class="p">(</span><span class="n">bin_reps</span><span class="p">:</span> <span class="s2">"np.ndarray"</span><span class="p">)</span> <span class="o">-></span> <span class="nb">list</span><span class="p">[</span><span class="nb">tuple</span><span class="p">[</span><span class="nb">int</span><span class="p">,</span> <span class="nb">int</span><span class="p">]]:</span> |
367 | 367 | <span class="w"> </span><span class="sd">"""Find the starting and ending location of each word.</span> |
368 | 368 |
|
369 | | -<span class="sd"> :param str bin_reps: binary representation of a text</span> |
| 369 | +<span class="sd"> :param numpy.ndarray bin_reps: binary representation of a text</span> |
370 | 370 |
|
371 | 371 | <span class="sd"> :return: list of tuples (start, end)</span> |
372 | 372 | <span class="sd"> :rtype: list[tuple[int, int]]</span> |
|
0 commit comments