Amazon Translate Developer Guide Amazon Translate Developer Guide

Total Page:16

File Type:pdf, Size:1020Kb

Amazon Translate Developer Guide Amazon Translate Developer Guide Amazon Translate Developer Guide Amazon Translate Developer Guide Amazon Translate: Developer Guide Copyright © Amazon Web Services, Inc. and/or its affiliates. All rights reserved. Amazon's trademarks and trade dress may not be used in connection with any product or service that is not Amazon's, in any manner that is likely to cause confusion among customers, or in any manner that disparages or discredits Amazon. All other trademarks not owned by Amazon are the property of their respective owners, who may or may not be affiliated with, connected to, or sponsored by Amazon. Amazon Translate Developer Guide Table of Contents What Is Amazon Translate? ................................................................................................................. 1 Supported Languages and Language Codes ................................................................................... 1 Use Cases .................................................................................................................................. 3 First-Time User .......................................................................................................................... 4 Amazon Translate Pricing ............................................................................................................ 4 How It Works .................................................................................................................................... 5 Automatic Language Detection .................................................................................................... 5 Exception Handling .................................................................................................................... 5 Next Steps ................................................................................................................................ 6 Getting Started .................................................................................................................................. 7 Step 1: Set Up an Account .......................................................................................................... 7 Sign Up for AWS ................................................................................................................ 7 Create an IAM User ............................................................................................................ 7 Next Step .......................................................................................................................... 8 Step 2: Set Up the AWS CLI ........................................................................................................ 8 Next Step .......................................................................................................................... 9 Step 3: Getting Started (Console) ................................................................................................. 9 Next Step ........................................................................................................................ 10 Step 4: Getting Started (AWS CLI) .............................................................................................. 10 Translate Text Using the Command Line ............................................................................. 11 Translate Text Using a JSON File ........................................................................................ 11 Next Step ........................................................................................................................ 12 Step 5: Getting Started (SDK) .................................................................................................... 12 Using the SDK for Java ..................................................................................................... 12 Using the AWS SDK for Python .......................................................................................... 13 Using the Mobile SDK for Android ...................................................................................... 15 Using the Mobile SDK for iOS ............................................................................................ 16 Translation Processing Modes ............................................................................................................ 18 Real-Time Translation ............................................................................................................... 18 Asynchronous Batch Processing .................................................................................................. 18 Region Availability ............................................................................................................ 18 Prerequisites .................................................................................................................... 19 Running a Job ................................................................................................................. 20 Monitoring and Analyzing ................................................................................................. 24 Getting Results ................................................................................................................ 25 Customizing Your Translations ........................................................................................................... 27 Customizing with Custom Terminology ....................................................................................... 27 How does this work? ........................................................................................................ 28 Creating a Custom Terminology ......................................................................................... 28 Using Custom Terminologies .............................................................................................. 29 Encrypting Your Terminology ............................................................................................. 30 Best Practices .................................................................................................................. 30 Customizing with Parallel Data .................................................................................................. 31 Region Availability ............................................................................................................ 32 Parallel Data Input Files for Amazon Translate ..................................................................... 32 Adding Parallel Data ......................................................................................................... 36 Viewing and Managing Parallel Data ................................................................................... 38 Examples ......................................................................................................................................... 42 Using Amazon Polly with Amazon Translate ................................................................................ 42 Code ............................................................................................................................... 42 Using Amazon Translate to Translate a Chat Channel .................................................................... 46 Using Amazon Translate with DynamoDB .................................................................................... 54 Example Code .................................................................................................................. 55 Using Amazon Translate to Translate a Web Page ......................................................................... 57 iii Amazon Translate Developer Guide Using Amazon Translate to Translate Large Documents ................................................................. 60 Using Signature Version 4 with Amazon Translate ........................................................................ 62 Setting Up ....................................................................................................................... 62 Code ............................................................................................................................... 62 Security ........................................................................................................................................... 66 Data Protection ........................................................................................................................ 66 Encryption at Rest ............................................................................................................ 67 Encryption in Transit ......................................................................................................... 67 Identity and Access Management ............................................................................................... 68 Audience ......................................................................................................................... 68 Authenticating With Identities ............................................................................................ 68 Managing Access Using Policies .......................................................................................... 70 How Amazon Translate Works with IAM .............................................................................. 72 Identity-Based Policy Examples .........................................................................................
Recommended publications
  • Building Resilience for the Long Run
    Building Resilience for the Long Run How Travel & Hospitality companies can stay agile during business disruption COPYRIGHT 2020, AMAZON WEB SERVICES, INC. OR ITS AFFILIATES 1 About AWS Travel and Hospitality WS Travel and Hospitality is the global industry practice for Amazon Web Services (AWS), with a charter to support customers as they accelerate cloud adoption. Companies around the world, across every segment of the travel and hospitality industry - and of every size - run on AWS. This includes industry leaders like Airbnb, Avis Budget Group, Best Western, Choice Hotels, DoorDash, Dunkin’ Brands, Expedia Group, Korean Air, McDonald’s, Ryanair, SiteMinder, Sysco, Toast, United Airlines, and Wyndham Hotels. These companies and many others are transforming their business by leveraging technology to enhance customer experiences and increase operational efficiency. For more information about AWS Travel and Hospitality, please visit aws.com/travel. Keep up-to-date with executive insights and industry viewpoints at the AWS Travel and Hospitality Blog. Click here to be contacted by an AWS representative. COPYRIGHT 2020, AMAZON WEB SERVICES, INC. OR ITS AFFILIATES AWS.COM/TRAVEL 2 Foreword It has been said that challenges should not paralyze you but help discover who you are. We have seen time and again that immense challenges can bring about incredible innovation. That is especially true today. Around the globe, travel and hospitality companies are taking advantage of the flexibility of the AWS Cloud to innovate quickly and meet their needs during these trying times. Faced with disruption – whether a localized weather event or a pandemic that spans continents – travel and hospitality companies respond and rebuild.
    [Show full text]
  • Amazon Polly: Use Cases
    A I M 3 0 3 Stop guessing: Use AI to understand customer conversations Dirk Fröhner Boaz Ziniman Senior Solutions Architect Principal Technical Evangelist Amazon Web Services Amazon Web Services © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Agenda • Introduction Amazon Web Services (AWS) AI/ML offering • Introduction Amazon Connect • Architecture of the labs • Work on the labs • Wrap-up Related breakouts • AIM211 - AI document processing for business automation • AIM212 - ML in retail: Solutions that add intelligence to your business • AIM222 - Monetizing text-to-speech AI • AIM302 - Create a Q&A bot with Amazon Lex and Amazon Alexa © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Natural language processing (NLP) • Automatic speech recognition (ASR) • Natural language understanding (NLU) • Text to speech • Translation @ziniman @ziniman Use cases for NLP Voice of customer Knowledge management Education applications Customer service/ Semantic search Accessibility call centers Enterprise Captioning workflows Information bots digital assistant Personalization Localization The Amazon ML stack: Broadest & deepest set of capabilities Vision Speech Language Chatbots Forecasting Recommendations A I s e r v i c e s A m a z o n A m a z o n T r a n s l a t e A m a z o n A m a z o n A m a z o n A m a z o n A m a z o n C o m p r e h e n d A m a z o n A m a z o n A m a z o n Rekognition Rekognition T e x t r a c t P o l l y T r a n s c r i b e & A m a z o n L e x F o r e c a s t Personalize i m a
    [Show full text]
  • Timeline 1994 July Company Incorporated 1995 July Amazon
    Timeline 1994 July Company Incorporated 1995 July Amazon.com Sells First Book, “Fluid Concepts & Creative Analogies: Computer Models of the Fundamental Mechanisms of Thought” 1996 July Launches Amazon.com Associates Program 1997 May Announces IPO, Begins Trading on NASDAQ Under “AMZN” September Introduces 1-ClickTM Shopping November Opens Fulfillment Center in New Castle, Delaware 1998 February Launches Amazon.com Advantage Program April Acquires Internet Movie Database June Opens Music Store October Launches First International Sites, Amazon.co.uk (UK) and Amazon.de (Germany) November Opens DVD/Video Store 1999 January Opens Fulfillment Center in Fernley, Nevada March Launches Amazon.com Auctions April Opens Fulfillment Center in Coffeyville, Kansas May Opens Fulfillment Centers in Campbellsville and Lexington, Kentucky June Acquires Alexa Internet July Opens Consumer Electronics, and Toys & Games Stores September Launches zShops October Opens Customer Service Center in Tacoma, Washington Acquires Tool Crib of the North’s Online and Catalog Sales Division November Opens Home Improvement, Software, Video Games and Gift Ideas Stores December Jeff Bezos Named TIME Magazine “Person Of The Year” 2000 January Opens Customer Service Center in Huntington, West Virginia May Opens Kitchen Store August Announces Toys “R” Us Alliance Launches Amazon.fr (France) October Opens Camera & Photo Store November Launches Amazon.co.jp (Japan) Launches Marketplace Introduces First Free Super Saver Shipping Offer (Orders Over $100) 2001 April Announces Borders Group Alliance August Introduces In-Store Pick Up September Announces Target Stores Alliance October Introduces Look Inside The BookTM 2002 June Launches Amazon.ca (Canada) July Launches Amazon Web Services August Lowers Free Super Saver Shipping Threshold to $25 September Opens Office Products Store November Opens Apparel & Accessories Store 2003 April Announces National Basketball Association Alliance June Launches Amazon Services, Inc.
    [Show full text]
  • Amazon Dynamodb
    Dynamo Amazon DynamoDB Nicolas Travers Inspiré de Advait Deo Vertigo N. Travers ESILV : Dynamo Amazon DynamoDB – What is it ? • Fully managed nosql database service on AWS • Data model in the form of tables • Data stored in the form of items (name – value attributes) • Automatic scaling ▫ Provisioned throughput ▫ Storage scaling ▫ Distributed architecture • Easy Administration • Monitoring of tables using CloudWatch • Integration with EMR (Elastic MapReduce) ▫ Analyze data and store in S3 Vertigo N. Travers ESILV : Dynamo Amazon DynamoDB – What is it ? key=value key=value key=value key=value Table Item (64KB max) Attributes • Primary key (mandatory for every table) ▫ Hash or Hash + Range • Data model in the form of tables • Data stored in the form of items (name – value attributes) • Secondary Indexes for improved performance ▫ Local secondary index ▫ Global secondary index • Scalar data type (number, string etc) or multi-valued data type (sets) Vertigo N. Travers ESILV : Dynamo DynamoDB Architecture • True distributed architecture • Data is spread across hundreds of servers called storage nodes • Hundreds of servers form a cluster in the form of a “ring” • Client application can connect using one of the two approaches ▫ Routing using a load balancer ▫ Client-library that reflects Dynamo’s partitioning scheme and can determine the storage host to connect • Advantage of load balancer – no need for dynamo specific code in client application • Advantage of client-library – saves 1 network hop to load balancer • Synchronous replication is not achievable for high availability and scalability requirement at amazon • DynamoDB is designed to be “always writable” storage solution • Allows multiple versions of data on multiple storage nodes • Conflict resolution happens while reads and NOT during writes ▫ Syntactic conflict resolution ▫ Symantec conflict resolution Vertigo N.
    [Show full text]
  • View Managing Devices and Corporate Data On
    Overview Managing Devices & Corporate Data on iOS Overview Overview Contents Businesses everywhere are empowering their employees with iPhone and iPad. Overview Management Basics The key to a successful mobile strategy is balancing IT control with user Separating Work and enablement. By personalizing iOS devices with their own apps and content, Personal Data users take greater ownership and responsibility, leading to higher levels of Flexible Management Options engagement and increased productivity. This is enabled by Apple’s management Summary framework, which provides smart ways to manage corporate data and apps discretely, seamlessly separating work data from personal data. Additionally, users understand how their devices are being managed and trust that their privacy is protected. This document offers guidance on how essential IT control can be achieved while at the same time keeping users enabled with the best tools for their job. It complements the iOS Deployment Reference, a comprehensive online technical reference for deploying and managing iOS devices in your enterprise. To refer to the iOS Deployment Reference, visit help.apple.com/deployment/ios. Managing Devices and Corporate Data on iOS July 2018 2 Management Basics Management Basics With iOS, you can streamline iPhone and iPad deployments using a range of built-in techniques that allow you to simplify account setup, configure policies, distribute apps, and apply device restrictions remotely. Our simple framework With Apple’s unified management framework in iOS, macOS, tvOS, IT can configure and update settings, deploy applications, monitor compliance, query devices, and remotely wipe or lock devices. The framework supports both corporate-owned and user-owned as well as personally-owned devices.
    [Show full text]
  • Performance at Scale with Amazon Elasticache
    Performance at Scale with Amazon ElastiCache July 2019 Notices Customers are responsible for making their own independent assessment of the information in this document. This document: (a) is for informational purposes only, (b) represents current AWS product offerings and practices, which are subject to change without notice, and (c) does not create any commitments or assurances from AWS and its affiliates, suppliers or licensors. AWS products or services are provided “as is” without warranties, representations, or conditions of any kind, whether express or implied. The responsibilities and liabilities of AWS to its customers are controlled by AWS agreements, and this document is not part of, nor does it modify, any agreement between AWS and its customers. © 2019 Amazon Web Services, Inc. or its affiliates. All rights reserved. Contents Introduction .......................................................................................................................... 1 ElastiCache Overview ......................................................................................................... 2 Alternatives to ElastiCache ................................................................................................. 2 Memcached vs. Redis ......................................................................................................... 3 ElastiCache for Memcached ............................................................................................... 5 Architecture with ElastiCache for Memcached ...............................................................
    [Show full text]
  • Apps by Grade Levels for Website
    The following is a list of the iOS Apps and instructional software that are made available by the district for our teachers to use. Not every app is used by every teacher and not every app is used daily, weekly, etc… Level 1: Instructional Apps and Software Utilized to Support Multiple Uses During Instruction. More commonly used for instruction. Level 2: Instructional Apps and Software Utilized to Support Content Specific Teaching Level 3: Instructional Apps and Software Utilized for Specific Projects, Individual Student Intervention Needs or Specialized Topics During the Year LEVEL 1: Apple Classroom, Epic!, Math IXL, Kids A-Z, KRA, SeeSaw, Self Service, Brain Pop Jr., Google Drive, LEVEL 2: 10 Fram Fill, ABC Magic, Chatter Pix, Hundred Board, Letter School, Little Speller, Marble Math, Math Bingo, Math Slide, Patterns, Starfall ABC’s, Writing Wizard, KINDERGARTEN ABC Ya Games, Expeditions, Khan Academy, Number Line, Number Pieces, 3 Letter Words,Math Tapper, Todo Math LEVEL 3: Montessori Words, Number Flash/Frames/Quiz, Spelling Bee, Word Bingo, Cork the Volcano Puzzlet, Draw and Tell, Sight Words, Tiggly Adventures, Toontastic 3D, Touchtronic 123/ABC LEVEL 1: Apple Classroom, Book Creator, Clips, Math IXL, Kids A-Z, Epic!, Brain Pop Jr., SeeSaw, Pages, Self Service LEVEL 2: 10 Fram Fill, Chatter Pix, Hands on Hundreds, Math Tapper, Number Rack, Writing Wizard, Geoboard, Montessori Crosswords, Number Line, Number Pieces, 1st Grade Vocabulary Spelling City, Math Drills LEVEL 3: Cork the Volcano, Doodle Buddy Draw, Pic Collage, Osmo Masterpiece,
    [Show full text]
  • Introducing Amazon RDS for Aurora Chris Littlefield, AWS Certified Solutions Architect – Associate Level, AWS Certified Sysops Administrator – Associate Level
    Expert Reference Series of White Papers Introducing Amazon RDS for Aurora 1-800-COURSES www.globalknowledge.com Introducing Amazon RDS for Aurora Chris Littlefield, AWS Certified Solutions Architect – Associate Level, AWS Certified SysOps Administrator – Associate Level Introduction The following document provides an overview of one of the latest offerings from cloud leader Amazon Web Services (AWS). It’s a product that will enable powerful, massively scalable relational databases in Amazon’s cloud environment. The product was designed, built, and tested in secret over the past three years, and now it is nearly ready for production workloads. Some of its detailed design remains confidential, so we’ll present the released features and functionality, as well as pricing for this exciting new product. Background In November 2014, at Amazon Web Services’ annual conference re:Invent, Andy Jassy introduced a series of revolutionary new products. Among those new products is the product described in this paper, which is based on AWS’s hugely successful Relational Database Service (RDS). So what’s this new product, you ask? It’s Amazon Aurora for RDS. Aurora is MySQL compatible database solution that will enable highly scalable databases running across multiple AWS availability zones, at a very low price point. It’s designed to deliver the performance and availability of commercial grade databases at the simplicity and price point of open source databases. What is Amazon Aurora? Aurora is a MySQL compatible database engine that far exceeds the current size limitations of relational databases running on RDS. It spans three AWS availability zones within a region. The great news is that if you already use or are familiar with RDS, you’re already going to be comfortable configuring Aurora.
    [Show full text]
  • “Jeff, What Does Day 2 Look Like?” That's a Question I Just Got at Our
    “Jeff, what does Day 2 look like?” That’s a question I just got at our most recent all-hands meeting. I’ve been reminding people that it’s Day 1 for a couple of decades. I work in an Amazon building named Day 1, and when I moved buildings, I took the name with me. I spend time thinking about this topic. “Day 2 is stasis. Followed by irrelevance. Followed by excruciating, painful decline. Followed by death. And that is why it is always Day 1.” To be sure, this kind of decline would happen in extreme slow motion. An established company might harvest Day 2 for decades, but the final result would still come. I’m interested in the question, how do you fend off Day 2? What are the techniques and tactics? How do you keep the vitality of Day 1, even inside a large organization? Such a question can’t have a simple answer. There will be many elements, multiple paths, and many traps. I don’t know the whole answer, but I may know bits of it. Here’s a starter pack of essentials for Day 1 defense: customer obsession, a skeptical view of proxies, the eager adoption of external trends, and high-velocity decision making. True Customer Obsession There are many ways to center a business. You can be competitor focused, you can be product focused, you can be technology focused, you can be business model focused, and there are more. But in my view, obsessive customer focus is by far the most protective of Day 1 vitality.
    [Show full text]
  • Rose Gardner Mysteries
    JABberwocky Literary Agency, Inc. Est. 1994 RIGHTS CATALOG 2019 JABberwocky Literary Agency, Inc. 49 W. 45th St., 12th Floor, New York, NY 10036-4603 Phone: +1-917-388-3010 Fax: +1-917-388-2998 Joshua Bilmes, President [email protected] Adriana Funke Karen Bourne International Rights Director Foreign Rights Assistant [email protected] [email protected] Follow us on Twitter: @awfulagent @jabberworld For the latest news, reviews, and updated rights information, visit us at: www.awfulagent.com The information in this catalog is accurate as of [DATE]. Clients, titles, and availability should be confirmed. Table of Contents Table of Contents Author/Section Genre Page # Author/Section Genre Page # Tim Akers ....................... Fantasy..........................................................................22 Ellery Queen ................... Mystery.........................................................................64 Robert Asprin ................. Fantasy..........................................................................68 Brandon Sanderson ........ New York Times Bestseller.......................................51-60 Marie Brennan ............... Fantasy..........................................................................8-9 Jon Sprunk ..................... Fantasy..........................................................................36 Peter V. Brett .................. Fantasy.....................................................................16-17 Michael J. Sullivan ......... Fantasy.....................................................................26-27
    [Show full text]
  • Amazon Documentdb Deep Dive
    DAT326 Amazon DocumentDB deep dive Joseph Idziorek Antra Grover Principal Product Manager Software Development Engineer Amazon Web Services Fulfillment By Amazon © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Agenda What is the purpose of a document database? What customer problems does Amazon DocumentDB (with MongoDB compatibility) solve and how? Customer use case and learnings: Fulfillment by Amazon What did we deliver for customers this year? What’s next? © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Purpose-built databases Relational Key value Document In-memory Graph Search Time series Ledger Why document databases? Denormalized data Normalized data model model { 'name': 'Bat City Gelato', 'price': '$', 'rating': 5.0, 'review_count': 46, 'categories': ['gelato', 'ice cream'], 'location': { 'address': '6301 W Parmer Ln', 'city': 'Austin', 'country': 'US', 'state': 'TX', 'zip_code': '78729'} } Why document databases? GET https://api.yelp.com/v3/businesses/{id} { 'name': 'Bat City Gelato', 'price': '$', 'rating': 5.0, 'review_count': 46, 'categories': ['gelato', 'ice cream'], 'location': { 'address': '6301 W Parmer Ln', 'city': 'Austin', 'country': 'US', 'state': 'TX', 'zip_code': '78729'} } Why document databases? response = yelp_api.search_query(term='ice cream', location='austin, tx', sort_by='rating', limit=5) Why document databases? for i in response['businesses']: col.insert_one(i) db.businesses.aggregate([ { $group: { _id: "$price", ratingAvg: { $avg: "$rating"}} } ]) db.businesses.find({
    [Show full text]
  • 11 Cool Things.Cwk
    “Impress your students and friends!” 11 Cool Things to do with your iBook 1. Sherlock - Translating words and phrases Using the Translation channel in Sherlock, you can translate words and phrases between a number of different languages. For example, you can translate "apple" from English to French. 1. Open Sherlock and click Translation. 2. Type the word or phrase you want to translate in the Original Text box. 3. Choose the original language and the language you want to translate the word into from the pop-up menu, then click Translate. 4. You can select and copy the translation, then paste it into another application. 2. Safari - 3 Cool Things! 1. Built-in Google search - Safari includes Google searching in the address bar. Just type what you're looking for in the search box and press Return. 2. SnapBack as you browse - Safari lets you quickly return to your starting web page by clicking the SnapBack button in the address box. 3. Blocking pop-up windows - Safari can block pop-up windows so that you only see the web pages you want to see. Just choose Block Pop-up Windows from the Safari menu. 3. Any selected text can be spoken by your iBook. Do this: 1. Choose Apple menu > System Preferences and click Speech. 2. Click Spoken User Interface. 3. To have the computer speak the text that's highlighted when you press specific keys, select the "Selected text when the key is pressed" checkbox and enter the key or keys to press. For example, if you select a sentence on a web page and then press the keys you entered in the Spoken User Interface pane, the computer speaks the sentence.
    [Show full text]