Cloud 如何将识别结果保存到文件中?
我不是程序员。但是需要识别文本中的音频文件。我使用Gcloud控制台识别出音频文件。但是,当我尝试将结果输出到控制台时,会显示一个不完整的结果,并且格式不太合适: gcloud ml语音操作等待4449209833501955641Cloud 如何将识别结果保存到文件中?,cloud,speech,Cloud,Speech,我不是程序员。但是需要识别文本中的音频文件。我使用Gcloud控制台识别出音频文件。但是,当我尝试将结果输出到控制台时,会显示一个不完整的结果,并且格式不太合适: gcloud ml语音操作等待4449209833501955641 ... "alternatives": [ { "confidence": 0.91782826, "transcript": " you can fight... "
...
"alternatives": [
{
"confidence": 0.91782826,
"transcript": " you can fight... "
}
]
},
{
"alternatives": [
{
"confidence": 0.8954131,
"transcript": " all right I'll say it's a it's really good to hear and
let's see if maybe a couple more questions and then I think we'll wrap it up he
re do you trade options at all"
}
]
},
{
"alternatives": [
{
"confidence": 0.9671178,
"transcript": " I do not not right now I mean I got enough where I just think ..."
}
]
},
...
告诉我一个简单的方法来提取结果而不重新识别(文件太大) 您得到的是JSON格式的数据。在没有编程知识的情况下,我建议您使用JSON to xx在线服务。例如,如果您想将此JSON数据转换为.csv文件,您可以在Excel电子表格中打开该文件,您可以使用。谢谢。但这是部分问题的解决方案。如何提取完整结果?在控制台中,我看不到完整的JSON。