Leiden System Bracket Pair Validator ([ ])

Validate square-bracket pairing and nesting in a Leiden-system transcription, counting bracket pairs, maximum nesting depth, and reporting the zero-based character position of the first unmatched bracket (-1 when balanced).

Description

Validate square-bracket pairing and nesting in a Leiden-system transcription, counting bracket pairs, maximum nesting depth, and reporting the zero-based character position of the first unmatched bracket (-1 when balanced).

Leiden System Bracket Pair Validator ([ ]): Validate square-bracket pairing and nesting in a Leiden-system transcription, counting bracket pairs, maximum nesting depth, and reporting the zero-based character position of the first unmatched bracket (-1 when balanced).

When to use Leiden System Bracket Pair Validator ([ ])

Use this epigraphic utility to apply a stated parsing, transcription, measurement, dating, classification, or documentation rule consistently while preparing inscriptions for scholarly review.

Transcription
Leiden transcription containing square brackets.

How Leiden System Bracket Pair Validator ([ ]) works

Validate square-bracket pairing and nesting in a Leiden-system transcription, counting bracket pairs, maximum nesting depth, and reporting the zero-based character position of the first unmatched bracket (-1 when balanced). The tool evaluates the supplied inputs together and returns the named outputs below; it does not infer omitted operating conditions or change the units shown.1

Balanced
True when every bracket is matched and nested.
Open brackets
Number of opening brackets.
Close brackets
Number of closing brackets.
Max depth
Deepest bracket nesting level reached.
First error
Zero-based position of the first unmatched bracket, -1 if balanced.

Limitations and assumptions

  • Leiden notation is an editorial representation, and projects use extensions or differing policies. Balanced marks do not prove that a restoration or reading is correct; validation must preserve nesting, uncertainty, line structure, and the project's declared profile.
  • Use finite inputs in the displayed units and preserve more precision than the final presentation requires. Independently verify safety-critical, financial, compliance, or production decisions.

Alternative or Complementary approaches

Retain the photograph, squeeze or scan, diplomatic transcription, provenance, dimensions, uncertainty marks, and corpus identifiers with the result. Confirm ambiguous cases against the relevant corpus, Leiden conventions, parallel inscriptions, and specialist judgment.

References

  1. Leiden Conventions — Wikipedia contributors

Similar or alternative tools

  • Leiden Half-Bracket Lacuna Marker Checker ((.))

    Validate Leiden half-bracket corner marks U+231C-U+231F that frame partially preserved letters, counting each corner type and reporting the zero-based position of the first mismatched or unmatched corner (-1 when balanced).

  • Supplied Letters Square Bracket Counter

    Count the letters an editor has restored inside square brackets of a Leiden transcription, tallying bracket pairs and every alphabetic character (Latin or Greek) found between brackets.

  • Editorial Crux Dagger Marker Flag Checker

    Flag crux translationis daggers (U+2020) in an editorial transcription, reporting their count and zero-based character positions.

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies