2014年12月16日火曜日

Android Wearが初期状態でどの程度の言葉に反応するのか検証してみた。

こんにちは。

1.template

==============================
この投稿は Android Advent Calendar 2014の[16]日目の記事です。
次の人
sakebook
前の人
konifar
なので今回はまだ誰も書いていないwearのボイスアクション(日本語)のまとめがなさそうだったので、書きます。

対象者は一般ユーザー向けです。

開発についての事ではないです。


3.対象OSと検証方法

対象OS

Nexus5
Android 5.0 Lollipop
Android Wear 4.4W2
インストール初期の状態

検証方法

OK Google, ○○○○と端末から5cmはなれたところで言う
明らかな誤字は無視。
検索でない画面が出たらOKとする
 
4.検証
公式サイトによると

NameExample PhrasesIntent
Call a car/taxi"OK Google, get me a taxi"

"OK Google, call me a car"
Action
com.google.android.gms.actions.RESERVE_TAXI_RESERVATION

Take a note"OK Google, take a note"

"OK Google, note to self"
Action
android.intent.action.SEND
Category
com.google.android.voicesearch.SELF_NOTE
Extras
android.content.Intent.EXTRA_TEXT - a string with note body
Set alarm"OK Google, set an alarm for 8 AM"

"OK Google, wake me up at 6 tomorrow"
Action
android.intent.action.SET_ALARM
Extras
android.provider.AlarmClock.EXTRA_HOUR - an integer with the hour of the alarm.
android.provider.AlarmClock.EXTRA_MINUTES - an integer with the minute of the alarm
(these 2 extras are optional, either none or both are provided)
Set timer"Ok Google, set a timer for 10 minutes"
Action
android.intent.action.SET_TIMER
Extras
android.provider.AlarmClock.EXTRA_LENGTH - an integer in the range of 1 to 86400 (number of seconds in 24 hours) representing the length of the timer
Start/Stop a bike ride"OK Google, start cycling"

"OK Google, start my bike ride"

"OK Google, stop cycling"
Action
vnd.google.fitness.TRACK
Mime Type
vnd.google.fitness.activity/biking
Extras
actionStatus - a string with the value ActiveActionStatus when starting and CompletedActionStatus when stopping.
Start/Stop a run"OK Google, track my run"

"OK Google, start running"

"OK Google, stop running"
Action
vnd.google.fitness.TRACK
MimeType
vnd.google.fitness.activity/running
Extras
actionStatus - a string with the value ActiveActionStatus when starting and CompletedActionStatus when stopping
Start/Stop a workout"OK Google, start a workout"

"OK Google, track my workout"

"OK Google, stop workout"
Action
vnd.google.fitness.TRACK
MimeType
vnd.google.fitness.activity/other
Extras
actionStatus - a string with the value ActiveActionStatus when starting and CompletedActionStatus when stopping
Show heart rate"OK Google, what’s my heart rate?"

"OK Google, what’s my bpm?"
Action
vnd.google.fitness.VIEW
Mime Type
vnd.google.fitness.data_type/com.google.heart_rate.bpm
Show step count"OK Google, how many steps have I taken?"

"OK Google, what’s my step count?"
Action
vnd.google.fitness.VIEW
Mime Type
vnd.google.fitness.data_type/com.google.step_count.cumulative
の9種類があるそうです。

5.検証結果

1.Call a car/taxi

これはタクシーを呼ぶコマンドです。
これは実装されていないのか
「タクシー読んで」
「車呼んで」
と言うコメントにも反応がありませんでした。

2.Take a note


これはメモを取るコマンドです。
・いけた物
 「ノートを取って」
 「記録して」
 「メモとって」
 「書いて」
 「書いといて」
・ダメだった物
 「メモ」
 「書物にまとめておいて」
 「ログとっておいて」

 書くに関係する単語はいけたが記録をするに重点をおいたものはダメだった。


3.Set alarm

これはアラームをセットするコマンドです。
・いけたもの
 「アラームをセットして」
 「アラームを○○分後/○○時にセットして」
・ダメだったもの
 「アラーム」
 「○分後に教えて」
 「○分後に知らせて」
 「○分後に報告して」

アラームという単語が出ないと反応しない

4.Set timer

これはタイマーをセットするコマンドです。
・いけたもの
 「タイマーをセットして」
 「タイマーを10分後にセットして」
・ダメだったもの
 「10秒待って」
「10数えて」



タイマーという単語が出ないと反応しない


5.Start/Stop a bike ride

これは自転車に乗った、乗り終わった時に知らせるコマンドです。
・ダメだったもの「自転車乗った」
「自転車乗る」
「自転車降りる」
「ちゃり降りる」
「ちゃり」

残念ながらどうも日本語対応はしていない模様。


6.Start/Stop a run

これは走ったとき、走り終わった時に知らせるコマンドです。
ダメだったもの
「走る」
「走ってる」
「早歩き」
「歩く」
「歩いてる」


これも、残念ながらどうも日本語対応はしていない模様。


7.Start/Stop a workout

仕事を始めた時、終わった時に知らせるコマンドです。
ダメだったもの
「仕事始める
「仕事開始」
「仕事始め」
「タスクする」
「業務開始」


これも、残念ながらどうも日本語対応はしていない模様。


8.Show heart rate

心拍数を表示するコマンドです。
・いけたもの
「心拍数を表示して」
「心拍数」

・ダメだったもの
「心拍数が見たい」

「心拍数が気になる」

微妙に対応している模様
Fitが入っているからなのか

9.Show step count

万歩計の歩数を表示するコマンドです。

・いけたもの
「万歩計を表示して」

・ダメだったもの
「万歩計」
「万歩計のデータみたい」
「万歩計が気になる」

なぜか表示してだと認識しました。

6.まとめ

今回の内容的にも進捗がないのが見て取れますね……。正直申し訳なさあります。
技術的な内容でなくAndroid Advent Calendarの水準を下げてしまった感があるので
来年はがんばりたい。

デフォルトだと赤い内容のアプリが入っていない模様なので
そこら辺のIntent受け取るアプリを開発すれば市場開拓できると思います。




0 件のコメント:

コメントを投稿