Documentation ¶
Index ¶
- func DetectDominantLanguageIn(input *string) model.DetectedLanguage
- func DetectDominantLanguageInFile(filePath string) model.DetectedLanguage
- func GetAWSComprehendSessionInstance() *comprehend.Comprehend
- func GetAWSTranslateSessionInstance() *translate.Translate
- func TranslateToTargetLanguage(TARGET_LANGUAGE string, text *string) (model.TranslationResult, error)
- func TranslateToTargetLanguageFromFile(TARGET_LANGUAGE string, filePath string) (model.TranslationResult, error)
- func WriteTranslationToFile(translationResult model.TranslationResult, filePath string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DetectDominantLanguageIn ¶
func DetectDominantLanguageIn(input *string) model.DetectedLanguage
func DetectDominantLanguageInFile ¶
func DetectDominantLanguageInFile(filePath string) model.DetectedLanguage
func GetAWSComprehendSessionInstance ¶
func GetAWSComprehendSessionInstance() *comprehend.Comprehend
func TranslateToTargetLanguage ¶
func TranslateToTargetLanguage(TARGET_LANGUAGE string, text *string) (model.TranslationResult, error)
func TranslateToTargetLanguageFromFile ¶
func TranslateToTargetLanguageFromFile(TARGET_LANGUAGE string, filePath string) (model.TranslationResult, error)
func WriteTranslationToFile ¶
func WriteTranslationToFile(translationResult model.TranslationResult, filePath string) (string, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.