stop running 'remove_unsafe_private_use' unnecessarily

Former-commit-id: b6f246ecbb
This commit is contained in:
Robyn Speer 2015-02-17 14:02:36 -05:00
parent f4280dcad0
commit 8d57b39a7b

View File

@ -1,6 +1,5 @@
# coding: utf-8
from unicodedata import normalize
from ftfy.fixes import remove_unsafe_private_use
def standardize_word(word):
@ -21,4 +20,4 @@ def standardize_word(word):
that the capitalized versions will not share a word count with the
lowercase versions.
"""
return normalize('NFKC', remove_unsafe_private_use(word)).lower()
return normalize('NFKC', word).lower()