Part-of-speech tagging
pos_tagSegment Chinese text and assign a part-of-speech tag to every word, enabling grammatical analysis and downstream NLP tasks.
Instructions
Segment Chinese text and tag each word with its part of speech.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "pos_tag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hmm | No | Use the HMM model to discover words not in the dictionary. | |
| text | Yes | Chinese text to process. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| tokens | Yes |