<jupyter_start><jupyter_text>AWS Translate Translate text to english (supported languages here).AWS Translate Documentation<jupyter_code>import boto3
def aws_translate(text):
    client = boto3.client(service_name='translate',
                          region_name='eu-west-1',
                          use_ssl=True)
    
    result = client.translate_text(Text=text,
                                   SourceLanguageCode='auto',
                                   TargetLanguageCode='en')
    
    return result.get('TranslatedText')
input_text = "ここにAWS翻訳のための日本語のセンテンスがあります！"
result = aws_translate(input_text)
# Print translated text
print(result)<jupyter_output>Here is a Japanese sentence for AWS translation!
{'fraction_non_alphanumeric': 0.08111888111888112, 'fraction_numerical': 0.004195804195804196, 'mean_word_length': 2.6907216494845363, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '590507', 'license': 'MIT', 'n_tokens_mistral': 218, 'n_tokens_neox': 212, 'n_words': 39, 'path': 'AWS/AmazonTranslate/aws-translate-text.ipynb', 'repo_name': 'AidanCooper/cloud-API-python-notebooks', 'size': '715'}