Skip to main content

Module confusable

Module confusable 

Source
Expand description

UTS #39 confusable skeleton mapping.

Implements the skeleton algorithm from UTS #39 Section 4: skeleton(input) = NFD(confusable_map(NFD(input)))

Two strings are confusable if they produce the same skeleton.

Functionsยง

are_confusable
Check whether two strings are confusable (have the same skeleton).
skeleton
Compute the UTS #39 skeleton of a string.