withOverrides
Builds a profile that applies overrides first and follows this profile for every other character.
The override is looked up before anything else, so it also wins over a character that is already in the MRZ alphabet: 'C' to "J" turns every C into J. Overrides are applied exactly as given and are case-sensitive: an override for 'ç' does not cover 'Ç', so give both. The comma rule of this profile still applies. An override for ',' is ignored, because a comma is handled before the lookup.
The new profile is not added to TransliterationProfileRegistry; call TransliterationProfileRegistry.register to do that. The map is copied, so changing it afterwards has no effect.
Return
The new profile.
Since
1.0.0
Parameters
Identifier of the new profile. It must not be blank.
Replacement text for single characters. Each value must be made only of MRZ alphabet characters (A to Z, 0 to 9, <); an empty value drops the character.
Throws
If identifier is blank or a value has a character outside the MRZ alphabet.