doc/source/example/reference/tokenizers/token-unigram.log
raw| 1 | Execution example:: |
| 2 | |
| 3 | tokenize TokenUnigram "100cents!!!" NormalizerAuto |
| 4 | # [ |
| 5 | # [ |
| 6 | # 0, |
| 7 | # 1337566253.89858, |
| 8 | # 0.000355720520019531 |
| 9 | # ], |
| 10 | # [ |
| 11 | # { |
| 12 | # "position": 0, |
| 13 | # "force_prefix": false, |
| 14 | # "value": "100" |
| 15 | # }, |
| 16 | # { |
| 17 | # "position": 1, |
| 18 | # "force_prefix": false, |
| 19 | # "value": "cents" |
| 20 | # }, |
| 21 | # { |
| 22 | # "position": 2, |
| 23 | # "force_prefix": false, |
| 24 | # "value": "!!!" |
| 25 | # } |
| 26 | # ] |
| 27 | # ] |