We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f88894c commit f94096fCopy full SHA for f94096f
speech/src/transcribe_sync.php
@@ -68,7 +68,7 @@
68
$transcript = $mostLikely->getTranscript();
69
$confidence = $mostLikely->getConfidence();
70
printf('Transcript: %s' . PHP_EOL, $transcript);
71
- $result = new Array();
+ $result = Array();
72
$result['result'] = htmlentities((string)$transcript);
73
echo json_encode($result);
74
break;
0 commit comments