Google Cloud Platformã«ã¯Speech APIã¨ããé³å£°èªèãè¡ãããã®æ©è½ãããã¾ããä»åã¯ãã¡ãã®APIã使ã£ã¦ãPythonã§é³å£°ã®æ¥æ¬èªãããã¹ãã«èµ·ããã¦ã¿ããã¨æãã¾ããSpeech APIã®è©³ç´°ã ã¾ããPythonã§é²é³ããããã°ã©ã ã¨åããã¦ä½¿ããã¨ã§ãé²é³ããé³å£°ãã»ã¼ãªã¢ã«ã¿ã¤ã ã«ããã¹ãåããããã°ã©ã ãä½æãããã¾ããã®ã§ããã²åèã«ãã¦ãã ããã é³å£°ãã¡ã¤ã«ãããã¹ãã«ãããµã³ãã«ããã°ã©ã 以ä¸ã«ãµã³ãã«ããã°ã©ã ã示ãã¾ãã #coding:utf8 import base64 from googleapiclient import discovery import httplib2 #APIãã¼ãè¨å® key = "YourAPIKey" #é³å£°èªèã«ä½¿ããã¡ã¤ã«å speech_file = "sample.wav" #URLæ å ±
{{#tags}}- {{label}}
{{/tags}}