Skip to content
HALOWERK

Text Tools

corpus reference keyness g2

Return signed word keyness against a supplied reference text using2x2 likelihood ratios.

POST https://text.halowerk.com/v1/corpus-reference-keyness-g2

Inputs

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

Open original schema

Published input example

{
  "target": "red red blue",
  "reference": "red blue blue",
  "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 →