Skip to main content

A package to predict if a text is a suicide post or not.

Project description

Suicide Text Predictor

This package predicts if a given text is a suicide post or not using a trained PyTorch model.

Installation

pip install suicide_text_predictor

Sample Usage

import suicide_text_predictor
text = input("Input a text:\n")
result=suicide_text_predictor.predict_tweet(text)
print(result)

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

suicide_text_predictor-0.2.4.tar.gz (72.0 MB view details)

Uploaded Source

Built Distribution

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

suicide_text_predictor-0.2.4-py3-none-any.whl (72.0 MB view details)

Uploaded Python 3

File details

Details for the file suicide_text_predictor-0.2.4.tar.gz.

File metadata

  • Download URL: suicide_text_predictor-0.2.4.tar.gz
  • Upload date:
  • Size: 72.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.16

File hashes

Hashes for suicide_text_predictor-0.2.4.tar.gz
Algorithm Hash digest
SHA256 0807bb26f4193ab247c260987da9a5be7da1bb5e804cd6ada65baab52748afd6
MD5 36b031b28839f9f5afe0016838669976
BLAKE2b-256 7683ae9f09850d1d673ee32e1d4c7917d613a90c5a8784d434f19c727746efc3

See more details on using hashes here.

File details

Details for the file suicide_text_predictor-0.2.4-py3-none-any.whl.

File metadata

File hashes

Hashes for suicide_text_predictor-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7a60c0e27d1681e98dcb8484b9e25a467605816cde79c2a34de6ee76bf88857c
MD5 34bbc21826198af90669c0b1d43c1681
BLAKE2b-256 38b37d760b2e913b7eb51089a672d83b8a9dc12246b5ae1c56320ea4faa6f39d

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