Skip to content
HALOWERK

Text Tools

corpus bigram association table

Return observed bigram counts, PMI, t-scores and likelihood-ratio association values.

POST https://text.halowerk.com/v1/corpus-bigram-association-table

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
textsarrayYes
min_countintegerYes
limitintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "texts": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 4096,
        "minLength": 1
      },
      "maxItems": 16,
      "minItems": 1
    },
    "min_count": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100000
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 128
    }
  },
  "required": [
    "texts",
    "min_count",
    "limit"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "texts": [
    "red blue red blue"
  ],
  "min_count": 2,
  "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 →