Skip to main content

python package to transform any emoticon to text or its meaning

Project description

Emoticon

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

Usage

Following code will show you example how to use this package

from emoticon import emoticon

text = "good morning :)"
emoticon(text)

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.

Source Distribution

emoticon-1.0.4.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

emoticon-1.0.4-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file emoticon-1.0.4.tar.gz.

File metadata

  • Download URL: emoticon-1.0.4.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.1 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.8.0

File hashes

Hashes for emoticon-1.0.4.tar.gz
Algorithm Hash digest
SHA256 3d68631bd6ed457d3c458ac66e0e88cd8b124c1892bb46348db97c6dfd52d715
MD5 90885c44ebb698d0433dcfca6c4669a1
BLAKE2b-256 00e7668cf275b9c55f971e0c8da33df24b9183a9839d78c995c61b5150c64952

See more details on using hashes here.

File details

Details for the file emoticon-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: emoticon-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.1 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.8.0

File hashes

Hashes for emoticon-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2393714723792b524da169de8d08badd3c6cf3cccb9a2b1d05bdcf191c34d9b5
MD5 f7c9b298c7958ca936d3455e360eb0ee
BLAKE2b-256 832503ac8d226f26c5afc546a8701802401e546b2fe77afde358a5bce72f4495

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page