EX_RECOGN$


 [機能] 音声認識で入力された文字列を返します。

 [書式] EX_RECOGN$(n)

 [説明]
  最初に s$=ex_recogn$(0) の記述で音声認識のダイアログが表示されるので
  スマートフォンに向かって入力する言葉を話しかけて下さい。
  入力が終わると文字変数に入力された文字列が入ります。
  数秒間何も音声入力がないとダイアログは閉じてヌルストリング""を返します。
  また認識された言葉の候補は複数あるので n の値を1,2...と変えることで
  次の候補の文字列を取得できます。(候補がこれ以上ない場合はヌルストリング""を返します)
  入力される言語の種類はAndroidの設定の’言語と入力’>’言語’で選んだものになります。
 [例]
     10 s$=ex_recogn$(0)
     20 print s$
     30 i=1
     40 while ex_recogn$(i)<>""
     50 print ex_recogn$(i):i=i+1
     60 wend



  EX_RECOGN$


 [Features] To return string that have been entered in the speech recognition.

 [Format] EX_RECOGN$(n)

 [Explanation]
     First, by description of 's$=ex_recogn$(0)',
      the dialogue of speech recognition is indicated,
      please speak the word input to the smart phone.
     When the input is finished, input string assignment to string variable.
     When there are no voice input for a few seconds,
      dialog is closed and return null-string("").
     Since the candidates of recognized words is more than one,
      by changing the value of n to 1,2... and,
      be able to get the string for the next candidate.
     When there are no candidates any more, to return null-string.
     The kind of language inputted will be the one chosen
      by (Android setting) 'Language and Input'>'Language'.

 [e.g.]
    10 s$=ex_recogn$(0)
    20 print s$
    30 i=1
    40 while ex_recogn$(i)<>""
    50 print ex_recogn$(i):i=i+1
    60 wend