Skip to content

docs: show Unicode normalization with processors - #517

Open
surkhayka wants to merge 1 commit into
rapidfuzz:mainfrom
surkhayka:docs/unicode-normalization
Open

surkhayka wants to merge 1 commit into
rapidfuzz:mainfrom
surkhayka:docs/unicode-normalization

Conversation

@surkhayka

Copy link
Copy Markdown

Show how to compare canonically equivalent Unicode strings with an NFC callable passed to processor=. The example covers direct scoring, distance, and choice extraction, then shows normalization before default_process and explains how processing affects edit and alignment positions.

Related to #319 and the proposed docs example in #319 (comment).

Validation on macOS arm64, Python 3.14.6:

  • All 15 doctest examples pass with both native and Python dispatch.
  • Sphinx HTML build passes with warnings treated as errors.
  • The changed file passes blacken-docs and git diff --check.

Prepared and validated with AI assistance.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant