Text Processing
Run explainable local tokenization, sentence splitting, stopword, lemma, stem, entity and n-gram annotation with JSONL or CoNLL export.
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/text-nlp-annotation-workbench' \
-H 'Content-Type: application/json' \
-d '{"textInput":"The quick fox emailed [email protected].","language":"en","outputFormat":"json","removeStopwords":true,"stemming":true,"lemmatize":true,"entityDetection":true,"ngramSize":2}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/text-nlp-annotation-workbench| Name | Type | Required | Description |
|---|---|---|---|
| textInput | textarea | Yes | — |
| language | select | No | — |
| outputFormat | select | No | — |
| removeStopwords | checkbox | No | — |
| stemming | checkbox | No | — |
| lemmatize |
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-text-nlp-annotation-workbench": {
"name": "text-nlp-annotation-workbench",
"description": "Run explainable local tokenization, sentence splitting, stopword, lemma, stem, entity and n-gram annotation with JSONL or CoNLL export.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=text-nlp-annotation-workbench",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "text-nlp-annotation-workbench",
"arguments": {
"textInput": "The quick fox emailed [email protected].",
"language": "en",
"outputFormat": "json",
"removeStopwords": true,
"stemming": true,
"lemmatize": true,
"entityDetection": true,
"ngramSize": 2
}
}
}Questions or issues? Contact [email protected]
| checkbox |
| No |
| — |
| entityDetection | checkbox | No | — |
| ngramSize | number | No | — |
JSON result
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}