7.3.71. tokenizer_list — Groonga v16.0.5 documentation

Skip to main content
`Ctrl`+`K`

# 7.3.71. `tokenizer_list`

## 7.3.71.1. Summary

`tokenizer_list` command lists tokenizers in a database.

## 7.3.71.2. Syntax

This command takes no parameters:

    tokenizer_list

## 7.3.71.3. Usage

Here is a simple example.

Execution example:

    tokenizer_list
    # [
    #   [
    #     0,
    #     1337566253.89858,
    #     0.000355720520019531
    #   ],
    #   [
    #     {
    #       "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"
    #     },
    #     {
    #       "name": "TokenRegexp"
    #     },
    #     {
    #       "name": "TokenNgram"
    #     },
    #     {
    #       "name": "TokenPattern"
    #     },
    #     {
    #       "name": "TokenTable"
    #     },
    #     {
    #       "name": "TokenDocumentVectorTFIDF"
    #     },
    #     {
    #       "name": "TokenDocumentVectorBM25"
    #     }
    #   ]
    # ]

It returns tokenizers in a database.

## 7.3.71.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.71.5. See also

- Tokenizers

- tokenize