Skip to content

Commit

Permalink
Merge pull request #3 from beckandros/master
Browse files Browse the repository at this point in the history
Edits for Polly examples
  • Loading branch information
scmacdon authored Jun 3, 2020
2 parents 4f8b16a + 794af3d commit 8a86ae8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// snippet-sourcedescription:[DescribeVoicesSample Produces a list of all voices available for use when requesting speech synthesis with Amazon Polly..]
// snippet-sourcedescription:[DescribeVoicesSample produces a list of all voices available for use when requesting speech synthesis with Amazon Polly.]
// snippet-service:[Amazon Polly]
// snippet-keyword:[Java]
// snippet-keyword:[Amazon Polly]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public static void listLexicons(PollyClient client) {
// Get each voice
while (iterator.hasNext()) {
LexiconDescription lexDescription = iterator.next();
System.out.println("The name of the Lexicon is " +lexDescription.name());
System.out.println("The name of the lexicon is " +lexDescription.name());
}

} catch (PollyException e) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
public class PollyDemo {

private static final String SAMPLE = "Congratulations. You have successfully built this working demo "+
" of Amazon Polly in Java Version 2. Have fun building voice enabled apps with Amazon Polly (that's me!), and always "+
" look at the AWS website for tips and tricks on using Amazon Polly and other great services from AWS";
" of Amazon Polly in the AWS SDK for Java version 2. Have fun building voice-enabled apps with Amazon Polly (that's me!), and always "+
" look at the AWS website for tips and tricks on using Amazon Polly and other great services from AWS.";

public static void main(String args[]) {

Expand Down

0 comments on commit 8a86ae8

Please sign in to comment.