from typing import List, Dict, Any, Tuple from src.annotations import Annotation class Detector: def detect( self, text: str, annotations: Dict[str, List[Tuple[int, int, Any]]] ) -> List[Tuple[int, int, Annotation]]: raise NotImplementedError