Cloudmersive Segmentation API

Segmentation operations of the Cloudmersive Natural Language Processing (NLP) API v2 — 2 operation(s) served from https://api.cloudmersive.com and authenticated with the Apikey header. One Cloudmersive API key grants access to every API in the portfolio.

Operations 2

POST /nlp-v2/segmentation/sentences Extract sentences from string #
POST /nlp-v2/segmentation/words Get words in input string #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/cloudmersive:cloudmersive-segmentation-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

cloudmersive-segmentation-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: v1
  title: nlpapiv2 Segmentation API
  description: The powerful Natural Language Processing APIs (v2) let you perform part of speech tagging, entity identification, sentence parsing, and much more to help you understand the meaning of unstructured text.
servers:
- url: https://testapi.cloudmersive.com
tags:
- name: Segmentation
paths:
  /nlp-v2/segmentation/sentences:
    post:
      tags:
      - Segmentation
      summary: Extract sentences from string
      description: Segment an input string into separate sentences, output result as a string.
      operationId: Segmentation_GetSentences
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SentenceSegmentationResponse'
      security:
      - Apikey: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SentenceSegmentationRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/SentenceSegmentationRequest'
          application/xml:
            schema:
              $ref: '#/components/schemas/SentenceSegmentationRequest'
          text/xml:
            schema:
              $ref: '#/components/schemas/SentenceSegmentationRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/SentenceSegmentationRequest'
        description: Input string
        required: true
  /nlp-v2/segmentation/words:
    post:
      tags:
      - Segmentation
      summary: Get words in input string
      description: Get the component words in an input string
      operationId: Segmentation_GetWords
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetWordsResponse'
      security:
      - Apikey: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetWordsRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/GetWordsRequest'
          application/xml:
            schema:
              $ref: '#/components/schemas/GetWordsRequest'
          text/xml:
            schema:
              $ref: '#/components/schemas/GetWordsRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/GetWordsRequest'
        description: String to process
        required: true
components:
  schemas:
    WordPosition:
      type: object
      properties:
        Word:
          description: Word as a string
          type: string
        WordIndex:
          format: int32
          description: Zero-based index of the word; first word has index 0, second word has index 1 and so on
          type: integer
        StartPosition:
          format: int32
          description: Zero-based character offset at which the word begins in the input string
          type: integer
        EndPosition:
          format: int32
          description: Zero-based character offset at which the word ends in the input string
          type: integer
    GetWordsResponse:
      description: Words in input string
      type: object
      properties:
        Words:
          description: Array of words
          type: array
          items:
            $ref: '#/components/schemas/WordPosition'
    GetWordsRequest:
      type: object
      properties:
        InputText:
          type: string
    SentenceSegmentationRequest:
      type: object
      properties:
        InputString:
          type: string
    SentenceSegmentationResponse:
      type: object
      properties:
        Successful:
          type: boolean
        Sentences:
          type: array
          items:
            type: string
        SentenceCount:
          format: int32
          type: integer
  securitySchemes:
    Apikey:
      type: apiKey
      description: API Key Authentication
      name: Apikey
      in: header
x-provenance:
  method: harvested
  publisher: Cloudmersive
  source: https://api-console.cloudmersive.com/swagger/api/spec/nlpv2
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)