From a36abce8d6486cc8787092003d9be6c5fe3cd509 Mon Sep 17 00:00:00 2001 From: yangdx Date: Mon, 5 May 2025 11:26:31 +0800 Subject: [PATCH] Update commnents --- lightrag/utils.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lightrag/utils.py b/lightrag/utils.py index 4233f3ff..9af97c7a 100644 --- a/lightrag/utils.py +++ b/lightrag/utils.py @@ -1660,6 +1660,9 @@ def normalize_extracted_info(name: str, is_entity=False) -> str: 3. Preserve spaces within English text and numbers 4. Replace Chinese parentheses with English parentheses 5. Replace Chinese dash with English dash + 6. Remove English quotation marks from the beginning and end of the text + 7. Remove English quotation marks in and around chinese + 8. Remove Chinese quotation marks Args: name: Entity name to normalize