| 1 |
.. -*- rst -*- |
| 2 |
|
| 3 |
Summary |
| 4 |
======= |
| 5 |
|
| 6 |
Groonga has token filter module that some processes tokenized token. |
| 7 |
|
| 8 |
Token filter module can be added as a plugin. |
| 9 |
|
| 10 |
You can customize tokenized token by registering your token filters plugins to Groonga. |
| 11 |
|
| 12 |
A table can have zero or more token filters. You can attach token |
| 13 |
filters to a table by :ref:`table-create-token-filters` option in |
| 14 |
:doc:`/reference/commands/table_create`. |
| 15 |
|
| 16 |
Here is an example ``table_create`` that uses ``TokenFilterStopWord`` |
| 17 |
token filter module: |
| 18 |
|
| 19 |
.. groonga-command |
| 20 |
.. database: token_filters_example |
| 21 |
.. include:: ../../example/reference/token_filters/example-table-create.log |
| 22 |
.. plugin_register token_filters/stop_word |
| 23 |
.. table_create Terms TABLE_PAT_KEY ShortText \ |
| 24 |
.. --default_tokenizer TokenBigram \ |
| 25 |
.. --normalizer NormalizerAuto \ |
| 26 |
.. --token_filters TokenFilterStopWord |
| 27 |
|
| 28 |
See also |
| 29 |
-------- |
| 30 |
|
| 31 |
* :doc:`/reference/commands/table_create` |