From 3b17eba27b84e70a84101117e63b080db09b61be Mon Sep 17 00:00:00 2001 From: Jim Geovedi Date: Sun, 23 Jul 2017 23:10:52 +0700 Subject: [PATCH] added frequency units --- spacy/lang/char_classes.py | 1 + 1 file changed, 1 insertion(+) diff --git a/spacy/lang/char_classes.py b/spacy/lang/char_classes.py index bec685646..f4b21b233 100644 --- a/spacy/lang/char_classes.py +++ b/spacy/lang/char_classes.py @@ -27,6 +27,7 @@ ALPHA_UPPER = merge_char_classes(_upper + _uncased) _units = ('km km² km³ m m² m³ dm dm² dm³ cm cm² cm³ mm mm² mm³ ha µm nm yd in ft ' 'kg g mg µg t lb oz m/s km/h kmh mph hPa Pa mbar mb MB kb KB gb GB tb ' + 'kHz MHz GHz ' 'TB T G M K') _currency = r'\$ £ € ¥ ฿ US\$ C\$ A\$' _punct = r'… , : ; \! \? ¿ ¡ \( \) \[ \] \{ \} < > _ # \* &'