Skip to main content

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

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page