8.3.33. tokenizer_list

8.3.33.1. Summary

tokenizer_list command lists tokenizers in a database.

8.3.33.2. Syntax

tokenizer_list command takes no parameter.

tokenizer_list

8.3.33.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.

8.3.33.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, tokenizer]

HEADER

See Output format about HEADER.

tokenizer

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

Name Description
name Tokenizer name.

8.3.33.5. See also