Get morphological analysis options - available languages

Prev Next

We are preparing a localization service for the content. We will do our best to provide the localization service as soon as possible.

Gets languages on which morphological analysis can be performed.
The result of this operation can be used as an index option to create a domain. You can also use Get morphological analyzer - specific language to set morphological analysis for one or more languages for each index.

GET https://cloudsearch.apigw.ntruss.com/CloudSearch/real/v1/tokenizer

Response

Field Type Description Note
[].language string Language on which morphological analysis can be performed
[].type string IndexProcessor type of the language option
[].method string IndexProcessor method of the language option
[].option string IndexProcessor option of the language option

Response status

HTTP status Description
200 OK (Successfully completed)
400 Bad Request
401 Unauthorized
403 Forbidden
404 Not Found
500 Internal Server Error

Examples

Request Example

GET /CloudSearch/real/v1/tokenizer HTTP/1.1
Host: cloudsearch.apigw.ntruss.com
accept:application/json
x-ncp-iam-access-key: cPMl0CYGgRYvEa8sylCj
x-ncp-apigw-signature-v2: +Ln++MqcKHckKli2y/bB76xLUu8qR9rLvo6j2yIYuYg=
x-ncp-apigw-timestamp: 1551453306138

Request Example

[
  {
    "language": "chinese",
    "type": "hanaterm",
    "method": "sgmt",
    "option": "+china +china_cn +china_tw"
  },
  {
    "language": "english",
    "type": "hanaterm",
    "method": "sgmt",
    "option": "+english +revert"
  },
  {
    "language": "indonesian",
    "type": "hanaterm",
    "method": "sgmt",
    "option": "+indonesian"
  },
  {
    "language": "japanese",
    "type": "hanaterm",
    "method": "sgmt",
    "option": "+japan +josacat +eomicat"
  },
  {
    "language": "korean",
    "type": "hanaterm",
    "method": "sgmt",
    "option": "+korea +josacat +eomicat"
  },
  {
    "language": "thai",
    "type": "hanaterm",
    "method": "sgmt",
    "option": "+thai"
  }
]