MCPcopy Create free account
hub / github.com/dialect-app/dialect / Translation

Class Translation

dialect/providers/base.py:85–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83
84@dataclass
85class Translation:
86 text: str
87 original: TranslationRequest
88 detected: str | None = None
89 mistakes: TranslationMistake | None = None
90 pronunciation: TranslationPronunciation = field(default_factory=lambda: TranslationPronunciation(None, None))
91
92
93class BaseProvider:

Callers 7

_on_switch_actionMethod · 0.90
translateMethod · 0.90
translateMethod · 0.90
translateMethod · 0.90
translateMethod · 0.90
translateMethod · 0.90
translateMethod · 0.90

Calls 1

Tested by

no test coverage detected