{"id":51758,"date":"2024-12-03T13:10:25","date_gmt":"2024-12-03T05:10:25","guid":{"rendered":"https:\/\/fwq.ai\/blog\/51758\/"},"modified":"2024-12-03T13:10:25","modified_gmt":"2024-12-03T05:10:25","slug":"%e8%a7%a3%e5%86%b3linux%e4%b8%ad%e4%bd%bf%e7%94%a8pip%e5%ae%89%e8%a3%85speechrecognition%e6%97%b6%e7%9a%84%e8%bf%9e%e6%8e%a5%e8%b6%85%e6%97%b6%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/51758\/","title":{"rendered":"\u89e3\u51b3Linux\u4e2d\u4f7f\u7528pip\u5b89\u88c5SpeechRecognition\u65f6\u7684\u8fde\u63a5\u8d85\u65f6\u95ee\u9898"},"content":{"rendered":"<p><b><\/b>     <\/p>\n<h1>\u89e3\u51b3Linux\u4e2d\u4f7f\u7528pip\u5b89\u88c5SpeechRecognition\u65f6\u7684\u8fde\u63a5\u8d85\u65f6\u95ee\u9898<\/h1>\n<p>\u4e00\u5206\u8015\u8018\uff0c\u4e00\u5206\u6536\u83b7\uff01\u65e2\u7136\u6253\u5f00\u4e86\u8fd9\u7bc7\u6587\u7ae0<span style=\"color: #FF6600;, Helvetica, Arial, sans-serif;font-size: 14px;background-color: #FFFFFF\">\u300a\u89e3\u51b3Linux\u4e2d\u4f7f\u7528pip\u5b89\u88c5SpeechRecognition\u65f6\u7684\u8fde\u63a5\u8d85\u65f6\u95ee\u9898\u300b<\/span>\uff0c\u5c31\u575a\u6301\u770b\u4e0b\u53bb\u5427\uff01\u6587\u4e2d\u5185\u5bb9\u5305\u542b<span style=\"color: #FF6600;, Helvetica, Arial, sans-serif;font-size: 14px;background-color: #FFFFFF\"><\/span>\u7b49\u7b49\u77e5\u8bc6\u70b9&#8230;\u5e0c\u671b\u4f60\u80fd\u5728\u9605\u8bfb\u672c\u6587\u540e\uff0c\u80fd\u771f\u771f\u5b9e\u5b9e\u5b66\u5230\u77e5\u8bc6\u6216\u8005\u5e2e\u4f60\u89e3\u51b3\u5fc3\u4e2d\u7684\u7591\u60d1\uff0c\u4e5f\u6b22\u8fce\u5927\u4f6c\u6216\u8005\u65b0\u4eba\u670b\u53cb\u4eec\u591a\u7559\u8a00\u8bc4\u8bba\uff0c\u591a\u7ed9\u5efa\u8bae\uff01\u8c22\u8c22\uff01<\/p>\n<p><strong>Linux\u4e0b\u4f7f\u7528pip\u5b89\u88c5SpeechRecognition<\/strong><\/p>\n<p>\u7ecf\u5e38\u4f1a\u770b\u5230\u4ee3\u7801<code>import speechrecognition as sr<\/code>\u8fd9\u7c7b\u7684\u8bed\u53e5\uff0c\u67e5\u9605\u76f8\u5173\u8d44\u6599\u9700\u8981\u5229\u7528pip\u6765\u5b89\u88c5SpeecchRecognition\u3002\u9996\u5148\u5728Linux\u4e0b\u5b89\u88c5pip\uff0c\u7136\u540e\u901a\u8fc7\u547d\u4ee4<code>pip install SpeechRecognition<\/code>\u8fdb\u884c\u5b89\u88c5\u3002\u603b\u662f\u4f1a\u51fa\u73b0\u4e00\u5927\u6bb5\u7ea2\u5b57\uff08\u5927\u81f4\u610f\u601d\u8fde\u63a5\u7b2c\u4e09\u65b9\u5e93\u7f51\u7edc\u8d85\u65f6\uff09\uff0c\u7ea2\u5b57\u5185\u5bb9\u5927\u81f4\u5982\u4e0b\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.17golang.com\/uploads\/20240327\/17115221006603c13444704.png\" class=\"aligncenter\" title=\"\u89e3\u51b3Linux\u4e2d\u4f7f\u7528pip\u5b89\u88c5SpeechRecognition\u65f6\u7684\u8fde\u63a5\u8d85\u65f6\u95ee\u9898\u63d2\u56fe\" alt=\"\u89e3\u51b3Linux\u4e2d\u4f7f\u7528pip\u5b89\u88c5SpeechRecognition\u65f6\u7684\u8fde\u63a5\u8d85\u65f6\u95ee\u9898\u63d2\u56fe\" \/><\/p>\n<p>\u7f51\u4e0a\u67e5\u4e86\u597d\u591a\u8d44\u6599\uff0c\u6709\u7684\u8bf4\u662f\u6539\u53d8\u4e00\u4e0b\u5b57\u6bcd\u5927\u5c0f\u5199\u7136\u540e\u5728\u8fd8\u539f\u4ee5\u524d\u7684\u5c31\u53ef\u4ee5\uff0c\u6d4b\u8bd5\u4e86\u4e00\u4e0b\u65e0\u6548\uff01\uff01\uff01<br \/>\u627e\u4e86\u597d\u4e45\u6700\u7ec8\u627e\u5230\u4e86\u89e3\u51b3\u529e\u6cd5\uff01\uff01\uff01\uff01<br \/>\u89e3\u51b3\u65b9\u6cd5\uff1a<br \/>pip\u6307\u5b9a\u5b89\u88c5\u6e90\u8fdb\u884c\u5b89\u88c5\uff1apip install -i https:\/\/pypi.tuna.tsinghua.edu.cn\/simple SpeechRecognition<br \/>\u5b9e\u6d4b\u6709\u6548\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.17golang.com\/uploads\/20240327\/17115221006603c1344a358.png\" class=\"aligncenter\" title=\"\u89e3\u51b3Linux\u4e2d\u4f7f\u7528pip\u5b89\u88c5SpeechRecognition\u65f6\u7684\u8fde\u63a5\u8d85\u65f6\u95ee\u9898\u63d2\u56fe1\" alt=\"\u89e3\u51b3Linux\u4e2d\u4f7f\u7528pip\u5b89\u88c5SpeechRecognition\u65f6\u7684\u8fde\u63a5\u8d85\u65f6\u95ee\u9898\u63d2\u56fe1\" \/><\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u300a\u89e3\u51b3Linux\u4e2d\u4f7f\u7528pip\u5b89\u88c5SpeechRecognition\u65f6\u7684\u8fde\u63a5\u8d85\u65f6\u95ee\u9898\u300b\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u5173\u4e8eLinux,pip\u7684\u8d44\u6599\u8bf7\u5173\u6ce8\u7c73\u4e91\u516c\u4f17\u53f7\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u89e3\u51b3Linux\u4e2d\u4f7f\u7528pip\u5b89\u88c5SpeechRecognition\u65f6\u7684\u8fde\u63a5\u8d85\u65f6\u95ee\u9898 \u4e00\u5206\u8015\u8018\uff0c\u4e00\u5206\u6536\u83b7\uff01\u65e2\u7136\u6253\u5f00\u4e86\u8fd9\u7bc7\u6587\u7ae0\u300a\u89e3\u51b3Linux\u4e2d\u4f7f\u7528pip\u5b89\u88c5SpeechRecognition\u65f6\u7684\u8fde\u63a5\u8d85\u65f6\u95ee\u9898\u300b\uff0c\u5c31\u575a\u6301\u770b\u4e0b\u53bb\u5427\uff01\u6587\u4e2d\u5185\u5bb9\u5305\u542b\u7b49\u7b49\u77e5\u8bc6\u70b9&#8230;\u5e0c\u671b\u4f60\u80fd\u5728\u9605\u8bfb\u672c\u6587\u540e\uff0c\u80fd\u771f\u771f\u5b9e\u5b9e\u5b66\u5230\u77e5\u8bc6\u6216\u8005\u5e2e\u4f60\u89e3\u51b3\u5fc3\u4e2d\u7684\u7591\u60d1\uff0c\u4e5f\u6b22\u8fce\u5927\u4f6c\u6216\u8005\u65b0\u4eba\u670b\u53cb\u4eec\u591a\u7559\u8a00\u8bc4\u8bba\uff0c\u591a\u7ed9\u5efa\u8bae\uff01\u8c22\u8c22\uff01 Linux\u4e0b\u4f7f\u7528pip\u5b89\u88c5SpeechRecognition \u7ecf\u5e38\u4f1a\u770b\u5230\u4ee3\u7801import speechrecognition as sr\u8fd9\u7c7b\u7684\u8bed\u53e5\uff0c\u67e5\u9605\u76f8\u5173\u8d44\u6599\u9700\u8981\u5229\u7528pip\u6765\u5b89\u88c5SpeecchRecognition\u3002\u9996\u5148\u5728Linux\u4e0b\u5b89\u88c5pip\uff0c\u7136\u540e\u901a\u8fc7\u547d\u4ee4pip install SpeechRecognition\u8fdb\u884c\u5b89\u88c5\u3002\u603b\u662f\u4f1a\u51fa\u73b0\u4e00\u5927\u6bb5\u7ea2\u5b57\uff08\u5927\u81f4\u610f\u601d\u8fde\u63a5\u7b2c\u4e09\u65b9\u5e93\u7f51\u7edc\u8d85\u65f6\uff09\uff0c\u7ea2\u5b57\u5185\u5bb9\u5927\u81f4\u5982\u4e0b\uff1a \u7f51\u4e0a\u67e5\u4e86\u597d\u591a\u8d44\u6599\uff0c\u6709\u7684\u8bf4\u662f\u6539\u53d8\u4e00\u4e0b\u5b57\u6bcd\u5927\u5c0f\u5199\u7136\u540e\u5728\u8fd8\u539f\u4ee5\u524d\u7684\u5c31\u53ef\u4ee5\uff0c\u6d4b\u8bd5\u4e86\u4e00\u4e0b\u65e0\u6548\uff01\uff01\uff01\u627e\u4e86\u597d\u4e45\u6700\u7ec8\u627e\u5230\u4e86\u89e3\u51b3\u529e\u6cd5\uff01\uff01\uff01\uff01\u89e3\u51b3\u65b9\u6cd5\uff1apip\u6307\u5b9a\u5b89\u88c5\u6e90\u8fdb\u884c\u5b89\u88c5\uff1apip install -i https:\/\/pypi.tuna.tsinghua.edu.cn\/simple SpeechRecognition\u5b9e\u6d4b\u6709\u6548\uff1a \u4ee5\u4e0a\u5c31\u662f\u300a\u89e3\u51b3Linux\u4e2d\u4f7f\u7528pip\u5b89\u88c5SpeechRecognition\u65f6\u7684\u8fde\u63a5\u8d85\u65f6\u95ee\u9898\u300b\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u5173\u4e8eLinux,pip\u7684\u8d44\u6599\u8bf7\u5173\u6ce8\u7c73\u4e91\u516c\u4f17\u53f7\uff01<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-51758","post","type-post","status-publish","format-standard","hentry","category-os"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/51758","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=51758"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/51758\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=51758"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=51758"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=51758"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}