Newer
Older

Michał Pogoda
committed
from src.detections import Detection
from abc import ABC, abstractmethod
class Detector(ABC):
@abstractmethod
def detect(
self, text: str, annotations: Dict[str, List[Tuple[int, int, Any]]]

Michał Pogoda
committed
) -> List[Tuple[int, int, Detection]]: