Skip to main content

tweet preprocesser

Project description

tweet preprocesser

tweet preprocesser (remove hashtag, mention and url)

pypi module https://pypi.org/project/tweet-preprocesser/

install

$ pip install tweet-preprocesser

usage

from tweet_preprocesser import preprocesser

print(preprocesser.removeHashtag("hogehoge #huga"))
# " hogehoge"

print(preprocesser.removeUrl("hogehoge http://example.com/?user=1#hoge https://example.com/?user=1#hoge"))
# "hogehoge  "

print(preprocesser.removeMention("@taro hello"))
# " hello"

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

tweet_preprocesser-0.0.3.tar.gz (1.8 kB view details)

Uploaded Source

Built Distribution

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

tweet_preprocesser-0.0.3-py3-none-any.whl (1.8 kB view details)

Uploaded Python 3

File details

Details for the file tweet_preprocesser-0.0.3.tar.gz.

File metadata

  • Download URL: tweet_preprocesser-0.0.3.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.11

File hashes

Hashes for tweet_preprocesser-0.0.3.tar.gz
Algorithm Hash digest
SHA256 b519de4aa2ec483b5f2106df35d3f869258c17f7d0e3f8649a27740d61c0dee3
MD5 10781d472cbe1618f5c74782ac8b3e20
BLAKE2b-256 8937fe7e95a7b8f3a15c343f64af1b5a4be84d9d3f7caeabf6888450f46bfc8a

See more details on using hashes here.

File details

Details for the file tweet_preprocesser-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: tweet_preprocesser-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 1.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.11

File hashes

Hashes for tweet_preprocesser-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0c20ab54fe560365c3d742fabaf42438a5fdc2a668ec7d72acd4985f05c1a11e
MD5 56f23680695c40a5cb94d8b1f495641f
BLAKE2b-256 a90f09ff04b8698b7ac76694b5a4b3679f4f17687bf17151f158d286a3d7bd52

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