Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Microsoft Translator APIを使ってみた
Search
S-cubism
November 17, 2017
Technology
170
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Microsoft Translator APIを使ってみた
S-cubism
November 17, 2017
Transcript
17 slides
Microsoft Translator API を使ってみた (結論: MSさん、もう少し頑張ってください)
まず、はじめに
自己紹介から だいもん かずと 大門 和斗 2012年 新卒としてエスキュービズムに入社 2013年 プライムアゲインに転職 -
DecoAlbum という iOSアプリを開発 2015年 独立して現在の会社を設立 - 株式会社ブルームソフト(現在 3名でやっています)
Microsoft Translator APIとは ・Microsoft の Cognitive Service のひとつ ・Cognitive ServiceはAIを活用したMSの提供サービス
他にも、「視覚」「音声」「知識」「言語」「検索」などの種類を提供
Microsoft Translator APIとは MS Translator Speech と MS Translator Text
Speech は 音声データを受信して、翻訳後のデータをテキ ストとして返してくれるAPI Text はテキストデータを受信して、翻訳後のデータをテキ ストとして返してくれるAPI
Microsoft Translator APIとは MS Translator Server Socket通信で音声データ をストリーミング配信 翻訳結果Stringデータとし て返却
しかし・・・ 実装上は正しいが、
MS Translator Server 1秒に1回ずつ断片的な音 声データを送信 最初のレスポンスまで 3~4秒程度かかる… レスポンスが遅いと UXが非常に悪い
そこで、
Apple 社の提供する SFSpeechRecognizer を試してみた
SFSpeechRecognizer とは ・Appple の Siri の技術に使われている音声認識機能 ・それをiOSのSDKから利用できるようになったもの ※iOS では iOS
10.0 以降でのみ利用可能 英語、日本語 他 21もの言語の音声認識に対応
Apple SFSpeechRecognizer + MS Translator Text API Apple Speech Recognizer
Server Socket通信で音声データ をストリーミング配信 音声を話された言語のテ キストとして返却 MS Translator Server 翻訳対象のテキストデー タを送信 翻訳後のデータをテキス トとして返却
Apple SFSpeechRecognizer + MS Translator Text API Apple Speech Recognizer
Server 音声認識のレスポンスは平均 0.5秒 MS Translator Server MSのテキスト翻訳は高速
デモ 簡単にデモをしたいと思います。
結論 MS Translator Speech Apple Speech Recognizer + MS Translator
Text 認識速度 低速(遅いと4秒以上かかる) 高速(UXが非常に良い) 翻訳精度 高い まあまあ (なぜ、Text翻訳の方が精度が低いの かは謎です) メリット ワンストップで音声認識から翻 訳までが行える 認識精度が非常に良く、高速である デメリット 認識精度が悪く、低速である Apple のSpeech Recognizerと別途テキスト翻 訳機能が必要
今後 ・Google 翻訳APIでも試してみたい → Apple よりも速く精度が高い可能性あり? ※ どなたか試した方がいたら教えてください ・双方の利点、欠点があるので、作りたいアプリによって切り替 えると良いかも
以上です ありがとうございました
More Decks by S-cubism
See All by S-cubism
WSLでreactの開発環境作った話
scubism
0
750
未経験者がAndroidアプリをリリースするまで
scubism
0
160
scubism_LT_20180223_細田謙二_イベントソーシング
scubism
0
170
REVEAL.JSをちょっとだけ使ってみた
scubism
0
290
忙しい人のための仮想通貨
scubism
0
140
サーバ作業の注意コマンド
scubism
0
160
最近勉強してること、次にやりたいこと
scubism
0
130
FOOD TECH
scubism
0
82
Firebase(Realtime Database)について
scubism
0
140
Other Decks in Technology
See All in Technology
ゼロから作るWebアプリの新定番!?Amplify Gen 2 × AWS Blocksで実現する「開発速度とRDBの柔軟性のいいとこ取り」
amixedcolor
1
240
属人化したISMS運用をGitHubとAIで仕組み化した1年間の記録
sioncojp
4
2.1k
Context != Context: One window, many lifecycles (AI Native DevCon, Nov 2026)
birgitta410
0
100
Metadata - Section 3 : Dublin Core Standard · DC
mohab1
0
130
複数システムが同居した 15 年物の AWS アカウントを解体するための考古学
wa6sn
3
120
Kiro IDE 入門 (画面の各部から、頼み方、任せ方、戻し方まで) | 目指せ Kiro マスター 02
inariku
PRO
4
200
AI時代における医療情報システムのセキュリティ / Security of Healthcare IT Systems in the AI Era
henryofficial
0
140
「AIチャットからもできないの?」と言われたら ~業務アプリをMCP対応するときの認証・認可の勘所
oidfj
0
290
IBC 2026 動画技術関連レポート / IBC 2026 Report
cyberagentdevelopers
PRO
2
450
少ない人手 限られた予算 それでも守る 消せない・見つける・戻れる オールハザード型BCP on AWS / 20261107 Mitsutoshi Matsuo
shift_evolve
PRO
0
350
レガシーコードに対する loop engineering的なAI開発プロセス導入について
kubell_hr
0
330
Ebitengine製iOSアプリ公開ボタンを押す会
eiei114
0
120
Featured
See All Featured
Game over? The fight for quality and originality in the time of robots
wayneb77
1
330
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
480
Java REST API Framework Comparison - PWX 2021
mraible
34
9.8k
Chasing Engaging Ingredients in Design
codingconduct
0
390
So, you think you're a good person
axbom
PRO
2
2.3k
Optimizing for Happiness
mojombo
378
71k
AI: The stuff that nobody shows you
jnunemaker
PRO
11
1.3k
Accessibility Awareness
sabderemane
1
290
Thoughts on Productivity
jonyablonski
76
5.5k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
620
Between Models and Reality
mayunak
4
570
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.4k