From 79dce0aabe6b715428532e1344a2a2ccbf80a0b3 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Thu, 24 Nov 2016 19:13:00 +0100 Subject: [PATCH] Add emoticons --- spacy/language_data/__init__.py | 0 spacy/language_data/emoticons.py | 132 +++++++++++++++++++++++++++++++ 2 files changed, 132 insertions(+) create mode 100644 spacy/language_data/__init__.py create mode 100644 spacy/language_data/emoticons.py diff --git a/spacy/language_data/__init__.py b/spacy/language_data/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/spacy/language_data/emoticons.py b/spacy/language_data/emoticons.py new file mode 100644 index 000000000..d968f7c98 --- /dev/null +++ b/spacy/language_data/emoticons.py @@ -0,0 +1,132 @@ +EMOTICONS = set(""" + +:) +:-) +:)) +:-)) +:))) +:-))) +(: +(-: +=) +(= +:] +:-] +[: +[-: +:o) +(o: +:} +:-} +8) +8-) +(-8 + +;) +;-) +(; +(-; + +:( +:-( +:(( +:-(( +:((( +:-((( +): +)-: +=( + +:') +:'-) +:'( +:'-( + +:/ +:-/ +=/ +:| +:-| + +:P +:-P +:p +:-p + +:O +:-O +:o +:-o +:0 +:-0 +:() + +:* +:-* +:3 +:-3 +=3 +:> +:-> + +:X +:-X +:x +:-x + +:D +:-D +;D +;-D +=D +xD +XD +xDD +XDD +8D +8-D + +^_^ +^__^ +^___^ +>.< +>.> +<.< +._. +;_; +-_- +v.v +V.V +v_v +V_V +o_o +o_O +O_o +O_O +0_o +o_0 +0_0 + +<3 +<33 +<333 +_<) +(*_*) +(¬_¬) + +ಠ_ಠ +ಠ︵ಠ +(ಠ_ಠ) +¯\(ツ)/¯ +(╯°□°)╯︵┻━┻ +><(((*> + +""".split()) + + +__all__ = [ EMOTICONS ]