Skip to content
HALOWERK

Text Tools

icu sentence terminal marks

Sentence punctuation returns a histogram of terminal marks at detected sentence boundaries. Use it when an agent needs an editorial check of localized sentence endings.

POST https://text.halowerk.com/v1/icu-sentence-terminal-marks

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
textstringYes
localestringNo
Show full input schema
{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "maxLength": 7000,
      "minLength": 1
    },
    "locale": {
      "type": "string",
      "maxLength": 45,
      "minLength": 1
    }
  },
  "required": [
    "text"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "text": "Operating systems. Library management system.",
  "locale": "en"
}

Result & documentation

Show published result schema
{
  "type": "object",
  "required": [
    "measured_at",
    "source",
    "data",
    "limitations"
  ],
  "properties": {
    "measured_at": {
      "type": "string"
    },
    "source": {
      "type": "object",
      "required": [
        "reference",
        "retrieved_at"
      ],
      "properties": {
        "reference": {
          "type": "string"
        },
        "retrieved_at": {
          "type": "string"
        }
      }
    },
    "data": {
      "type": "object",
      "properties": {
        "sentences": {
          "type": "integer"
        },
        "marks": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "mark": {
                "type": "string"
              },
              "count": {
                "type": "integer"
              }
            },
            "required": [
              "mark",
              "count"
            ]
          }
        }
      },
      "required": [
        "sentences",
        "marks"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-20 UTC.

More endpoints in this hub

All endpoints in this hub →