{ "info": { "author": "Evan Lalopoulos", "author_email": "evan.lalopoulos.2017@my.bristol.ac.uk", "bugtrack_url": null, "classifiers": [ "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "[![Build Status](https://travis-ci.org/evanll/liwc-text-analysis-python.svg?branch=master)](https://travis-ci.org/evanll/liwc-text-analysis-python)\n\n# LIWC Text Analysis - Python\nA python package for the Linguistic Inquiry and Word Count (LIWC) dictionary. This package requires the proprietary LIWC dictionary file (.dic), that can be obtained from [LIWC.net](http://liwc.net/). \n\n## Usage\n```python\n>>> from liwc import Liwc\n>>> liwc = Liwc(LIWC_FILEPATH)\n>>> # Search a word in the dictionary to find in which LIWC categories it belongs\n>>> print(liwc.search('happy'))\n['affect', 'posemo']\n>>> # Extract raw counts of words in a document that fall into the various LIWC categories\n>>> print(liwc.parse('I love ice cream.'.split(' ')))\nCounter({'verb': 1, 'present': 1, 'affect': 1, 'posemo': 1, 'bio': 1, 'sexual': 1, 'social': 1})\n```\n## Tests\nThe project comes with an extensive set of unit tests. The Pytest framework is used for unit testing. \nTo run the tests use: \n`pytest`\n\n## Project repository\nhttps://github.com/evanll/liwc-text-analysis-python\n\n## Author\nWritten by Evan Lalopoulos \n\n**Evan Lalopoulos** - [evanll](https://github.com/evanll)\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/evanll/liwc-text-analysis-python", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "liwc-text-analysis", "package_url": "https://pypi.org/project/liwc-text-analysis/", "platform": "", "project_url": "https://pypi.org/project/liwc-text-analysis/", "project_urls": { "Homepage": "https://github.com/evanll/liwc-text-analysis-python" }, "release_url": "https://pypi.org/project/liwc-text-analysis/1.0.2/", "requires_dist": [ "atomicwrites (==1.3.0)", "attrs (==19.1.0)", "importlib-metadata (==0.19)", "more-itertools (==7.2.0)", "packaging (==19.1)", "pluggy (==0.12.0)", "py (==1.8.0)", "pyparsing (==2.4.2)", "pytest (==5.1.2)", "six (==1.12.0)", "wcwidth (==0.1.7)", "zipp (==0.6.0)" ], "requires_python": ">=3.6", "summary": "A python package for the Linguistic Inquiry and Word Count (LIWC) dictionary.", "version": "1.0.2" }, "last_serial": 5778476, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "2154cf41e6f04dae12db6dc83aa86228", "sha256": "7fe589d75c7369d762ebdbe033117f67befc29146ccf0efc8934e28eef31c8af" }, "downloads": -1, "filename": "liwc_text_analysis-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "2154cf41e6f04dae12db6dc83aa86228", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 5753, "upload_time": "2019-09-03T22:23:09", "url": "https://files.pythonhosted.org/packages/a5/bc/3ad4bcd5d0d95f41ba4197026de172535c6b5a8fd1230396ddc3bd7d1326/liwc_text_analysis-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5b635645d17e8ab31ad55cef25df18f3", "sha256": "4d12b4aed2546e53f584e53ef8f78dd7ea210fda0b1746bcd4c99c1f3ab02035" }, "downloads": -1, "filename": "liwc-text-analysis-1.0.1.tar.gz", "has_sig": false, "md5_digest": "5b635645d17e8ab31ad55cef25df18f3", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 3634, "upload_time": "2019-09-03T22:23:12", "url": "https://files.pythonhosted.org/packages/c1/48/9fee44392ff505abe8a2b2d82eeb762a5f5f04919265e322ef5745381f5e/liwc-text-analysis-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "1d32ce788896b5d20cc50da05850b951", "sha256": "0d5d122781fd258a13463c9f135f7b53cc34b06dcf53dbe1e5adb3dd21c810bc" }, "downloads": -1, "filename": "liwc_text_analysis-1.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "1d32ce788896b5d20cc50da05850b951", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 5737, "upload_time": "2019-09-03T23:04:21", "url": "https://files.pythonhosted.org/packages/c0/38/32f5c62dd39f07768587e2bc9a45bda5e767970d4d23dc6e7786b93267cd/liwc_text_analysis-1.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b249a3c9be344c9a9148268e36e5112e", "sha256": "ddd14e4c533d40d6b2dc27c5e68c96a5e96b2d3737fffb81c2490f246e5f27be" }, "downloads": -1, "filename": "liwc-text-analysis-1.0.2.tar.gz", "has_sig": false, "md5_digest": "b249a3c9be344c9a9148268e36e5112e", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 3598, "upload_time": "2019-09-03T23:04:22", "url": "https://files.pythonhosted.org/packages/5b/87/01f4dac9cd4c973505e7a4841b18da976c670204af1b3c36a1fe1620af0b/liwc-text-analysis-1.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1d32ce788896b5d20cc50da05850b951", "sha256": "0d5d122781fd258a13463c9f135f7b53cc34b06dcf53dbe1e5adb3dd21c810bc" }, "downloads": -1, "filename": "liwc_text_analysis-1.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "1d32ce788896b5d20cc50da05850b951", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 5737, "upload_time": "2019-09-03T23:04:21", "url": "https://files.pythonhosted.org/packages/c0/38/32f5c62dd39f07768587e2bc9a45bda5e767970d4d23dc6e7786b93267cd/liwc_text_analysis-1.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b249a3c9be344c9a9148268e36e5112e", "sha256": "ddd14e4c533d40d6b2dc27c5e68c96a5e96b2d3737fffb81c2490f246e5f27be" }, "downloads": -1, "filename": "liwc-text-analysis-1.0.2.tar.gz", "has_sig": false, "md5_digest": "b249a3c9be344c9a9148268e36e5112e", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 3598, "upload_time": "2019-09-03T23:04:22", "url": "https://files.pythonhosted.org/packages/5b/87/01f4dac9cd4c973505e7a4841b18da976c670204af1b3c36a1fe1620af0b/liwc-text-analysis-1.0.2.tar.gz" } ] }