SentenceMixer / mixer.py
Mya-Mya
Create DummyMixer
8f78096
raw
history blame contribute delete
216 Bytes
from abc import ABC, abstractmethod
class Mixer(ABC):
@abstractmethod
def mix_sentences(self, sentence_A: str, sentence_B: str, A_ratio: float, max_n_tokens: int = 140):
raise NotImplementedError()