Skip to content

Add ordinary_normalize - #68

Merged
saki7 merged 1 commit into
mainfrom
add-ordinary-normalize
Aug 18, 2026
Merged

Add ordinary_normalize#68
saki7 merged 1 commit into
mainfrom
add-ordinary-normalize

Conversation

@saki7

@saki7 saki7 commented Aug 18, 2026

Copy link
Copy Markdown
Contributor
// Normalizes occurrences of "ordinary" inconsistent spelling with
// the canonicalized letter.
//
// This algorithm guarantees the character count never changes regardless
// of the transformation, in contrast to fully-featured Unicode normalization
// such as NFKC. (Note: NFKC not only changes the character count; it may
// occasionally render the resulting character to empty set, or even *flips*
// the character positioning, which makes it require a rather complex algo.)
//
// The above design choice enables this function to be used like an *easy*
// canonicalization, where the original and the transformed string can both
// be mapped to the identical `interval<int>`.

@saki7 saki7 self-assigned this Aug 18, 2026
@saki7 saki7 added the enhancement New feature or request label Aug 18, 2026
@saki7
saki7 force-pushed the add-ordinary-normalize branch from 12f1f40 to 87cf356 Compare August 18, 2026 13:30
@cppwarningnotifier

Copy link
Copy Markdown
EnvironmentC++23C++26
irisClang22Debug✅success✅success
Release✅success✅success
GCC15Debug✅success✅success
Release✅success✅success
MSVC2026Debug✅success✅success
Release✅success✅success

@saki7
saki7 merged commit 5d909b4 into main Aug 18, 2026
26 checks passed
@saki7
saki7 deleted the add-ordinary-normalize branch August 18, 2026 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant