File size: 243 Bytes
abdc816
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
from abc import ABC, abstractmethod
from typing import Dict, List, Tuple

class BaseAnalyzer(ABC):
    @abstractmethod
    def analyze(self, text: str):
        pass

    @abstractmethod
    def format_output(self, result) -> str:
        pass