langtest.utils.custom_types.helpers.highlight_differences_both#

highlight_differences_both(text1, text2)#

Returns two highlighted HTML strings for text1 and text2 based on their differences.

  • In text1, replaced text and deleted segments are highlighted.

  • In text2, replaced text and inserted segments are highlighted.