.. _f-textdiff:
module ``texthelper.text_diff``
===============================
Short summary
+++++++++++++
module ``pyquickhelper.texthelper.text_diff``
Freely inspired from
`Showing Side-by-Side Diffs in Jupyter
`_.
:githublink:`%|py|8`
Functions
+++++++++
+------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------+
| function | truncated documentation |
+====================================================================================+========================================================================================+
| :func:`_html_sidebyside ` | |
+------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------+
| :func:`_html_unsentencise ` | Joing a list of sentences into HTML for display |
+------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------+
| :func:`_mark_span ` | |
+------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------+
| :func:`_mark_text ` | |
+------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------+
| :func:`_markup_diff ` | Returns a and b with any differences processed by mark. Junk is ignored by the differ. |
+------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------+
| :func:`_sentencize ` | Split a string into a list of sentences |
+------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------+
| :func:`_tokenize ` | Split a string into tokens |
+------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------+
| :func:`_unsentencise ` | Join a list of sentences into a string |
+------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------+
| :func:`_untokenize ` | Join a list of tokens into a string |
+------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------+
| :func:`align_seqs ` | Aligns two sequences of strings after comparing them. |
+------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------+
| :func:`html_diffs ` | Comparares two strings and renders the results as HTML. |
+------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------+
Documentation
+++++++++++++
.. automodule:: pyquickhelper.texthelper.text_diff
:members:
:special-members: __init__
:show-inheritance: