Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
App coordinates the translation of structured text using AI language models. It sets up a command-line interface with various options to specify source and target languages, preserve certain terms, apply translation rules, and handle input/output configurations. App encapsulates the logic for reading source content, invoking translation services with the specified parameters, and writing the translated result to either a file or standard output, respecting user-defined timeouts and verbosity settings. It also gracefully handles termination signals to ensure proper cleanup during unexpected exits.
Click to show internal directories.
Click to hide internal directories.