{ "info": { "author": "Fintel Labs Inc.", "author_email": "omkar@fintel.ai", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Build Tools" ], "description": "# emosent-py\n\nemosent-py is a Python utility package to get Sentiment Rankings for Unicode Emojis. \n\nBased on the research by Kralj Novak P, Smailovi\u0107 J, Sluban B, Mozeti\u010d I\n(2015) on _Sentiment of Emojis_.\n\nJournal Link:\nhttps://journals.plos.org/plosone/article?id=10.1371/journal.pone.0144296\n\nCSV Data acquired from CLARIN repository,\nRepository Link: http://hdl.handle.net/11356/1048\n\nThis project is inspired by [emoji-sentiment](https://github.com/dematerializer/emoji-sentiment), a similar utility written in JavaScript.\n\n## Emoji Support\n\nThe complete listed of Emojis to Sentiment Ranking supported by this project \ncan be found at \n[Emoji Sentiment Ranking v1.0](http://kt.ijs.si/data/Emoji_sentiment_ranking/).\n\n## Installation\n\nYou can install emosent-py from using `pip`:\n```bash\npip install emosent-py\n```\n\n## Usage\n\n#### Example 1\n\n```python\nfrom emosent import get_emoji_sentiment_rank\nget_emoji_sentiment_rank('\u2764')\n```\nOutput:\n```python \n{'unicode_codepoint': '0x2764',\n 'occurrences': 8050,\n 'position': 0.746943086,\n 'negative': 355.0,\n 'neutral': 1334.0,\n 'positive': 6361.0,\n 'unicode_name': 'HEAVY BLACK HEART',\n 'unicode_block': 'Dingbats',\n 'sentiment_score': 0.746}\n```\n\n#### Example 2\n\n```python\nfrom emosent import get_emoji_sentiment_rank\nget_emoji_sentiment_rank('\ud83d\ude02')\n```\nOutput:\n```python \n{'unicode_codepoint': '0x1f602',\n 'occurrences': 14622,\n 'position': 0.805100583,\n 'negative': 3614.0,\n 'neutral': 4163.0,\n 'positive': 6845.0,\n 'unicode_name': 'FACE WITH TEARS OF JOY',\n 'unicode_block': 'Emoticons',\n 'sentiment_score': 0.221}\n```\n\n## Versioning\n\nWe use [SemVer](http://semver.org/) for versioning. For the versions available, \nsee the \n[tags on this repository](https://github.com/FintelLabs/emosent-py/tags). \n\n## License\n\nThis project is licensed under the MIT License - see the \n[LICENSE.txt](LICENSE.txt) file for more details.", "description_content_type": "text/markdown", "docs_url": null, "download_url": "https://github.com/FintelLabs/emosent-py/archive/master.zip", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://fintel.ai", "keywords": "emoji,sentiment,analysis,ranking,emoticon,polarity", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "emosent-py", "package_url": "https://pypi.org/project/emosent-py/", "platform": "", "project_url": "https://pypi.org/project/emosent-py/", "project_urls": { "Download": "https://github.com/FintelLabs/emosent-py/archive/master.zip", "Homepage": "https://fintel.ai" }, "release_url": "https://pypi.org/project/emosent-py/0.1.6/", "requires_dist": null, "requires_python": "", "summary": "Python module to get Sentiment Rankings for Unicode Emojis.", "version": "0.1.6" }, "last_serial": 5634196, "releases": { "0.1.6": [ { "comment_text": "", "digests": { "md5": "b2118cf5b7b3f56a2217d99f3964ef27", "sha256": "41d2f0b5d115a570136d8ef5a0f3ef1cb6326950cd0d71613728a31c79e42839" }, "downloads": -1, "filename": "emosent-py-0.1.6.tar.gz", "has_sig": false, "md5_digest": "b2118cf5b7b3f56a2217d99f3964ef27", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28510, "upload_time": "2019-08-05T13:09:08", "url": "https://files.pythonhosted.org/packages/3b/d7/00c5117b7f81c53d764520e0a5032e678f1b3e54daee60308a9bfe6a94d9/emosent-py-0.1.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b2118cf5b7b3f56a2217d99f3964ef27", "sha256": "41d2f0b5d115a570136d8ef5a0f3ef1cb6326950cd0d71613728a31c79e42839" }, "downloads": -1, "filename": "emosent-py-0.1.6.tar.gz", "has_sig": false, "md5_digest": "b2118cf5b7b3f56a2217d99f3964ef27", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28510, "upload_time": "2019-08-05T13:09:08", "url": "https://files.pythonhosted.org/packages/3b/d7/00c5117b7f81c53d764520e0a5032e678f1b3e54daee60308a9bfe6a94d9/emosent-py-0.1.6.tar.gz" } ] }