Skip to main content

python package to transform any emoticon to text or its meaning

Project description


Emoticon is a Python package to transform or translate emoticon into text or its meaning. Based on list of emotion in wikipedia, i created a library for text mining. This package contain western and eastern emoticon with over 300 emoticon. This package can also translate emoticon into desired language by adding optional argument.

How to install

Simply run this code on your cmd.

pip install emoticon


Following code will show you example how to use this package

from emoticon import emoticon

text = "good morning :)"

You can also specify the desired language by adding optional argument, for example if you want to return indonesian language, use 'id' as optional parameter.

from emoticon import emoticon

text = "good morning :)"
emoticon(text, 'id')

if you don't specify, it will return english by default.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for emoticon, version 1.0.4
Filename, size File type Python version Upload date Hashes
Filename, size emoticon-1.0.4-py3-none-any.whl (2.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size emoticon-1.0.4.tar.gz (2.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page