| 1 |
.. -*- rst -*- |
| 2 |
|
| 3 |
.. groonga-command |
| 4 |
.. database: commands_tokenizer_list |
| 5 |
|
| 6 |
``tokenizer_list`` |
| 7 |
================== |
| 8 |
|
| 9 |
Summary |
| 10 |
------- |
| 11 |
|
| 12 |
``tokenizer_list`` command lists tokenizers in a database. |
| 13 |
|
| 14 |
Syntax |
| 15 |
------ |
| 16 |
|
| 17 |
This command takes no parameters:: |
| 18 |
|
| 19 |
tokenizer_list |
| 20 |
|
| 21 |
Usage |
| 22 |
----- |
| 23 |
|
| 24 |
Here is a simple example. |
| 25 |
|
| 26 |
.. groonga-command |
| 27 |
.. include:: ../../example/reference/commands/tokenizer_list/simple_example.log |
| 28 |
.. tokenizer_list |
| 29 |
|
| 30 |
It returns tokenizers in a database. |
| 31 |
|
| 32 |
Return value |
| 33 |
------------ |
| 34 |
|
| 35 |
``tokenizer_list`` command returns tokenizers. Each tokenizers has an attribute |
| 36 |
that contains the name. The attribute will be increased in the feature:: |
| 37 |
|
| 38 |
[HEADER, tokenizers] |
| 39 |
|
| 40 |
``HEADER`` |
| 41 |
|
| 42 |
See :doc:`/reference/command/output_format` about ``HEADER``. |
| 43 |
|
| 44 |
``tokenizers`` |
| 45 |
|
| 46 |
``tokenizers`` is an array of tokenizer. Tokenizer is an object that has the following |
| 47 |
attributes. |
| 48 |
|
| 49 |
.. list-table:: |
| 50 |
:header-rows: 1 |
| 51 |
|
| 52 |
* - Name |
| 53 |
- Description |
| 54 |
* - ``name`` |
| 55 |
- Tokenizer name. |
| 56 |
|
| 57 |
See also |
| 58 |
-------- |
| 59 |
|
| 60 |
* :doc:`/reference/tokenizers` |
| 61 |
* :doc:`/reference/commands/tokenize` |