Skip to content

Main content

Islamic Manuscript Catchword Locator Tool

Compare one supplied catchword with an explicitly identified next-leaf first token; no OCR, Arabic normalization or foliation inference.

Loading tool…

Description

Optionally trim outer whitespace and lowercase both strings.

Source-scoped cultural and historical records preserve an edition, naming convention, or local identifier. Literal agreement is useful bookkeeping but does not establish interpretation, authenticity, or authority.

Optionally trim outer whitespace and lowercase both strings.

When to use this tool

Use Islamic Manuscript Catchword Locator when you need a precise source-token or range consistency check.

How to use the tool and how it works

  1. Enter catchword, nextLeafFirstToken, foldCase, trimSpaces. 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 matches, normalizedCatchword. Inspect matches before interpreting the associated values.

Optionally trim outer whitespace and lowercase both strings. Require the normalized catchword nonempty and compare it exactly with the normalized next-leaf token.1

Input fieldMeaning and unitsAccepted input
catchwordCatchwordRequired. Text; maximum UTF-16 length 8192.
nextLeafFirstTokenNext Leaf First TokenRequired. Text; maximum UTF-16 length 8192.
foldCaseFold CaseRequired. Boolean.
trimSpacesTrim SpacesRequired. Boolean.
Output fieldInterpretationReturned shape
matchesMatchesRequired. Boolean.
normalizedCatchwordNormalized CatchwordRequired. Text; maximum UTF-16 length 8192.
json
{
  "input": {
    "catchword": "كتاب",
    "nextLeafFirstToken": "كتاب",
    "foldCase": false,
    "trimSpaces": false
  },
  "output": {
    "matches": true,
    "normalizedCatchword": "كتاب"
  }
}

Limitations and assumptions

  • Lowercase is not full Unicode case folding; diacritics, punctuation, authenticity, and linguistic equivalence are not resolved.
  • 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

Consult the source edition and relevant community or scholarly guidance before interpreting or reusing the material.

References

  1. Calculation and input contract: islamic-studies/islamic-manuscript-catchword-locator — tool.io

Similar or alternative tools