Skip to content

Main content

TEI Choice Orig Reg One Pair Tool

Select one explicitly supplied diplomatic or regularized reading without inferring editorial normalization.

Loading tool…

Description

Select original or regularized text from a supplied pair.

Digital editions connect textual witnesses, anchors, page images and source-specific labels. Literal identifier agreement and numerical offsets preserve a supplied convention without proving textual authority, complete coverage or correct editorial interpretation.

Select original or regularized text from a supplied pair.

When to use this tool

Use TEI Choice Orig Reg One Pair when checking supplied edition identifiers, ordering or coordinate conventions.

How to use the tool and how it works

  1. Enter original, regularized, mode. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read text, differs. Inspect differs before interpreting the associated values.

Select original or regularized text from a supplied pair. Accept mode original or regularized; return that text and differs from exact original !== regularized.1

Input fieldMeaning and unitsAccepted input
originalOriginalRequired. Text; maximum UTF-16 length 8192.
regularizedRegularizedRequired. Text; maximum UTF-16 length 8192.
modeModeRequired. Text; one of "original", "regularized"; maximum UTF-16 length 8192.
Output fieldInterpretationReturned shape
textTextRequired. Text; maximum UTF-16 length 8192.
differsDiffersRequired. Boolean.
json
{
  "input": {
    "original": "olde",
    "regularized": "old",
    "mode": "regularized"
  },
  "output": {
    "text": "old",
    "differs": true
  }
}

Limitations and assumptions

  • No regularization is generated, normalized or evaluated for editorial correctness.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.

Alternative or Complementary methods

Inspect the original edition and its encoding model before treating local record agreement as meaningful textual or historical evidence.

References

  1. Calculation and input contract: digital-humanities/tei-choice-orig-reg-one-pair — tool.io

Similar or alternative tools