Skip to content
Snippets Groups Projects
interface.py 266 B
Newer Older
Michał Pogoda's avatar
Michał Pogoda committed
from typing import List, Dict, Any, Tuple
Michał Pogoda's avatar
Michał Pogoda committed


class Detector:
    def detect(
        self, text: str, annotations: Dict[str, List[Tuple[int, int, Any]]]
    ) -> List[Tuple[int, int, Detection]]:
Michał Pogoda's avatar
Michał Pogoda committed
        raise NotImplementedError