groonga - An open-source fulltext search engine and column store.

7.3.42. tokenizer_list

7.3.42.1. Summary

tokenizer_list command lists tokenizers in a database.

7.3.42.2. Syntax

tokenizer_list command takes no parameter.

tokenizer_list

7.3.42.3. Usage

Here is a simple example.

Execution example:

tokenizer_list
# [
#   [
#     0,
#     0.0,
#     0.0
#   ],
#   [
#     {
#       "name": "TokenMecab"
#     },
#     {
#       "name": "TokenDelimit"
#     },
#     {
#       "name": "TokenUnigram"
#     },
#     {
#       "name": "TokenBigram"
#     },
#     {
#       "name": "TokenTrigram"
#     },
#     {
#       "name": "TokenBigramSplitSymbol"
#     },
#     {
#       "name": "TokenBigramSplitSymbolAlpha"
#     },
#     {
#       "name": "TokenBigramSplitSymbolAlphaDigit"
#     },
#     {
#       "name": "TokenBigramIgnoreBlank"
#     },
#     {
#       "name": "TokenBigramIgnoreBlankSplitSymbol"
#     },
#     {
#       "name": "TokenBigramIgnoreBlankSplitSymbolAlpha"
#     },
#     {
#       "name": "TokenBigramIgnoreBlankSplitSymbolAlphaDigit"
#     },
#     {
#       "name": "TokenDelimitNull"
#     }
#   ]
# ]

It returns tokenizers in a database.

7.3.42.4. Return value

tokenizer_list command returns tokenizers. Each tokenizers has an attribute that contains the name. The attribute will be increased in the feature:

[HEADER, tokenizers]

HEADER

See Output format about HEADER.

tokenizers

tokenizers is an array of tokenizer. Tokenizer is an object that has the following attributes.

Name Description
name Tokenizer name.

7.3.42.5. See also

Table Of Contents

Previous topic

7.3.41. tokenize

Next topic

7.3.43. truncate

This Page