mirror of
https://github.com/LC044/WeChatMsg
synced 2024-11-14 05:21:41 +08:00
修复情感分析数值显示过长的bug
This commit is contained in:
parent
3ceb9e2340
commit
cc97628902
@ -4,14 +4,8 @@
|
||||
<option name="autoReloadType" value="SELECTIVE" />
|
||||
</component>
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="84e65474-7da9-466d-baf3-cc88dde3ffdd" name="变更" comment="显示联系人信息">
|
||||
<change afterPath="$PROJECT_DIR$/app/DataBase/msg.py" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/app/DataBase/output_pc.py" afterDir="false" />
|
||||
<list default="true" id="84e65474-7da9-466d-baf3-cc88dde3ffdd" name="变更" comment="修复db文件空格路径的bug">
|
||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/app/Ui/decrypt/decrypt.py" beforeDir="false" afterPath="$PROJECT_DIR$/app/Ui/decrypt/decrypt.py" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/app/Ui/mainview.py" beforeDir="false" afterPath="$PROJECT_DIR$/app/Ui/mainview.py" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/app/person.py" beforeDir="false" afterPath="$PROJECT_DIR$/app/person.py" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/app/ui_pc/contact/contactInfo.py" beforeDir="false" afterPath="$PROJECT_DIR$/app/ui_pc/contact/contactInfo.py" afterDir="false" />
|
||||
</list>
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||
@ -256,13 +250,6 @@
|
||||
<option name="presentableId" value="Default" />
|
||||
<updated>1672848140146</updated>
|
||||
</task>
|
||||
<task id="LOCAL-00014" summary="新增对话情感分析,增加窗口自适应,新增emotion界面">
|
||||
<created>1680441801589</created>
|
||||
<option name="number" value="00014" />
|
||||
<option name="presentableId" value="LOCAL-00014" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1680441801589</updated>
|
||||
</task>
|
||||
<task id="LOCAL-00015" summary="烂了">
|
||||
<created>1680624068689</created>
|
||||
<option name="number" value="00015" />
|
||||
@ -599,7 +586,14 @@
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1700060367255</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="63" />
|
||||
<task id="LOCAL-00063" summary="修复db文件空格路径的bug">
|
||||
<created>1700063620952</created>
|
||||
<option name="number" value="00063" />
|
||||
<option name="presentableId" value="LOCAL-00063" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1700063620952</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="64" />
|
||||
<servers />
|
||||
</component>
|
||||
<component name="UnknownFeatures">
|
||||
@ -635,7 +629,6 @@
|
||||
</option>
|
||||
</component>
|
||||
<component name="VcsManagerConfiguration">
|
||||
<MESSAGE value="支持导出csv格式聊天记录" />
|
||||
<MESSAGE value="重构一些class,删除一些不必要的文件" />
|
||||
<MESSAGE value="用stackedWidget实现导航栏" />
|
||||
<MESSAGE value="修复部分bug" />
|
||||
@ -660,7 +653,8 @@
|
||||
<MESSAGE value="新增联系人头像组件" />
|
||||
<MESSAGE value="头像支持显示二进制" />
|
||||
<MESSAGE value="显示联系人信息" />
|
||||
<option name="LAST_COMMIT_MESSAGE" value="显示联系人信息" />
|
||||
<MESSAGE value="修复db文件空格路径的bug" />
|
||||
<option name="LAST_COMMIT_MESSAGE" value="修复db文件空格路径的bug" />
|
||||
<option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="true" />
|
||||
<option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="true" />
|
||||
</component>
|
||||
|
@ -32,6 +32,7 @@ def emotion_analysis(wxid):
|
||||
emotions.append(s / len(messages))
|
||||
emotions = np.array(emotions)
|
||||
emotions = np.around(emotions, 3) * 100
|
||||
emotions = np.around(emotions, 1)
|
||||
return dates, emotions
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user