Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
i-vukman committed Nov 18, 2024
1 parent 50e0604 commit 054656a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ In production build, react app is built and bundled as APS.NET static asset, bei
For each celebrity, we store full name and anagram key.

Anagram key is calculated as follows:
- Celebrity full name is normalized and case folded, as described in <a href="https://www.unicode.org/versions/Unicode11.0.0/ch03.pdf">Default Caseless Matching</a> chapter in unicode documentation
- Celebrity full name is normalized and case folded, as described in <a href="https://www.unicode.org/versions/Unicode11.0.0/ch03.pdf">Default Caseless Matching</a> in 3rd chapter of unicode standard
- Whitespace and punctuation is removed from normalized celebrity full name, as those are neutral characters in anagram
- Result of that is then parsed into Unicode grapheme clusters and then ordered by ordinal value, resulting in what we call anagram key

Expand Down

0 comments on commit 054656a

Please sign in to comment.