Skip to main content

Detecting condolence, distress, and empathy in text

Project description

Condolence Models

Intro

condolence-models is a package used to detect condolence and distress expressions, as well as empathetic comments. It is released with the EMNLP 2020 paper Condolence and Empathy in Online Commmunities.

Install

Use pip

If pip is installed, question-intimacy could be installed directly from it:

pip3 install condolence-models

Dependencies

python>=3.6.0
torch>=1.6.0
pytorch-transformers
markdown
beautifulsoup4
numpy
tqdm
simpletransformers
pandas
numpy

Usage and Example

Contact

Naitian Zhou (naitian@umich.edu)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

condolence_models-0.0.4.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

condolence_models-0.0.4-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file condolence_models-0.0.4.tar.gz.

File metadata

  • Download URL: condolence_models-0.0.4.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.6.8

File hashes

Hashes for condolence_models-0.0.4.tar.gz
Algorithm Hash digest
SHA256 42d6637a79092b397f42f9635d8894ca7122d7058eceb92e8d3d2e99fff17b1d
MD5 7c9f314c52b89ca8cc71a79cdb9e56c8
BLAKE2b-256 cbe92cb45a780fa4786b613377893da3de0c3f112caaf676919e453469f4d435

See more details on using hashes here.

File details

Details for the file condolence_models-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: condolence_models-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.6.8

File hashes

Hashes for condolence_models-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 568340b3fcbc8d1013a53a2b55c806a95dadf3aa10999de1f515f3d39723ae38
MD5 17ca1a20fc74529a380ce7a52b2be43f
BLAKE2b-256 20282033ba70244d4156201de6a71fba471c84713d37b5121de6a04f2bb83fc3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page