Detecting emotions behind the text, pyemotionpyy package will help you to understand the emotions in textual meassages.
Project description
What is emotionpyy?
Emotions are biological states associated with the nervous system brought on by neurophysiological changes variously associated with thoughts, feelings, behavioural responses, and a degree of pleasure or displeasure. (Source: Wikipedia)
Human being can easily identify the emotions from text and experience it. But what about the machines, are they able to identify the emotions from text?
emotionpyy is the python package which will help you to extract the emotions from the content.
- Processes any textual message and recognize the emotions embedded in it.
- Compatible with 5 different emotion categories as Happy, Angry, Sad, Surprise and Fear.
Features
1. Text Pre-processing
At first we have the major goal to perform data cleaning and make the content suitable for emotion analysis.
- Remove the unwanted textual part from the message.
- Perform the natural language processing techniques.
- Bring out the well pre-processed text from the text pre-processing.
2. Emotion Investigation
Detect emotion from every word that we got from pre-processed text and take a count of it for further analytical process.
- Find the appropriate words that express emotions or feelings.
- Check the emotion category of each word.
- Store the count of emotions relevant to the words found.
3. Emotion Analysis
After emotion investigation, there is the time of getting the significant output for the textual message we input earlier.
- The output will be in the form of dictionary.
- There will be keys as emotion categories and values as emotion score.
- Higher the score of a particular emotion category, we can conclude that the message belongs to that category.
Check Demo
Let's experience the library, test your multiple use cases on web app and check whether the library performs as per your expectations.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file emotionpyy-0.0.1.tar.gz
.
File metadata
- Download URL: emotionpyy-0.0.1.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d24c2630b031e570e2d4403a540e9a62ddc64a9cfb7fb95753809092fc97e7dd |
|
MD5 | 5ac1b69814de546f8573ecea1d6823aa |
|
BLAKE2b-256 | 007826b74947aa5fdca42762ae77e9461b7636a40ff70e7c5b746140307ca5f5 |
File details
Details for the file emotionpyy-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: emotionpyy-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 593836e07d1f9de325dcddf2b4e3d5121d9d5fb4b69cdb1e3782c1a0098bcf13 |
|
MD5 | 96ba62c610872f7481589caf1daae980 |
|
BLAKE2b-256 | 2c0baa9ba698c9ebc648209ed5e697f6ee0f1505bde059115764564abcd293d9 |