Underground-Digital/Workflow-Engine
0
1"""Abstract interface for document clean implementations."""2 3from core.rag.cleaner.cleaner_base import BaseCleaner4 5 6class UnstructuredNonAsciiCharsCleaner(BaseCleaner):7 def clean(self, content) -> str:8 """Replaces unicode quote characters, such as the \x91 character in a string."""9 10 from unstructured.cleaners.core import replace_unicode_quotes11 12 return replace_unicode_quotes(content)13 