doc/source/example/reference/tokenizers/token-mecab-target-class-option-complex.log
raw| 1 | Execution example:: |
| 2 | |
| 3 | tokenize 'TokenMecab("target_class", "-名詞/非自立", "target_class", "-名詞/接尾/人名", "target_class", "名詞")' '彼の名前は山田さんのはずです。' |
| 4 | # [ |
| 5 | # [ |
| 6 | # 0, |
| 7 | # 1337566253.89858, |
| 8 | # 0.000355720520019531 |
| 9 | # ], |
| 10 | # [ |
| 11 | # { |
| 12 | # "value": "彼", |
| 13 | # "position": 0, |
| 14 | # "force_prefix": false, |
| 15 | # "force_prefix_search": false |
| 16 | # }, |
| 17 | # { |
| 18 | # "value": "名前", |
| 19 | # "position": 1, |
| 20 | # "force_prefix": false, |
| 21 | # "force_prefix_search": false |
| 22 | # }, |
| 23 | # { |
| 24 | # "value": "山田", |
| 25 | # "position": 2, |
| 26 | # "force_prefix": false, |
| 27 | # "force_prefix_search": false |
| 28 | # } |
| 29 | # ] |
| 30 | # ] |