Update commnents

This commit is contained in:
yangdx
2025-05-05 11:26:31 +08:00
parent 8c08743058
commit a36abce8d6

View File

@@ -1660,6 +1660,9 @@ def normalize_extracted_info(name: str, is_entity=False) -> str:
3. Preserve spaces within English text and numbers 3. Preserve spaces within English text and numbers
4. Replace Chinese parentheses with English parentheses 4. Replace Chinese parentheses with English parentheses
5. Replace Chinese dash with English dash 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: Args:
name: Entity name to normalize name: Entity name to normalize