Apache OpenNLP · Capability

Apache OpenNLP Tools API — Lemmatization

Apache OpenNLP Tools API — Lemmatization. 1 operations. Lead operation: Apache OpenNLP Lemmatize Text. Self-contained Naftiko capability covering one Apache Opennlp business surface.

Run with Naftiko Apache OpennlpLemmatization

What You Can Do

POST
Lemmatize — Apache OpenNLP Lemmatize Text
/v1/lemmatize

MCP Tools

apache-opennlp-lemmatize-text

Apache OpenNLP Lemmatize Text

Capability Spec

tools-lemmatization.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Apache OpenNLP Tools API — Lemmatization
  description: 'Apache OpenNLP Tools API — Lemmatization. 1 operations. Lead operation: Apache OpenNLP Lemmatize Text. Self-contained
    Naftiko capability covering one Apache Opennlp business surface.'
  tags:
  - Apache Opennlp
  - Lemmatization
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    APACHE_OPENNLP_API_KEY: APACHE_OPENNLP_API_KEY
capability:
  consumes:
  - type: http
    namespace: tools-lemmatization
    baseUri: https://{host}/opennlp
    description: Apache OpenNLP Tools API — Lemmatization business capability. Self-contained, no shared references.
    resources:
    - name: lemmatize
      path: /lemmatize
      operations:
      - name: lemmatize
        method: POST
        description: Apache OpenNLP Lemmatize Text
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
  exposes:
  - type: rest
    namespace: tools-lemmatization-rest
    port: 8080
    description: REST adapter for Apache OpenNLP Tools API — Lemmatization. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/lemmatize
      name: lemmatize
      description: REST surface for lemmatize.
      operations:
      - method: POST
        name: lemmatize
        description: Apache OpenNLP Lemmatize Text
        call: tools-lemmatization.lemmatize
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: tools-lemmatization-mcp
    port: 9090
    transport: http
    description: MCP adapter for Apache OpenNLP Tools API — Lemmatization. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: apache-opennlp-lemmatize-text
      description: Apache OpenNLP Lemmatize Text
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: tools-lemmatization.lemmatize
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.