Skip to content
HALOWERK

Textwerk

string word break ambiguity

Count dictionary segmentations of supplied text and return a deterministic witness and minimum token count.

POST https://text.halowerk.com/v1/string-word-break-ambiguity

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
textstringYes
dictionaryarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "maxLength": 256
    },
    "dictionary": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 64,
        "minLength": 1
      },
      "maxItems": 100,
      "minItems": 0
    }
  },
  "required": [
    "text",
    "dictionary"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "text": "pineapple",
  "dictionary": [
    "pine",
    "apple",
    "pineapple"
  ]
}

Result & documentation

Machine-readable documentation of this hub

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

More endpoints in this hub

All endpoints in this hub →