<commit_before>python-rhvoice
==================

Simple bindings to use excellent `RHVoice <https://github.com/Olga-Yakovleva/RHVoice>`_ library with Python.


Usage
------------------
Add it into a project:

.. code::

	>>> from python-rhvoice import RHVoice


There are two ways to use it, as direct audio output to be manipulated by you:

.. code::

	>>> audio = RHVoice("Преступление и наказание")
	>>> with open('wav.wav', 'wb') as f:
	...     f.write(audio)

	
Or to be saved by this class:

.. code::

	>>> RHVoice("Дневник писателя", output_file="wave.wav")

TODO
------------------
As you can see, code base is simple. It can be improved so feel free to suggest patches with new features.
<commit_msg>Updating readme with new module name<commit_after>python-rhvoice
==================

Simple bindings to use excellent `RHVoice <https://github.com/Olga-Yakovleva/RHVoice>`_ library with Python.


Usage
------------------
Add it into a project:

.. code::

	>>> from rhvoice import RHVoice


There are two ways to use it, as direct audio output to be manipulated by you:

.. code::

	>>> audio = RHVoice("Преступление и наказание")
	>>> with open('wav.wav', 'wb') as f:
	...     f.write(audio)

	
Or to be saved by this class:

.. code::

	>>> RHVoice("Дневник писателя", output_file="wave.wav")

TODO
------------------
As you can see, code base is simple. It can be improved so feel free to suggest patches with new features.

{'fraction_non_alphanumeric': 0.18150208623087621, 'fraction_numerical': 0.0, 'mean_word_length': 3.0083565459610027, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 29, 'https://': 2, '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': '588691', 'n_tokens_mistral': 478, 'n_tokens_neox': 465, 'n_words': 169}