Description
Remove ASCII spaces, parse optional 0-3 lowercase prefix letters, a two- or four-digit year, hyphen, and 1-6 sequence digits.
Catalog identifiers and labels follow local formatting conventions. Splitting or recognizing a token's shape preserves structure without establishing that its identifier or classification is valid.
Remove ASCII spaces, parse optional 0-3 lowercase prefix letters, a two- or four-digit year, hyphen, and 1-6 sequence digits.
When to use this tool
Use Us Newspaper Lccn Field Normalizer when you need one explicit catalog-label parsing or formatting step.
How to use the tool and how it works
- Enter lccn. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read normalized. Use the output convention below.
Remove ASCII spaces, parse optional 0-3 lowercase prefix letters, a two- or four-digit year, hyphen, and 1-6 sequence digits. Pad sequence to six digits and concatenate for normalized.1
LCCN normalization preserves the prefix and year and pads the serial portion to six digits. The Library of Congress also documents forms involving suffix removal; this helper supports only its narrower hyphenated input grammar.2
| Input field | Meaning and units | Accepted input |
|---|---|---|
| lccn | Supported hyphenated LCCN spelling, with optional lowercase prefix, two- or four-digit year, and one- to six-digit serial; only ASCII spaces are removed. | Required. Text; maximum UTF-16 length 8192. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| normalized | Prefix and year followed by six-digit serial; assignment is not checked. | Required. Text; maximum UTF-16 length 8192. |
{
"input": {
"lccn": "sn 83-30214"
},
"output": {
"normalized": "sn83030214"
}
} Limitations and assumptions
- This accepts one bounded LCCN form without a checksum, authority lookup, complete punctuation handling, or verification of newspaper identity.
- 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 cataloging scheme and source record before assigning semantic meaning or a filing order.
References
-
Calculation and input contract: american-studies/us-newspaper-lccn-field-normalizer — tool.io
-
The LCCN Namespace — Library of Congress
Similar or alternative tools
- Sudoc Class Stem Single Token
Find the first colon after a nonempty stem and require that stem to start uppercase with only the implemented letters, digits, spaces, periods, slashes, and hyphens.
- Shelfmark Cutter Part
Find the first uppercase ASCII letter followed by 1-6 digits delimited on each side by start/end, whitespace, or a period, and return that matched cutter.