AWSTranslateTranslateDocumentResponse
Objective-C
@interface AWSTranslateTranslateDocumentResponse
Swift
class AWSTranslateTranslateDocumentResponse
-
Settings to configure your translation output, including the option to set the formality level of the output text and the option to mask profane words and phrases.
Declaration
Objective-C
@property (nonatomic, strong) AWSTranslateTranslationSettings *_Nullable appliedSettings;
Swift
var appliedSettings: AWSTranslateTranslationSettings? { get set }
-
The names of the custom terminologies applied to the input text by Amazon Translate to produce the translated text document.
Declaration
Objective-C
@property (nonatomic, strong) NSArray<AWSTranslateAppliedTerminology *> *_Nullable appliedTerminologies;
Swift
var appliedTerminologies: [AWSTranslateAppliedTerminology]? { get set }
-
The language code of the source document.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable sourceLanguageCode;
Swift
var sourceLanguageCode: String? { get set }
-
The language code of the translated document.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable targetLanguageCode;
Swift
var targetLanguageCode: String? { get set }
-
The document containing the translated content. The document format matches the source document format.
Declaration
Objective-C
@property (nonatomic, strong) AWSTranslateTranslatedDocument *_Nullable translatedDocument;
Swift
var translatedDocument: AWSTranslateTranslatedDocument? { get set }