Skip to content
HALOWERK

Text Tools

corpus zipf rank fit

Return word frequency ranks and the descriptive log-log Zipf exponent.

POST https://text.halowerk.com/v1/corpus-zipf-rank-fit

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
textstringYes
limitintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "maxLength": 12000,
      "minLength": 1
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 128
    }
  },
  "required": [
    "text",
    "limit"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "text": "red red red red blue blue green",
  "limit": 10
}

Result & documentation

Machine-readable documentation of this hub

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

More endpoints in this hub

All endpoints in this hub →