罗恩:自动点唱机

时间:2021-02-15 12:47:59
【文件属性】:
文件名称:罗恩:自动点唱机
文件大小:2KB
文件格式:ZIP
更新时间:2021-02-15 12:47:59
罗恩 心情自动点唱机 pip安装pyttsx3 pip安装SpeechRecognition pip安装pywhatkit 从sr导入Speech_recognition导入pyttsx3导入pywhatkit导入日期时间从vaderSentiment.vaderSentiment导入Wikipedia导入SentimentIntensityAnalyzer 分析器= SentimentIntensityAnalyzer()scoreavg = 0 def sentiment_analyzer_scores(句子):score = analyser.polarity_scores(句子)print(“ {:-<40} {}”。format(sentence,str(score)))全局scoreavg scoreavg = score ['compound'] 侦听器= sr.Re
【文件预览】:
Ron-main
----README.md(2KB)
----Code(2KB)

网友评论