All Products
Search
Document Center

UserAnalyzer

Last Updated: Sep 09, 2021

Description

The information about a custom analyzer.

Example

{
    "id": 1234,
    "name": "kevin_test2",
    "business": "chn_standard",
    "dicts": [{
        "id": 123,
        "type": "segment",
        "entriesLimit": 4,
        "entriesCount": -1,
        "available": false,
        "created": 1588054131,
        "updated": 1588054131
    }],
    "available": true,
    "created": 1588054131,
    "updated": 1588054131
}

Structure

Field

Type

Description

id

Integer

The ID of the custom analyzer.

name

String

The name of the custom analyzer.

business

String

The built-in analyzer based on which the custom analyzer is created. Valid values:- chn_standard: a common analyzer for Chinese text- chn_scene_name: an analyzer for person names in Chinese- chn_ecommerce: an analyzer for Chinese text from the E-commerce industry- chn_it_content: an analyzer for IT-related text

dicts[]

Object

The custom dictionaries for analysis. For more information, see UserDict.

available

Boolean

Indicates whether the custom analyzer is available.

created

Integer

The timestamp when the custom analyzer was created.

updated

Integer

The timestamp when the custom analyzer was last updated.