Skip to main content

tweet preprocesser

Project description

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.2.tar.gz (1.7 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.2-py3-none-any.whl (1.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tweet_preprocesser-0.0.2.tar.gz
  • Upload date:
  • Size: 1.7 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.2.tar.gz
Algorithm Hash digest
SHA256 2efe6dfc065d4e4852fc4a6dccd8835c81597562ae28d419df1727faf3d0cd7e
MD5 fc18619279ce88c134b8d621fcb4147a
BLAKE2b-256 106725ce76e05545c026302f6f469b9f7bbeda19d06c8ff1f423d952d14e02d3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tweet_preprocesser-0.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 798972764670d81ad8b5dc497f381dfc87248ed763df16623f24552a6b78335a
MD5 e14c5eac76ef95b4dde435b8097869e7
BLAKE2b-256 f5df066591290a93a845640c4775d7b1fef3bea2b84b4054c1fd362ddae30401

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