Description
Compare source and proposed tokens exactly and after JavaScript lowercasing.
Critical annotations distinguish source voices, editorial insertions, omission markers, edition locators and caller-assigned interpretations. Case preservation and half-open text offsets describe representation rather than meaning. A bracketed token or source-role label does not verify faithful quotation, authority, an argument or its historical context.
Compare source and proposed tokens exactly and after JavaScript lowercasing.
When to use this tool
Use Marker Term Capitalization Preservation when you already have sourceToken, proposedToken and need to compare source and proposed tokens exactly and after JavaScript lowercasing.
How to use the tool and how it works
- Enter sourceToken, proposedToken. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read exactMatch, sameIgnoringCase. Inspect exactMatch, sameIgnoringCase before interpreting the associated values.
Return sourceToken===proposedToken and sourceToken.toLowerCase()===proposedToken.toLowerCase().1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| sourceToken | Source Token | Required. Text; maximum UTF-16 length 8192. |
| proposedToken | Proposed Token | Required. Text; maximum UTF-16 length 8192. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| exactMatch | Exact Match | Required. Boolean. |
| sameIgnoringCase | JavaScript lowercase-string equality, not full Unicode case folding or normalization. | Required. Boolean. |
{
"input": {
"sourceToken": "Other",
"proposedToken": "other"
},
"output": {
"exactMatch": false,
"sameIgnoringCase": true
}
} Limitations and assumptions
- Empty tokens are accepted. This is not Unicode normalization or full case folding, locale collation, editorial approval or semantic equivalence.
- 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
Read the original passage and relevant edition with the stated interpretive and editorial conventions. Verify source context and attribution before reuse; local span labels and interpretation-objection pair keys organize records without evaluating the argument or granting quotation rights.
References
Similar or alternative tools
- Theoretical Term Source Variant Pair
Display supplied theoretical term variants with a source reference.
- Curriculum Outcome Single Tag Match
Compare one recorded curriculum tag under a supplied case policy.