Skip to content
HALOWERK

Text Tools

corpus ibm1 translation em

Return bounded IBM1 EM conditional probabilities from supplied tokenized sentence pairs.

POST https://text.halowerk.com/v1/corpus-ibm1-translation-em

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
pairsarrayYes
iterationsintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "pairs": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "source": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 32,
              "minLength": 1
            },
            "maxItems": 32,
            "minItems": 1
          },
          "target": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 32,
              "minLength": 1
            },
            "maxItems": 32,
            "minItems": 1
          }
        },
        "required": [
          "source",
          "target"
        ],
        "additionalProperties": false
      },
      "maxItems": 16,
      "minItems": 1
    },
    "iterations": {
      "type": "integer",
      "minimum": 1,
      "maximum": 10
    }
  },
  "required": [
    "pairs",
    "iterations"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "pairs": [
    {
      "source": [
        "cat"
      ],
      "target": [
        "Katze"
      ]
    }
  ],
  "iterations": 2
}

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 →