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.

Source Distribution

trw_text_string-0.0.5.tar.gz (3.2 kB view hashes)

Uploaded source

Supported by

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