<commit_before>similar_text
============

.. image:: https://img.shields.io/pypi/v/similar_text.svg
    :target: https://pypi.python.org/pypi/similar_text


:code:`similar_text` calculate the similarity between two strings

Installation
------------

The tool works with Python 2 and Python 3. It can be installed with `Pip` :

::

    pip install similar_text


Usage<commit_msg>fix typo<commit_after>similar_text
============

.. image:: https://img.shields.io/pypi/v/similar_text.svg
    :target: https://pypi.python.org/pypi/similar_text


:code:`similar_text` can calculate the similarity between two strings

Installation
------------

The tool works with Python 2 and Python 3. It can be installed with `Pip` :

::

    pip install similar_text


Usage
{'fraction_non_alphanumeric': 0.155467720685112, 'fraction_numerical': 0.005270092226613966, 'mean_word_length': 3.5508982035928143, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5338483', 'n_tokens_mistral': 258, 'n_tokens_neox': 229, 'n_words': 65}