Duolingo Unicode Normalizer

#5 / 1 rate

Duolingo Unicode Normalizer

70 users

2019-09-07

blmage

Extension Information

5 star
0%
4 star
0%
3 star
0%
2 star
0%
1 star
0%

Supported Languages

Permissions

Hot Permissions

Description

Automatically normalizes Duolingo answers.

Duolingo expects answers to be NFC-normalized strings (see the Unicode Normalization FAQ here: http://unicode.org/faq/normalization.html).

But, depending on the input method, those values may contain decomposed characters, making them internally different from their normalized versions.

For example, the Vietnamese word một (one) can be written in (at least) 3 different ways:
một : m \u1ED9 t (NFC)
một : m \u00F4 \u0323 t (VN keyboard)
một : mo \u0323 \u0302 t (NFD)

The extension aims to prevent false positives in typo detection by automatically normalizing relevant inputs.