This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head>yoyo</head> | |
<body> | |
<?php | |
require_once __DIR__.'/vendor/autoload.php'; | |
use ApiAi\Client; | |
try { | |
$client = new Client('11e23882f55148e0a82a5e9dd0457e5a'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#from bing_voice import * | |
import speech_recognition as sr | |
# obtain audio from the microphone | |
r = sr.Recognizer() | |
with sr.Microphone() as source: | |
print("Say something!") | |
audio = r.listen(source) | |
# recognize speech using Microsoft Bing Voice Recognition | |
BING_KEY = "6864f2c3183842f3945ccf32d9bf1906" # Microsoft Bing Voice Recognition API keys 32-character lowercase hexadecimal strings |