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
- Enter catchword, nextLeafFirstToken, foldCase, trimSpaces. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- 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 field | Meaning and units | Accepted input |
|---|---|---|
| catchword | Catchword | Required. Text; maximum UTF-16 length 8192. |
| nextLeafFirstToken | Next Leaf First Token | Required. Text; maximum UTF-16 length 8192. |
| foldCase | Fold Case | Required. Boolean. |
| trimSpaces | Trim Spaces | Required. Boolean. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| matches | Matches | Required. Boolean. |
| normalizedCatchword | Normalized Catchword | Required. Text; maximum UTF-16 length 8192. |
{
"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
Similar or alternative tools
- Transliteration Letter Mark Count
Optionally normalize text to NFD and count code points exactly matching any supplied single-code-point mark.
- Spanish Name Particle Scope
Extract tokens in [particleStart, particleEnd) and preserve all other tokens in their original order as remainder.