{"id":24569806,"url":"https://github.com/dfederschmidt/pyliwc","last_synced_at":"2025-04-22T19:52:26.983Z","repository":{"id":44866661,"uuid":"119443033","full_name":"dfederschmidt/pyliwc","owner":"dfederschmidt","description":"LIWC (Linguistic Inquiry and Word Count) in Python","archived":false,"fork":false,"pushed_at":"2022-12-08T01:13:29.000Z","size":165,"stargazers_count":10,"open_issues_count":12,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-29T18:11:48.374Z","etag":null,"topics":["datamining","liwc","nlp","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dfederschmidt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-29T21:17:49.000Z","updated_at":"2024-03-13T02:57:07.000Z","dependencies_parsed_at":"2022-08-29T22:32:22.658Z","dependency_job_id":null,"html_url":"https://github.com/dfederschmidt/pyliwc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfederschmidt%2Fpyliwc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfederschmidt%2Fpyliwc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfederschmidt%2Fpyliwc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfederschmidt%2Fpyliwc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dfederschmidt","download_url":"https://codeload.github.com/dfederschmidt/pyliwc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250314694,"owners_count":21410467,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["datamining","liwc","nlp","python3"],"created_at":"2025-01-23T15:56:10.314Z","updated_at":"2025-04-22T19:52:26.934Z","avatar_url":"https://github.com/dfederschmidt.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pyliwc\n\n![RTD](https://media.readthedocs.org/static/projects/badges/passing.svg)\n\nRequires a version of the LIWC dictionary in .dic format. Still very much work in process. Results might differ (albeit marginally) from the commercial LIWC software.\n\nFor the full documentation [look here](http://pyliwc.readthedocs.io/en/latest/)\n## Installation\n\n```\npipenv install -e git+https://github.com/dfederschmidt/pyliwc#egg=pyliwc\n```\n\n\n## Usage \n\n### Initialization\n\n```python\nliwc = LIWC(\"./LIWC2015.dic\")\n```\n\n### Process Text\n\n```python\nliwc = LIWC(\"./LIWC2015.dic\")\nliwc_scores = liwc.process_text(\"My text to be analyzed\")\n```\n\n### Process Pandas Data Frame\n\n```python\nimport pandas as pd \n\nliwc = LIWC(\"./LIWC2015.dic\")\ndf = pd.DataFrame([[\"all nice people\", \"mean people\"], [\"terrible\", \"awesome\"]], columns=list('AB'), index=[12,3])\n\nliwc.process_df(df)\n\n# OR (in case of large series)\n\nliwc.process_df_mp(df)\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfederschmidt%2Fpyliwc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdfederschmidt%2Fpyliwc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfederschmidt%2Fpyliwc/lists"}