Apache OpenNLP · Capability

Apache OpenNLP Tools API — Parsing

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

Run with Naftiko Apache OpennlpParsing

What You Can Do

POST
Parsetext — Apache OpenNLP Parse Text
/v1/parse

MCP Tools

apache-opennlp-parse-text

Apache OpenNLP Parse Text

Capability Spec

tools-parsing.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Apache OpenNLP Tools API — Parsing
  description: 'Apache OpenNLP Tools API — Parsing. 1 operations. Lead operation: Apache OpenNLP Parse Text. Self-contained
    Naftiko capability covering one Apache Opennlp business surface.'
  tags:
  - Apache Opennlp
  - Parsing
  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-parsing
    baseUri: https://{host}/opennlp
    description: Apache OpenNLP Tools API — Parsing business capability. Self-contained, no shared references.
    resources:
    - name: parse
      path: /parse
      operations:
      - name: parsetext
        method: POST
        description: Apache OpenNLP Parse 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-parsing-rest
    port: 8080
    description: REST adapter for Apache OpenNLP Tools API — Parsing. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/parse
      name: parse
      description: REST surface for parse.
      operations:
      - method: POST
        name: parsetext
        description: Apache OpenNLP Parse Text
        call: tools-parsing.parsetext
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: tools-parsing-mcp
    port: 9090
    transport: http
    description: MCP adapter for Apache OpenNLP Tools API — Parsing. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: apache-opennlp-parse-text
      description: Apache OpenNLP Parse Text
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: tools-parsing.parsetext
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.