53 lines
919 B
Python
53 lines
919 B
Python
from enum import Enum
|
|
|
|
|
|
class ModelType(Enum):
|
|
TRANSCRIPTION = "transcription"
|
|
RESPONSE = "response"
|
|
|
|
|
|
class ModelName(Enum):
|
|
pass
|
|
|
|
|
|
class TranscriptionModelName(ModelName):
|
|
NB_WHISPER_SMALL = "nb_whisper_small"
|
|
|
|
|
|
class ResponseModelName(ModelName):
|
|
GENERIC = "generic"
|
|
|
|
|
|
class PreprocessorType(Enum):
|
|
NORWEGIAN_WORDLIST = "norwegian_wordlist"
|
|
ENGLISH = "english"
|
|
|
|
|
|
class SymbolTranslatorType(Enum):
|
|
SOM = "som" # the system one model, choosing symbols from the hierarchy
|
|
|
|
|
|
class SymbolProvider(Enum):
|
|
TOBII_DYNAVOX = "tobii_dynavox"
|
|
|
|
|
|
class Language(Enum):
|
|
NORWEGIAN = "no"
|
|
ENGLISH = "en"
|
|
DEFAULT = "en"
|
|
|
|
|
|
class SubscriptionType(Enum):
|
|
FREE = "free"
|
|
PAID_MONTH = "paid_month"
|
|
PAID_YEAR = "paid_year"
|
|
|
|
class Currency(Enum):
|
|
EUR = "EUR"
|
|
USD = "USD"
|
|
NOK = "NOK"
|
|
|
|
class DiscountType(Enum):
|
|
PERCENTAGE = "percentage"
|
|
ABSOLUTE = "absolute"
|