Slide 1

Slide 1 text

Alexa ͱ Polly ͱࢲ 2018-02-11 Alexa Day 2018 ϥϯνηογϣϯ ΞΠϨοτגࣜձࣾ ࢁޱ༩ྗ GitHub: @y13i, Twitter: @y015i

Slide 2

Slide 2 text

ఏɹɹɹɹڙ

Slide 3

Slide 3 text

த్޲͚ΧδϡΞϧઆ໌ձ։࠵ͯ͠·͢ʂʂʂʂ https://cloudpack.jp/recruit/

Slide 4

Slide 4 text

࣍ճ։࠵͸େࡕɺ݄೔ʢਫʣͰ͢

Slide 5

Slide 5 text

Polly AWS ͷ Text to Speech αʔϏε re:Invent 2016 Ͱൃද

Slide 6

Slide 6 text

Alexa Ҏ֎͕஻Δ Alexa Skill Λ࡞ΕΔ • Alexa ͸ঁੑͷ੠͔ͩΒɺஉੑͷ੠Ͱ஻ΔεΩϧ͸ҙ֎ੑ͕͋Δ͔΋ʁʁ • ೔ຊޠΛ஻Δஉੑͷ੠ʢTakumiʣ͕2017೥10݄ʹ௥Ճ͞Εͨ • ֎ࠃޠ΋ OK! • ݱ࣌఺Ͱ18ݴޠʢํݴΛؚΊΔͱ25छྨʣɺ52Ի੠ͷϥΠϯφοϓ • $ aws polly describe-voices • σόΠεʢEcho etc.ʣͷݴޠઃఆΛແࢹͯ͠֎ࠃޠΛ஻ΒͤΔ

Slide 7

Slide 7 text

Ͳ͏΍࣮ͬͯ૷͢Δ͔ • ·ͣ Polly Ͱग़ྗͨ͠Ի੠ϑΝΠϧΛ S3 ʹஔ͘ • Alexa Skill ͰͦͷԻ੠ϑΝΠϧΛ࠶ੜͤ͞Δʹ͸2ͭํ๏͕͋Δ • ୹࣌ؒɺ௿Ի࣭ͳΒ SSML ͷதʹ ཁૉͱͯ͠ຒΊࠐΊΔ • 48 kbpsɺ16000 Hzɺ1Ϩεϙϯεʹ5ϑΝΠϧ·Ͱɺ߹ܭ90ඵҎ಺ • ͦΕҎ্ͷ৔߹͸ AudioPlayer ΠϯλʔϑΣΠεΛ࢖͏

Slide 8

Slide 8 text

ߏ੒͸͜Μͳײ͡ AVS Enabled Device Alexa Skill AWS Lambda Amazon S3 Amazon Polly

Slide 9

Slide 9 text

΍ͬͯΈͨ • ·ͣ͸ී௨ʹ Alexa ʹΑΔ࿕ಡ ී௨ʹಡΜͰ

Slide 10

Slide 10 text

΍ͬͯΈͨ • ·ͣ͸ී௨ʹ Alexa ʹΑΔ࿕ಡ ɹ੿ऀ਌ํͱਃ͢͸ɺ ޚཱձͷ಺ʹޚଘ஌ͷޚํ΋ޚ࠲Γ·͠ΐ͏͕ɺ ޚߐށΛൃͬͯೋेཬ্ํɺ ૬भখాݪҰ৭ொΛޚա͗ͳ͞Εͯɺ ੨෺ொΛ্Γ΁ޚग़Ͱͳ͞ΔΕ͹ɺ ཝׯڮދ԰౻ӈӴ໳ɺ ୞ࠓͰ͸ం൅கͯ͠ᅵࡈͱ໊৐Γ·͢Δɻ ŠŠʰ֎࿠ചʱ๯಄ ී௨ʹಡΜͰ

Slide 11

Slide 11 text

΍ͬͯΈͨ • ࣍ɺPolly ͷ೔ຊޠঁੑԻ੠ Mizuki ʹΑΔ࿕ಡ ϛζΩʹಡ·ͤͯ ɹ੿ऀ਌ํͱਃ͢͸ɺ ޚཱձͷ಺ʹޚଘ஌ͷޚํ΋ޚ࠲Γ·͠ΐ͏͕ɺ ޚߐށΛൃͬͯೋेཬ্ํɺ ૬भখాݪҰ৭ொΛޚա͗ͳ͞Εͯɺ ੨෺ொΛ্Γ΁ޚग़Ͱͳ͞ΔΕ͹ɺ ཝׯڮދ԰౻ӈӴ໳ɺ ୞ࠓͰ͸ం൅கͯ͠ᅵࡈͱ໊৐Γ·͢Δɻ ŠŠʰ֎࿠ചʱ๯಄

Slide 12

Slide 12 text

΍ͬͯΈͨ • ࠷ޙʹ Polly ͷ೔ຊޠஉੑԻ੠ Takumi ʹΑΔ࿕ಡ λΫϛʹಡ·ͤͯ ɹ੿ऀ਌ํͱਃ͢͸ɺ ޚཱձͷ಺ʹޚଘ஌ͷޚํ΋ޚ࠲Γ·͠ΐ͏͕ɺ ޚߐށΛൃͬͯೋेཬ্ํɺ ૬भখాݪҰ৭ொΛޚա͗ͳ͞Εͯɺ ੨෺ொΛ্Γ΁ޚग़Ͱͳ͞ΔΕ͹ɺ ཝׯڮދ԰౻ӈӴ໳ɺ ୞ࠓͰ͸ం൅கͯ͠ᅵࡈͱ໊৐Γ·͢Δɻ ŠŠʰ֎࿠ചʱ๯಄

Slide 13

Slide 13 text

ײ૝ • Alexa ͱ Mizuki ͸΄ͱΜͲҰॹ͔ͱࢥ͍ͬͯͨΒҙ֎ʹҧͬͨ • Alexa ͸͔ͳΓࣗવʹಡΜͰ͘Εͨʢͱࢥ͏ʣɻPolly ΋݈ಆ͍ͯ͠Δ͕ Alexa ʹ܉഑͔ͳ…ʁ • SSML Λ͕Μ͹ͬͯௐ੔͢Ε͹ࣗવͳൃ੠ʹۙͮ͘ • λά͚ͩͰͳ͘ɺ೔ຊޠͰ͸ͻΒ͕ͳɾ׽ࣈΛม͑Δ͚ͩͰ΋χϡΞϯε͕ҧ͏ • VOCALOID γϦʔζΛ৮ͬͨ͜ͱ͕͋Δਓ͸͜͏͍͏࡞ۀ͕ಘҙͩͱࢥ͏ • Alexa ͱ Polly Ͱ͸શମͷԻྔ͕ҟͳΔʢPolly ͷํ͕খ͞Ίʣ • ࠓճ͸ Polly ͷεϐʔνશମΛ ͰғΜͰௐ੔

Slide 14

Slide 14 text

Alexa ͱ Polly ͱࢲ֎࿠ച ͝੩ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠ ࠓ೔ͷσϞͰ࢖༻ͨ͠ίʔυ͸ GitHub Ͱެ։͍ͯ͠·͢: y13i/alexaday2018lt

Slide 15

Slide 15 text

͕࣌ؒ༨ͬͨΒ • ʰ֎࿠ചʱશฤ • Polly 52ਓશһू߹ʂ • ྆ํ