Skip to main content

agrag.common.text.normalize_text

normalize_text(text:str) -> str

Return text stripped and case-folded for identity comparison.

Parameters:

  • text (str) – The text to normalize.

Returns:

  • str – The stripped, case-folded text.