{ "info": { "author": "Prodigy Finance", "author_email": "devops@prodigyfinance.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Operating System :: POSIX", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "Absolang\n========\n\nA sentiment analysis library for detecting absolutist language.\n\nQuickstart\n----------\n\nInstallation::\n\n $ pip install absolang\n $ python -m spacy download en_core_web_sm\n\nDetermining absolutist index for text::\n\n >>> from absolang import absolutist, absolutist_index\n >>> absolutist_index(\"The bigger dog is running.\")\n 0.0\n >>> absolutist(\"The bigger dog is running.\")\n False\n >>> absolutist_index(\"He was completely bowled over.\")\n 0.2\n >>> absolutist(\"He was completely bowled over.\")\n True\n\nAlgorithm\n---------\n\n* Parse text into tokens using Spacy's en_core_web_sm language model.\n* Count the number of word tokens (a token is considered a word if it\n consists solely of characters from the alphabet).\n* Count the number of absolutist word tokens (a token is considered\n absolutist if its stem word is in the dictionary of absolutist words\n and it is not preceded by a negation, modifier or interjection).\n* The absolutist index is the number of absolutist words divided by the\n total number of words.\n* Text is considered absolutist if the index is greater than 1.1 percent.\n\nCaveats\n-------\n\n* The frequency of absolutist words in control texts (ones written by\n people presumed not to suffer from anxiety or depression more than\n the average person) is about 1%, so one needs a few hundred words of\n texts before results start becoming meaningful.\n\nReferences\n----------\n\n* `In an Absolute State: Elevated Use of Absolutist Words Is a Marker Specific to Anxiety, Depression, and Suicidal Ideation `_\n\n* `FCA Occasional Paper No. 8: Consumer Vulnerability `_", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/prodigyfinance/absolang", "keywords": "", "license": "Unknown", "maintainer": "", "maintainer_email": "", "name": "absolang", "package_url": "https://pypi.org/project/absolang/", "platform": "", "project_url": "https://pypi.org/project/absolang/", "project_urls": { "Homepage": "http://github.com/prodigyfinance/absolang" }, "release_url": "https://pypi.org/project/absolang/0.0.2/", "requires_dist": null, "requires_python": "", "summary": "A sentiment analysis library for detecting absolutist language.", "version": "0.0.2" }, "last_serial": 3920665, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "de453116db669c8e137e64608afaea6e", "sha256": "467b118bc33e5a5be85a992b2c6e75553e12bb9358236dea72b2ab4ae9f4e9ab" }, "downloads": -1, "filename": "absolang-0.0.1.tar.gz", "has_sig": false, "md5_digest": "de453116db669c8e137e64608afaea6e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3265, "upload_time": "2018-06-01T08:30:34", "url": "https://files.pythonhosted.org/packages/22/20/9ed58797558fe025cbe8f218ca42d16b976ec6c44ea1fb30cf16c33f5c2b/absolang-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "973b6900dc59a9193b092bd705cde609", "sha256": "251c6ed97998f67852627170925a8f1059d5d5e0553682a165934b1d036e139d" }, "downloads": -1, "filename": "absolang-0.0.2.tar.gz", "has_sig": false, "md5_digest": "973b6900dc59a9193b092bd705cde609", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4036, "upload_time": "2018-06-01T13:57:36", "url": "https://files.pythonhosted.org/packages/a8/da/0b8feb5187f95a076f237e01f777c9238afafb6f2e2748779dd522c32809/absolang-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "973b6900dc59a9193b092bd705cde609", "sha256": "251c6ed97998f67852627170925a8f1059d5d5e0553682a165934b1d036e139d" }, "downloads": -1, "filename": "absolang-0.0.2.tar.gz", "has_sig": false, "md5_digest": "973b6900dc59a9193b092bd705cde609", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4036, "upload_time": "2018-06-01T13:57:36", "url": "https://files.pythonhosted.org/packages/a8/da/0b8feb5187f95a076f237e01f777c9238afafb6f2e2748779dd522c32809/absolang-0.0.2.tar.gz" } ] }