Zum Inhalt
HALOWERK

Datenvertragswerk

lz78 phrase dictionary ledger

For an original word of0..48symbols each0..15, reconstruct every LZ78 phrase boundary, prefix-index/next-symbol pair, dictionary entry and independent decoded word. Dictionary starts at index0 empty; longest existing prefix extends by next symbol. Explicit local EOF convention: if the remaining suffix already exists, emit(prefix,null), no new dictionary entry. Check entire claimed pairlist; missing word/claim unknown with known results retained. This is symbolic LZ78 encoding, no bit.

POST https://datenvertrag.halowerk.com/v1/lz78-phrase-dictionary-ledger

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
wordSiehe SchemaJa
claimed_pairsSiehe SchemaJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "word",
    "claimed_pairs"
  ],
  "properties": {
    "word": {
      "anyOf": [
        {
          "type": "array",
          "maxItems": 48,
          "items": {
            "type": "integer",
            "minimum": 0,
            "maximum": 15
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "claimed_pairs": {
      "anyOf": [
        {
          "type": "array",
          "maxItems": 48,
          "items": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "prefix",
              "symbol"
            ],
            "properties": {
              "prefix": {
                "type": "integer",
                "minimum": 0,
                "maximum": 48
              },
              "symbol": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 15
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            }
          }
        },
        {
          "type": "null"
        }
      ]
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "word": [
    0,
    1,
    0,
    1,
    0,
    1
  ],
  "claimed_pairs": [
    {
      "prefix": 0,
      "symbol": 0
    },
    {
      "prefix": 0,
      "symbol": 1
    },
    {
      "prefix": 1,
      "symbol": 1
    },
    {
      "prefix": 3,
      "symbol": null
    }
  ]
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-07, 02:42 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →