| 1 |
#@omit "tokenized delimiter is disabled for now." |
| 2 |
|
| 3 |
#@on-error omit |
| 4 |
plugin_register tokenizers/kytea |
| 5 |
#@on-error default |
| 6 |
|
| 7 |
table_create Memos TABLE_NO_KEY |
| 8 |
column_create Memos content COLUMN_SCALAR Text |
| 9 |
|
| 10 |
table_create Terms TABLE_PAT_KEY ShortText \ |
| 11 |
--default_tokenizer TokenKytea |
| 12 |
column_create Terms memos_content COLUMN_INDEX Memos content |
| 13 |
|
| 14 |
load --table Memos |
| 15 |
[ |
| 16 |
{"content": "Th\uFFFEis is a p\uFFFEen."}, |
| 17 |
{"content": "これは\uFFFEペン\uFFFEです。"} |
| 18 |
] |
| 19 |
|
| 20 |
select Terms --output_columns _key --limit -1 |