Skip to main content

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

pip install emoticon

Usage

Following code will show you example how to use this package

From text to emoticon :

from emoticon import emoticon

text = ":) :("
emoticon(text)

Output : "Smile Sad"

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 = ":) :("
emoticon(text, 'id')

Output : "Senyum Sedih"

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

From emoticon to text :

from emoticon import demoticon

text = "Smile Sad"
demoticon(text)

Output : ":) :("

Release files for emoticon 1.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for emoticon 1.0.5
File Size Uploaded
emoticon-1.0.5.tar.gz 2.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for emoticon 1.0.5
File Interpreter ABI Platform
emoticon-1.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 5.0 kB

Release files / emoticon-1.0.5.tar.gz

Download URL emoticon-1.0.5.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
fb8bebff977b2c3dc0898e817349b7a69138c7ee8f971ea30a1673038881020e
BLAKE2b-256 checksum
How to use checksums
7875a208f6ffb1e46fe18cc700a367429dca3ab26dde966f77a8c8963b414eb2
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / emoticon-1.0.5-py3-none-any.whl

Download URL emoticon-1.0.5-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
68dcdeaa968e3703ae5cd17a1665c2da19d5bfc3994cbc4cec8bcd507bc80287
BLAKE2b-256 checksum
How to use checksums
fddbecc238ab9dce901f5a2326c20a6cbd8cbf3298327a66855f949540960578
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.0.5 This release

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page