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.1.tar.gz (3.8 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.1-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: condolence_models-0.0.1.tar.gz
  • Upload date:
  • Size: 3.8 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.1.tar.gz
Algorithm Hash digest
SHA256 2067034ef4364159b09b449f818db13cc43eefa36c7308126281c76de9119275
MD5 8dee1c57c82dd518dab5f350be2ad037
BLAKE2b-256 1d8b010c618e62f7e3d8b43d66d343793b0886796f2bfbc2768787de07a71419

See more details on using hashes here.

File details

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

File metadata

  • Download URL: condolence_models-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.6 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 54f267540dc17e5426561c61f3cd4da9579df54a7190f810120df906935ffbb2
MD5 8ad525409a1f002e447f8ec0bead7a97
BLAKE2b-256 62786393be878339cfc1cf46c2f1039327953758d5ce222cbf46c4f26c0d11e3

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