How to use the pylanguagetool.converters.html2text function in pyLanguagetool

To help you get started, we’ve selected a few pyLanguagetool examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Findus23 / pyLanguagetool / tests / test_converters.py View on Github external
def test_ipython_html2text():
    assert converters.html2text(ipython_html) == ipython_plaintext
github Findus23 / pyLanguagetool / tests / test_converters.py View on Github external
def test_html2text():
    assert converters.html2text(html) == plaintext