Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Package for a challenge.

Project description

##### Module for returning word pairs from text strings

##### Example:

>>> from trw_text_string import WordPairCounter
>>> string_example = """Hello, I like nuts. Do you like nuts? No? Are you sure?
Why don't you like nuts? Are you nuts? I like you"""
>>> text_string_object = WordPairCounter(string_example)
>>> text_string_object.get_word_pairs()
are you: 2
like nuts: 3
you like: 3
i like: 2

##### Installation:

<p> In order to install trw_text_string: </p>

pip install trw_text_string

Project details

Download files

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

Files for trw_text_string, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size trw_text_string-0.0.5.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page