internal

package
v0.0.0-...-4194c92 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 4, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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 GetAWSTranslateSessionInstance

func GetAWSTranslateSessionInstance() *translate.Translate

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL