File size: 278 Bytes
4304c6d
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
"""Abstract interface for document cleaner implementations."""
from abc import ABC, abstractmethod


class BaseCleaner(ABC):
    """Interface for clean chunk content.

    """

    @abstractmethod
    def clean(self, content: str):
        raise NotImplementedError