Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Natural Language APIとその裏側を覗く

Natural Language APIとその裏側を覗く

08/28 potatotips #43の登壇資料です。5分に収まるように削らなかったバージョンはこちら→https://speakerdeck.com/akatsuki174/natural-language-apitosofalseli-ce-wosi-ku-wan-quan-ban

akatsuki174

August 27, 2017
Tweet

More Decks by akatsuki174

Other Decks in Technology

Transcript

  1. Natural Language APIͱ
    ͦͷཪଆΛ೷͘
    @akatsuki174

    View full-size slide

  2. ࣗݾ঺հ
    • ਢ౻ຘ
    • iOSΤϯδχΞ
    • גࣜձࣾZaimॴଐ
    • Twitter, Qiita, SlideShare, Github,
    SpeakerDeck
    →akatsuki174

    View full-size slide

  3. એ఻̍
    10/13(ۚ)ɺ10/20(ۚ)ͷ2days 19:20ʙ

    View full-size slide

  4. એ఻̎
    9/1(ۚ) 19:30ʙ

    View full-size slide

  5. ࠓճͷࢿྉ͸ɺ͜ͷొஃࢿྉΛ࡞ΔաఔͰ୤ઢͯ͠
    ௐ΂ͨ͜ͱΛ·ͱΊͨࢿྉʹͳΓ·͢ɻ
    9/17(೔) Track C 14:40ʙΑΖ͓͘͠ئ͍͠·͢ʂ

    View full-size slide

  6. ɾNatural Language Processing and your
    ɹApps[WWDC 2017]ͷͬ͘͟Γͱͨ͠಺༰
    ɾཪଆͰ࢖ΘΕ͍ͯΔٕज़ʹ͍ͭͯ
    ࠓ೔࿩͢͜ͱ

    View full-size slide

  7. ɾϑΝʔετύʔςΟΞϓϦͰͲͷΑ͏ͳ
    ɹ׆༻͕͞ΕΔ͔
    ɾNLP APIͱ͸
    ɾ͋ͳͨͷΞϓϦͰͲͷΑ͏ʹ࢖͏ͱ
    ɹྑ͍͔ʢͨͿΜɻ·ͩશ෦؍ͯͳ͍ʣ
    Natural Language
    Processing and your Apps

    View full-size slide

  8. ɾϑΝʔετύʔςΟΞϓϦͰͲͷΑ͏ͳ
    ɹ׆༻͕͞ΕΔ͔
    ɾNLP APIͱ͸
    ɾ͋ͳͨͷΞϓϦͰͲͷΑ͏ʹ࢖͏ͱ
    ɹྑ͍͔ʢͨͿΜɻ·ͩશ෦؍ͯͳ͍ʣ
    Natural Language
    Processing and your Apps

    View full-size slide

  9. Natural Language Processing and your Apps
    https://developer.apple.com/videos/play/wwdc2017/208/
    Go to iMessage app

    View full-size slide

  10. Natural Language Processing and your Apps
    https://developer.apple.com/videos/play/wwdc2017/208/
    Go to News app

    View full-size slide

  11. Natural Language Processing and your Apps
    https://developer.apple.com/videos/play/wwdc2017/208/
    Back to iMessage app

    View full-size slide

  12. ݻ༗දݱநग़ͷٕज़Λ࢖͍ͬͯΔ
    ͷͰɺͦ͜Λ۷ΓԼ͛ͯΈ·͢
    ʢҎԼɺiOS͸શؔ͘܎ͳ͍࿩ʹͳΓ·͢ʣ
    ͓ͦΒ͘ɺ

    View full-size slide

  13. ݻ༗໊ࢺʢਓ໊ɺ஍໊౳ʣɺ࣌ؒදݱ
    ʢ೔෇ɺ࣌ࠁʣͳͲΛςΩετ͔Βநग़͢Δ
    ٕज़
    ݻ༗දݱநग़ͱ͸

    View full-size slide

  14. ɾ࣭໰Ԡ౴γεςϜɺର࿩γεςϜɹ
    ɹʢWatsonɺνϟοτϘοτ౳ʣ
    ɾ৘ใநग़
    ݻ༗දݱநग़ͷ׆༻υίϩ

    View full-size slide

  15. ɾ࣭໰Ԡ౴γεςϜɺର࿩γεςϜɹ
    ɹʢWatsonɺνϟοτϘοτ౳ʣ
    ɾ৘ใநग़
    ݻ༗දݱநग़ͷ׆༻υίϩ
    ࣗવݴޠ͔Βݻ༗දݱΛநग़͠ɺͦͷݻ༗දݱΛ
    ΫΤϦͱͯ͠౤͛ͯจॻݕࡧΛߦ͏ɻಘΒΕͨճ౴
    ͱݻ༗දݱΛ΋ͱʹճ౴ީิΛ࡞੒͠ɺͦͷதͰ
    είΞ͕ߴ͍΋ͷΛճ౴ͱ͢Δɻ

    View full-size slide

  16. ࣭໰Ԡ౴γεςϜɺର࿩γεςϜ
    ौ୩Ͱ໌೔19:30͔Β༧໿
    Ͱ͖ΔళΛ୳ͯ͠ʂ
    q=ौ୩, ໌೔19:30
    ճ౴ީิ࡞੒
    ※࣮ࡍʹ͸ଞͷޠ΋౤͍͛ͯΔ͸ͣ
    ͳΔ΄Ͳ͒ʂ
    είΞܭࢉ

    View full-size slide

  17. ɾ࣭໰Ԡ౴γεςϜɺର࿩γεςϜɹ
    ɹʢWatsonɺνϟοτϘοτ౳ʣ
    ɾ৘ใநग़
    ݻ༗දݱநग़ͷ׆༻υίϩ
    ༧ΊܾΊͨʮ஌Γ͍ͨ͜ͱ߲໨ʯΛຒΊΔܗͰ৘ใ
    Λநग़͢Δ͜ͱɻߏ଄Խ͞Ε͍ͯͳ͍ςΩετ৘ใ
    Λߏ଄Խ͞Εͨσʔλϕʔεܗࣜʹม׵͢Δ͜ͱͱ
    ΋ଊ͑Δ͜ͱ͕Ͱ͖Δɻ

    View full-size slide

  18. ݻ༗දݱநग़ͷ׆༻υίϩ
    ࡢ೔͋ͬͨ஍਒ͷ࠷େ਒౓ɺ
    Ϛάχνϡʔυɺ਒ݯ஍ʹ
    ͍ͭͯ஌Γ͍ͨ
    ਒౓ ʔʔʔ
    Ϛάχνϡʔυ Mʔ
    ਒ݯ஍ ʙݝʙࢢ
    ※ͪΐͬͱΠϝʔδਤҧ͏͔΋
    ςΩετ͔Βݻ༗දݱΛநग़

    View full-size slide

  19. ɾ஌ࣝϕʔεख๏
    ɾ౷ܭతख๏
    ݻ༗දݱநग़Λ͢Δʹ͸

    View full-size slide

  20. ɾنଇʢύλʔϯʣΛਓखͰ࡞੒͠ɺ
    ɹͦΕʹ౰ͯ͸·Δ΋ͷΛநग़͢Δ
    ɹྫʣ໊ࢺʴʮ͞Μʯˠਓ໊
    ɹɹɹ໊ࢺʴʮࢯʯˠ஍໊
    ɾنଇΛ໢ཏతʹߏங͠Α͏ͱ͢Δͱ
    ɹലେͳίετ͕͔͔Δ
    ஌ࣝϕʔεख๏

    View full-size slide

  21. ɾڭࢣ͋ΓֶशΛͤ͞ɺநग़نଇΛࣗಈ
    ɹֶश͢ΔΑ͏ʹ͢Δ
    ɾSVMʢSupport Vector Machine / ࣝผ
    ɹؔ਺ʣ΍CRFʢConditional Random
    ɹFields / ࣝผϞσϧʣ͕༗໊
    ౷ܭతख๏

    View full-size slide

  22. ɾͰ΋NLP APIͰ͸ͦΜͳ͜ͱΛؾʹͤͣ
    ɹ݁Ռ͚ͩಘΔ͜ͱ͕Ͱ͖·͢
    ɾ΋͏গ͠ৄ͍͠࿩ͱ͔ࣗવݴޠॲཧͷ
    ɹΦΠγΠ࿩͸iOSDCͰ͢Δ͔΋ɻ
    ೉ͦ͠͏ɻ

    View full-size slide

  23. ※ϊʔΧοτ൛ͷࢿྉ͸ͪ͜Βɻ
    ͓ΘΓ
    https://speakerdeck.com/akatsuki174/natural-language-
    apitosofalseli-ce-wosi-ku-wan-quan-ban

    View full-size slide