Get morphological analysis options - available languages
    • PDF

    Get morphological analysis options - available languages

    • PDF

    Article summary

    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

    FieldTypeDescriptionNote
    [].languagestringLanguage on which morphological analysis can be performed
    [].typestringIndexProcessor type of the language option
    [].methodstringIndexProcessor method of the language option
    [].optionstringIndexProcessor option of the language option

    Response status

    HTTP statusDescription
    200OK (Successfully completed)
    400Bad Request
    401Unauthorized
    403Forbidden
    404Not Found
    500Internal 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"
      }
    ]
    

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.