---
title: "Runs morphological analysis on input"
method: POST
path: "/morphology/{morphoFeature}"
tags: ["morphology"]
---

# Runs morphological analysis on input

`POST /morphology/{morphoFeature}`

## Request

- Base URL: `https://api.rosette.com/rest/v1`
- URL: `https://api.rosette.com/rest/v1/morphology/{morphoFeature}`
- Auth: API key in header `X-RosetteAPI-Key`

Returns morphological analysis of input. The response may include lemmas, part of speech tags, compound word components, and Han readings. Support for specific return types depends on language.

## Path parameters

- `morphoFeature` 'complete' | 'lemmas' | 'parts-of-speech' | 'compound-components' | 'han-readings', required

## Request body

- union
  - object
    - `content` string
    - `language` string: 3 letter code of language.
    - `options` object
      - `modelType` 'default' | 'perceptron' | 'DNN': Model type to use for Chinese, Japanese, Korean, or Thai. For Korean input without spaces, use `DNN`. For Chinese, Japanese, and Thai, use `perceptron` for an alternative algorithm
      - `disambiguatorType` 'perceptron' | 'DNN' | 'dictionary': For Hebrew only, determines disambiguator used. Default is `perceptron`. `DNN` is a deep nueral network model.
  - object
    - `contentUri` string
    - `language` string: 3 letter code of language.
    - `options` object
      - `modelType` 'default' | 'perceptron' | 'DNN': Model type to use for Chinese, Japanese, Korean, or Thai. For Korean input without spaces, use `DNN`. For Chinese, Japanese, and Thai, use `perceptron` for an alternative algorithm
      - `disambiguatorType` 'perceptron' | 'DNN' | 'dictionary': For Hebrew only, determines disambiguator used. Default is `perceptron`. `DNN` is a deep nueral network model.

## Response `200`

OK

- MorphologyResponse
  - `compounds` array[]: list of compounds
    - string[]
  - `hanReadings` array[]: list of Han Readings
    - string[]
  - `lemmas` string[]: list of lemmas
  - `posTags` string[]: list of part of speech tags

---

[API](https://skmtc.dev/babelstreet/apis/rosette-text-analytics.md) · [All operations](https://skmtc.dev/babelstreet/apis/rosette-text-analytics/llms.txt) · [OpenAPI document](https://skmtc.dev/babelstreet/apis/rosette-text-analytics/revisions/7c1d1497a5dd?raw)
