Icu Expand Selection To Words
Word selection expands a nonempty UTF-16 selection to the complete words it intersects. Use it when an agent needs a whole-word selection for localized highlighting.
POST https://text.halowerk.com/v1/icu-expand-selection-to-words
0.005 USDC on Base · payTo 0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E
Status: verified · payable
Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.
Settlement: direct to the seller's payTo — 0% HIVE402 take
Payment routes
{
"end": 11,
"locale": "en",
"start": 2,
"text": "Operating systems. Library management system."
}{
"data": {
"end": 17,
"matched": true,
"selection": "Operating systems",
"start": 0
},
"limitations": "Local ICU segmentation of supplied text. Offsets count UTF-16 code units. Locale and installed Unicode version affect boundaries.",
"measured_at": "2026-11-19T10:54:26.834Z",
"source": {
"reference": "https://tc39.es/ecma402/#sec-intl-segmenter-objects",
"retrieved_at": "2026-11-19T10:54:26.834Z"
}
}Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact
SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans
Agent intel 
| Trust score | pending / 100 · breakdown |
|---|---|
| Probe uptime (30d) | — over 0 probes · daily |
| Avg 402 latency | — ms |
| Paid calls (30d, on-chain) | 0 calls · 0 buyers |
How to call
POST https://text.halowerk.com/v1/icu-expand-selection-to-words · input in body · spec from live-challenge
Input schema
{
"type": "object",
"properties": {
"text": {
"type": "string",
"maxLength": 7000,
"minLength": 1
},
"locale": {
"type": "string",
"maxLength": 45,
"minLength": 1
},
"start": {
"type": "integer",
"minimum": 0,
"maximum": 7000
},
"end": {
"type": "integer",
"minimum": 1,
"maximum": 7000
}
},
"required": [
"text",
"start",
"end"
],
"additionalProperties": false
}Output schema
{
"type": "object"
}curl -i -X POST 'https://text.halowerk.com/v1/icu-expand-selection-to-words' \
-H 'content-type: application/json' -d '{"text":"Operating systems. Library management system.","locale":"en","start":2,"end":11}'
Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs