معرفی شرکت ها


collective.texttospeech-1.0rc1


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Text-to-Speech feature for Plone.
ویژگی مقدار
سیستم عامل OS Independent
نام فایل collective.texttospeech-1.0rc1
نام collective.texttospeech
نسخه کتابخانه 1.0rc1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Simples Consultoria
ایمیل نویسنده produtos@simplesconsultoria.com.br
آدرس صفحه اصلی https://github.com/collective/collective.texttospeech
آدرس اینترنتی https://pypi.org/project/collective.texttospeech/
مجوز -
.. image:: https://raw.githubusercontent.com/collective/collective.texttospeech/master/docs/texttospeech.png :align: left :alt: Text-to-Speech :height: 100px :width: 100px ************** Text-to-Speech ************** .. contents:: Table of Contents Life, the Universe, and Everything ================================== This package enables `speech synthesis <https://en.wikipedia.org/wiki/Speech_synthesis>`_ in the `Plone CMS <http://plone.org/>`_. It is currently based on `ResponsiveVoice <http://responsivevoice.org/>`_, an HTML5-based Text-To-Speech library designed to add voice features to web sites across multiple plataforms. ResponsiveVoice `supports 51 languages through 168 voices <http://responsivevoice.org/text-to-speech-languages/>`_ and is `free for non-commercial use <http://responsivevoice.org/license/>`_. Mostly Harmless =============== .. image:: http://img.shields.io/pypi/v/collective.texttospeech.svg :target: https://pypi.python.org/pypi/collective.texttospeech .. image:: https://img.shields.io/travis/collective/collective.texttospeech/master.svg :target: http://travis-ci.org/collective/collective.texttospeech .. image:: https://img.shields.io/coveralls/collective/collective.texttospeech/master.svg :target: https://coveralls.io/r/collective/collective.texttospeech Got an idea? Found a bug? Let us know by `opening a support <https://github.com/collective/collective.texttospeech/issues>`_. Known Issues ------------ - Voice playback rate is slow on Android native browser - Voice is cut off in shorter text on Android native browser - Audio doesn’t play on Firefox Android For more information, see `ResponsiveVoice FAQ <http://responsivevoice.org/faq/>`_. Some browser add-ons (e.g., `Privacy Badger <https://www.eff.org/privacybadger>`_), could block ResponsiveVoice library disabling the Text-to-Speech feature. In those cases the 'Listen' button will not be available, neither the Text-to-Speech control panel configlet will work. Don't Panic =========== Installation ------------ To enable this package in a buildout-based installation: #. Edit your buildout.cfg and add add the following to it: .. code-block:: ini [buildout] ... eggs = collective.texttospeech After updating the configuration you need to run ''bin/buildout'', which will take care of updating your system. Go to the 'Site Setup' page in a Plone site and click on the 'Add-ons' link. Check the box next to ``collective.texttospeech`` and click the 'Activate' button. How does it work ---------------- We use JavaScript to extract all text inside an element with ``id="content"`` in the page. The text extraction will ignore any <iframe> elements present. Currently, <img> elements are neither processed but that could change in the future. It is possible to avoid reading some text that, regardless being present on the text flow, make little sense on the reading flow. Examples of this are image captions and side quotes. We have included a list of CSS classes that can be blacklisted to implement this feature. The list is configurable via an option in the control panel configlet. Any text inside an element with one of those CSS classes applied will be ignored. The blacklist defaults to some CSS classes used in Plone 4: * ``image-caption``: used for image captions * ``pullquote``: used for side quotes Usage ----- After installing the package, go to the Text-to-Speech configlet on Site Setup. Select which content types will have the feature enabled and select which voice will be used. .. figure:: https://raw.githubusercontent.com/collective/collective.texttospeech/master/docs/controlpanel.png :align: center :height: 860px :width: 768px The Text-to-Speech control panel configlet. A viewlet with a 'Listen' button will be displayed on objects with the feature enabled. .. figure:: https://raw.githubusercontent.com/collective/collective.texttospeech/master/docs/viewlet.png :align: center :height: 400px :width: 768px The speech synthesis feature enabled. You can pause/resume the reader at any time by selecting 'Pause'/'Resume'. Share and Enjoy =============== This package would not have been possible without the contribution of the following people: - Héctor Velarde - Rodrigo Ferreira de Souza You can find an updated list of package contributors on `GitHub <https://github.com/collective/collective.texttospeech/contributors>`_. Changelog ========= 1.0rc1 (2016-07-11) ------------------- - Ignore ``<iframe>`` tags explicitly and fix button visibility. [rodfersou] - Show the 'Listen' button to anonymous users only. [hvelarde] 1.0b2 (2016-07-08) ------------------ - Review text extraction logic; it is now possible to ignore parts of the text via a blacklist of CSS classes accessible in the control panel configlet. [rodfersou, hvelarde] - To avoid displaying the 'Listen' button with an incorrect voice, the feature is now globally disabled by default at installation time. [hvelarde] - ResponsiveVoice library is now only loaded when needed. [hvelarde] - The 'Listen' button is now shown only after ResponsiveVoice library has been loaded. [rodfersou] 1.0b1 (2016-06-14) ------------------ - Use version 1.4 of the ResponsiveVoice API. [hvelarde] - Package is now compatible with Plone 5.0 and Plone 5.1. [rodfersou, hvelarde] - Implement i18n on the widget and update translations. [rodfersou, hvelarde] - Simplify static files stack. [rodfersou] 1.0a2 (2016-03-28) ------------------ - Add Brazilian Portuguese and Spanish translations. [hvelarde] - Fix an issue with package JavaScript. [rodfersou] 1.0a1 (2016-03-28) ------------------ - Initial release.


نحوه نصب


نصب پکیج whl collective.texttospeech-1.0rc1:

    pip install collective.texttospeech-1.0rc1.whl


نصب پکیج tar.gz collective.texttospeech-1.0rc1:

    pip install collective.texttospeech-1.0rc1.tar.gz