This commit is contained in:
2025-09-06 17:47:29 +08:00
parent a38ac59f3f
commit e9b56b049c
7 changed files with 1 additions and 607 deletions

Binary file not shown.

View File

@@ -1,257 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<xml_result>
<read_sentence lan="cn" type="study" version="7,0,0,1024">
<rec_paper>
<read_sentence accuracy_score="3.262373" beg_pos="0" content="大家好。很高兴认识你们。今天天气很好。我正在使用这个工具练习中文发音。" emotion_score="3.634518" end_pos="2597" except_info="28676" fluency_score="0.826676" integrity_score="19.354837" is_rejected="true" phone_score="5.322581" time_len="2597" tone_score="22.580650" total_score="2.362523">
<sentence beg_pos="0" content="大家好" end_pos="903" fluency_score="0.000000" phone_score="5.000001" time_len="903" tone_score="9.999998" total_score="3.771080">
<word beg_pos="0" content="大" end_pos="80" symbol="da4" time_len="80">
<syll beg_pos="0" content="sil" dp_message="0" end_pos="62" rec_node_type="sil" time_len="62">
<phone beg_pos="0" content="sil" dp_message="0" end_pos="62" rec_node_type="sil" time_len="62"></phone>
</syll>
<syll beg_pos="62" content="大" dp_message="0" end_pos="80" rec_node_type="paper" symbol="da4" time_len="18">
<phone beg_pos="62" content="d" dp_message="0" end_pos="75" is_yun="0" perr_level_msg="3" perr_msg="1" rec_node_type="paper" time_len="13"></phone>
<phone beg_pos="75" content="a" dp_message="0" end_pos="80" is_yun="1" mono_tone="TONE4" perr_level_msg="3" perr_msg="3" rec_node_type="paper" time_len="5"></phone>
</syll>
</word>
<word beg_pos="80" content="家" end_pos="498" symbol="jia1" time_len="418">
<syll beg_pos="80" content="sil" dp_message="0" end_pos="90" rec_node_type="sil" time_len="10">
<phone beg_pos="80" content="sil" dp_message="0" end_pos="90" rec_node_type="sil" time_len="10"></phone>
</syll>
<syll beg_pos="90" content="fil" dp_message="32" end_pos="126" rec_node_type="fil" time_len="36">
<phone beg_pos="90" content="fil" dp_message="32" end_pos="126" rec_node_type="fil" time_len="36"></phone>
</syll>
<syll beg_pos="126" content="sil" dp_message="0" end_pos="448" rec_node_type="sil" time_len="322">
<phone beg_pos="126" content="sil" dp_message="0" end_pos="448" rec_node_type="sil" time_len="322"></phone>
</syll>
<syll beg_pos="448" content="fil" dp_message="32" end_pos="464" rec_node_type="fil" time_len="16">
<phone beg_pos="448" content="fil" dp_message="32" end_pos="464" rec_node_type="fil" time_len="16"></phone>
</syll>
<syll beg_pos="464" content="sil" dp_message="0" end_pos="489" rec_node_type="sil" time_len="25">
<phone beg_pos="464" content="sil" dp_message="0" end_pos="489" rec_node_type="sil" time_len="25"></phone>
</syll>
<syll beg_pos="489" content="家" dp_message="0" end_pos="498" rec_node_type="paper" symbol="jia1" time_len="9">
<phone beg_pos="489" content="j" dp_message="0" end_pos="492" is_yun="0" perr_level_msg="3" perr_msg="1" rec_node_type="paper" time_len="3"></phone>
<phone beg_pos="492" content="ia" dp_message="0" end_pos="498" is_yun="1" mono_tone="TONE1" perr_level_msg="3" perr_msg="3" rec_node_type="paper" time_len="6"></phone>
</syll>
</word>
<word beg_pos="498" content="好" end_pos="903" symbol="hao3" time_len="405">
<syll beg_pos="498" content="sil" dp_message="0" end_pos="874" rec_node_type="sil" time_len="376">
<phone beg_pos="498" content="sil" dp_message="0" end_pos="874" rec_node_type="sil" time_len="376"></phone>
</syll>
<syll beg_pos="874" content="好" dp_message="0" end_pos="903" rec_node_type="paper" symbol="hao3" time_len="29">
<phone beg_pos="874" content="h" dp_message="0" end_pos="898" is_yun="0" perr_level_msg="1" perr_msg="0" rec_node_type="paper" time_len="24"></phone>
<phone beg_pos="898" content="ao" dp_message="0" end_pos="903" is_yun="1" mono_tone="TONE3" perr_level_msg="3" perr_msg="1" rec_node_type="paper" time_len="5"></phone>
</syll>
</word>
</sentence>
<sentence beg_pos="903" content="很高兴认识你们" end_pos="1502" fluency_score="0.000000" phone_score="10.714286" time_len="1502" tone_score="12.857141" total_score="3.771080">
<word beg_pos="903" content="很" end_pos="1020" symbol="hen3" time_len="117">
<syll beg_pos="903" content="sil" dp_message="0" end_pos="972" rec_node_type="sil" time_len="69">
<phone beg_pos="903" content="sil" dp_message="0" end_pos="972" rec_node_type="sil" time_len="69"></phone>
</syll>
<syll beg_pos="972" content="很" dp_message="0" end_pos="1020" rec_node_type="paper" symbol="hen3" time_len="48">
<phone beg_pos="972" content="h" dp_message="0" end_pos="999" is_yun="0" perr_level_msg="1" perr_msg="0" rec_node_type="paper" time_len="27"></phone>
<phone beg_pos="999" content="en" dp_message="0" end_pos="1020" is_yun="1" mono_tone="TONE3" perr_level_msg="2" perr_msg="0" rec_node_type="paper" time_len="21"></phone>
</syll>
</word>
<word beg_pos="1020" content="高" end_pos="1028" symbol="gao1" time_len="8">
<syll beg_pos="1020" content="高" dp_message="0" end_pos="1028" rec_node_type="paper" symbol="gao1" time_len="8">
<phone beg_pos="1020" content="g" dp_message="0" end_pos="1023" is_yun="0" perr_level_msg="3" perr_msg="1" rec_node_type="paper" time_len="3"></phone>
<phone beg_pos="1023" content="ao" dp_message="0" end_pos="1028" is_yun="1" mono_tone="TONE1" perr_level_msg="3" perr_msg="3" rec_node_type="paper" time_len="5"></phone>
</syll>
</word>
<word beg_pos="1028" content="兴" end_pos="1401" symbol="xing4" time_len="373">
<syll beg_pos="1028" content="sil" dp_message="0" end_pos="1378" rec_node_type="sil" time_len="350">
<phone beg_pos="1028" content="sil" dp_message="0" end_pos="1378" rec_node_type="sil" time_len="350"></phone>
</syll>
<syll beg_pos="1378" content="兴" dp_message="0" end_pos="1401" rec_node_type="paper" symbol="xing4" time_len="23">
<phone beg_pos="1378" content="x" dp_message="0" end_pos="1381" is_yun="0" perr_level_msg="3" perr_msg="1" rec_node_type="paper" time_len="3"></phone>
<phone beg_pos="1381" content="ing" dp_message="0" end_pos="1401" is_yun="1" mono_tone="TONE4" perr_level_msg="3" perr_msg="3" rec_node_type="paper" time_len="20"></phone>
</syll>
</word>
<word beg_pos="1401" content="认" end_pos="1429" symbol="ren4" time_len="28">
<syll beg_pos="1401" content="sil" dp_message="0" end_pos="1421" rec_node_type="sil" time_len="20">
<phone beg_pos="1401" content="sil" dp_message="0" end_pos="1421" rec_node_type="sil" time_len="20"></phone>
</syll>
<syll beg_pos="1421" content="认" dp_message="0" end_pos="1429" rec_node_type="paper" symbol="ren4" time_len="8">
<phone beg_pos="1421" content="r" dp_message="0" end_pos="1424" is_yun="0" perr_level_msg="3" perr_msg="1" rec_node_type="paper" time_len="3"></phone>
<phone beg_pos="1424" content="en" dp_message="0" end_pos="1429" is_yun="1" mono_tone="TONE4" perr_level_msg="2" perr_msg="2" rec_node_type="paper" time_len="5"></phone>
</syll>
</word>
<word beg_pos="1429" content="识" end_pos="1429" symbol="shi7" time_len="0">
<syll beg_pos="1429" content="识" dp_message="16" end_pos="1429" rec_node_type="paper" symbol="shi0" time_len="0">
<phone content="sh" dp_message="16" is_yun="0" perr_msg="16" rec_node_type="paper"></phone>
<phone content="iii" dp_message="16" is_yun="1" mono_tone="TONE0" perr_msg="16" rec_node_type="paper"></phone>
</syll>
</word>
<word beg_pos="1429" content="你" end_pos="1467" symbol="ni3" time_len="38">
<syll beg_pos="1429" content="你" dp_message="0" end_pos="1467" rec_node_type="paper" symbol="ni3" time_len="38">
<phone beg_pos="1429" content="n" dp_message="0" end_pos="1462" is_yun="0" perr_level_msg="1" perr_msg="0" rec_node_type="paper" time_len="33"></phone>
<phone beg_pos="1462" content="i" dp_message="0" end_pos="1467" is_yun="1" mono_tone="TONE3" perr_level_msg="3" perr_msg="1" rec_node_type="paper" time_len="5"></phone>
</syll>
</word>
<word beg_pos="1467" content="们" end_pos="1502" symbol="men5" time_len="35">
<syll beg_pos="1467" content="们" dp_message="0" end_pos="1502" rec_node_type="paper" symbol="men0" time_len="35">
<phone beg_pos="1467" content="m" dp_message="0" end_pos="1470" is_yun="0" perr_level_msg="3" perr_msg="1" rec_node_type="paper" time_len="3"></phone>
<phone beg_pos="1470" content="en" dp_message="0" end_pos="1502" is_yun="1" mono_tone="TONE0" perr_level_msg="1" perr_msg="0" rec_node_type="paper" time_len="32"></phone>
</syll>
</word>
</sentence>
<sentence beg_pos="1502" content="今天天气很好" end_pos="1505" fluency_score="0.000000" phone_score="0.000000" time_len="1505" tone_score="0.000000" total_score="0.000000">
<word beg_pos="1502" content="今" end_pos="1505" symbol="jin1" time_len="3">
<syll beg_pos="1502" content="sil" dp_message="0" end_pos="1505" rec_node_type="sil" time_len="3">
<phone beg_pos="1502" content="sil" dp_message="0" end_pos="1505" rec_node_type="sil" time_len="3"></phone>
</syll>
<syll beg_pos="1505" content="今" dp_message="16" end_pos="1505" rec_node_type="paper" symbol="jin1" time_len="0">
<phone content="j" dp_message="16" is_yun="0" perr_msg="16" rec_node_type="paper"></phone>
<phone content="in" dp_message="16" is_yun="1" mono_tone="TONE1" perr_msg="16" rec_node_type="paper"></phone>
</syll>
</word>
<word beg_pos="1505" content="天" end_pos="1505" symbol="tian1" time_len="0">
<syll beg_pos="1505" content="天" dp_message="16" end_pos="1505" rec_node_type="paper" symbol="tian1" time_len="0">
<phone content="t" dp_message="16" is_yun="0" perr_msg="16" rec_node_type="paper"></phone>
<phone content="ian" dp_message="16" is_yun="1" mono_tone="TONE1" perr_msg="16" rec_node_type="paper"></phone>
</syll>
</word>
<word beg_pos="1505" content="天" end_pos="1505" symbol="tian1" time_len="0">
<syll beg_pos="1505" content="天" dp_message="16" end_pos="1505" rec_node_type="paper" symbol="tian1" time_len="0">
<phone content="t" dp_message="16" is_yun="0" perr_msg="16" rec_node_type="paper"></phone>
<phone content="ian" dp_message="16" is_yun="1" mono_tone="TONE1" perr_msg="16" rec_node_type="paper"></phone>
</syll>
</word>
<word beg_pos="1505" content="气" end_pos="1505" symbol="qi9" time_len="0">
<syll beg_pos="1505" content="气" dp_message="16" end_pos="1505" rec_node_type="paper" symbol="qi0" time_len="0">
<phone content="q" dp_message="16" is_yun="0" perr_msg="16" rec_node_type="paper"></phone>
<phone content="i" dp_message="16" is_yun="1" mono_tone="TONE0" perr_msg="16" rec_node_type="paper"></phone>
</syll>
</word>
<word beg_pos="1505" content="很" end_pos="1505" symbol="hen2" time_len="0">
<syll beg_pos="1505" content="很" dp_message="16" end_pos="1505" rec_node_type="paper" symbol="hen2" time_len="0">
<phone content="h" dp_message="16" is_yun="0" perr_msg="16" rec_node_type="paper"></phone>
<phone content="en" dp_message="16" is_yun="1" mono_tone="TONE2" perr_msg="16" rec_node_type="paper"></phone>
</syll>
</word>
<word beg_pos="1505" content="好" end_pos="1505" symbol="hao3" time_len="0">
<syll beg_pos="1505" content="好" dp_message="16" end_pos="1505" rec_node_type="paper" symbol="hao3" time_len="0">
<phone content="h" dp_message="16" is_yun="0" perr_msg="16" rec_node_type="paper"></phone>
<phone content="ao" dp_message="16" is_yun="1" mono_tone="TONE3" perr_msg="16" rec_node_type="paper"></phone>
</syll>
</word>
</sentence>
<sentence beg_pos="1505" content="我正在使用这个工具练习中文发音" end_pos="2597" fluency_score="0.000000" phone_score="5.000001" time_len="2597" tone_score="6.000000" total_score="3.771080">
<word beg_pos="1505" content="我" end_pos="1514" symbol="wo3" time_len="9">
<syll beg_pos="1505" content="我" dp_message="0" end_pos="1514" rec_node_type="paper" symbol="wo3" time_len="9">
<phone beg_pos="1505" content="_u" dp_message="0" end_pos="1508" is_yun="0" perr_level_msg="3" perr_msg="1" rec_node_type="paper" time_len="3"></phone>
<phone beg_pos="1508" content="uo" dp_message="0" end_pos="1514" is_yun="1" mono_tone="TONE3" perr_level_msg="2" perr_msg="0" rec_node_type="paper" time_len="6"></phone>
</syll>
</word>
<word beg_pos="1514" content="正" end_pos="1666" symbol="zheng4" time_len="152">
<syll beg_pos="1514" content="sil" dp_message="0" end_pos="1617" rec_node_type="sil" time_len="103">
<phone beg_pos="1514" content="sil" dp_message="0" end_pos="1617" rec_node_type="sil" time_len="103"></phone>
</syll>
<syll beg_pos="1617" content="正" dp_message="0" end_pos="1666" rec_node_type="paper" symbol="zheng4" time_len="49">
<phone beg_pos="1617" content="zh" dp_message="0" end_pos="1620" is_yun="0" perr_level_msg="2" perr_msg="0" rec_node_type="paper" time_len="3"></phone>
<phone beg_pos="1620" content="eng" dp_message="0" end_pos="1666" is_yun="1" mono_tone="TONE4" perr_level_msg="2" perr_msg="3" rec_node_type="paper" time_len="46"></phone>
</syll>
</word>
<word beg_pos="1666" content="在" end_pos="1884" symbol="zai4" time_len="218">
<syll beg_pos="1666" content="sil" dp_message="0" end_pos="1836" rec_node_type="sil" time_len="170">
<phone beg_pos="1666" content="sil" dp_message="0" end_pos="1836" rec_node_type="sil" time_len="170"></phone>
</syll>
<syll beg_pos="1836" content="在" dp_message="0" end_pos="1884" rec_node_type="paper" symbol="zai4" time_len="48">
<phone beg_pos="1836" content="z" dp_message="0" end_pos="1839" is_yun="0" perr_level_msg="3" perr_msg="1" rec_node_type="paper" time_len="3"></phone>
<phone beg_pos="1839" content="ai" dp_message="0" end_pos="1884" is_yun="1" mono_tone="TONE4" perr_level_msg="1" perr_msg="0" rec_node_type="paper" time_len="45"></phone>
</syll>
</word>
<word beg_pos="1884" content="使" end_pos="2087" symbol="shi3" time_len="203">
<syll beg_pos="1884" content="sil" dp_message="0" end_pos="1910" rec_node_type="sil" time_len="26">
<phone beg_pos="1884" content="sil" dp_message="0" end_pos="1910" rec_node_type="sil" time_len="26"></phone>
</syll>
<syll beg_pos="1910" content="fil" dp_message="32" end_pos="1918" rec_node_type="fil" time_len="8">
<phone beg_pos="1910" content="fil" dp_message="32" end_pos="1918" rec_node_type="fil" time_len="8"></phone>
</syll>
<syll beg_pos="1918" content="sil" dp_message="0" end_pos="2044" rec_node_type="sil" time_len="126">
<phone beg_pos="1918" content="sil" dp_message="0" end_pos="2044" rec_node_type="sil" time_len="126"></phone>
</syll>
<syll beg_pos="2044" content="使" dp_message="0" end_pos="2087" rec_node_type="paper" symbol="shi3" time_len="43">
<phone beg_pos="2044" content="sh" dp_message="0" end_pos="2060" is_yun="0" perr_level_msg="2" perr_msg="0" rec_node_type="paper" time_len="16"></phone>
<phone beg_pos="2060" content="iii" dp_message="0" end_pos="2087" is_yun="1" mono_tone="TONE3" perr_level_msg="2" perr_msg="0" rec_node_type="paper" time_len="27"></phone>
</syll>
</word>
<word beg_pos="2087" content="用" end_pos="2597" symbol="yong4" time_len="510">
<syll beg_pos="2087" content="fil" dp_message="32" end_pos="2146" rec_node_type="fil" time_len="59">
<phone beg_pos="2087" content="fil" dp_message="32" end_pos="2146" rec_node_type="fil" time_len="59"></phone>
</syll>
<syll beg_pos="2146" content="sil" dp_message="0" end_pos="2597" rec_node_type="sil" time_len="451">
<phone beg_pos="2146" content="sil" dp_message="0" end_pos="2597" rec_node_type="sil" time_len="451"></phone>
</syll>
<syll beg_pos="2597" content="用" dp_message="16" end_pos="2597" rec_node_type="paper" symbol="yong4" time_len="0">
<phone content="_i" dp_message="16" is_yun="0" perr_msg="16" rec_node_type="paper"></phone>
<phone content="iong" dp_message="16" is_yun="1" mono_tone="TONE4" perr_msg="16" rec_node_type="paper"></phone>
</syll>
</word>
<word beg_pos="2597" content="这" end_pos="2597" symbol="zhe4" time_len="0">
<syll beg_pos="2597" content="这" dp_message="16" end_pos="2597" rec_node_type="paper" symbol="zhe4" time_len="0">
<phone content="zh" dp_message="16" is_yun="0" perr_msg="16" rec_node_type="paper"></phone>
<phone content="e" dp_message="16" is_yun="1" mono_tone="TONE4" perr_msg="16" rec_node_type="paper"></phone>
</syll>
</word>
<word beg_pos="2597" content="个" end_pos="2597" symbol="ge9" time_len="0">
<syll beg_pos="2597" content="个" dp_message="16" end_pos="2597" rec_node_type="paper" symbol="ge0" time_len="0">
<phone content="g" dp_message="16" is_yun="0" perr_msg="16" rec_node_type="paper"></phone>
<phone content="e" dp_message="16" is_yun="1" mono_tone="TONE0" perr_msg="16" rec_node_type="paper"></phone>
</syll>
</word>
<word beg_pos="2597" content="工" end_pos="2597" symbol="gong1" time_len="0">
<syll beg_pos="2597" content="工" dp_message="16" end_pos="2597" rec_node_type="paper" symbol="gong1" time_len="0">
<phone content="g" dp_message="16" is_yun="0" perr_msg="16" rec_node_type="paper"></phone>
<phone content="ong" dp_message="16" is_yun="1" mono_tone="TONE1" perr_msg="16" rec_node_type="paper"></phone>
</syll>
</word>
<word beg_pos="2597" content="具" end_pos="2597" symbol="ju4" time_len="0">
<syll beg_pos="2597" content="具" dp_message="16" end_pos="2597" rec_node_type="paper" symbol="ju4" time_len="0">
<phone content="j" dp_message="16" is_yun="0" perr_msg="16" rec_node_type="paper"></phone>
<phone content="v" dp_message="16" is_yun="1" mono_tone="TONE4" perr_msg="16" rec_node_type="paper"></phone>
</syll>
</word>
<word beg_pos="2597" content="练" end_pos="2597" symbol="lian4" time_len="0">
<syll beg_pos="2597" content="练" dp_message="16" end_pos="2597" rec_node_type="paper" symbol="lian4" time_len="0">
<phone content="l" dp_message="16" is_yun="0" perr_msg="16" rec_node_type="paper"></phone>
<phone content="ian" dp_message="16" is_yun="1" mono_tone="TONE4" perr_msg="16" rec_node_type="paper"></phone>
</syll>
</word>
<word beg_pos="2597" content="习" end_pos="2597" symbol="xi2" time_len="0">
<syll beg_pos="2597" content="习" dp_message="16" end_pos="2597" rec_node_type="paper" symbol="xi2" time_len="0">
<phone content="x" dp_message="16" is_yun="0" perr_msg="16" rec_node_type="paper"></phone>
<phone content="i" dp_message="16" is_yun="1" mono_tone="TONE2" perr_msg="16" rec_node_type="paper"></phone>
</syll>
</word>
<word beg_pos="2597" content="中" end_pos="2597" symbol="zhong1" time_len="0">
<syll beg_pos="2597" content="中" dp_message="16" end_pos="2597" rec_node_type="paper" symbol="zhong1" time_len="0">
<phone content="zh" dp_message="16" is_yun="0" perr_msg="16" rec_node_type="paper"></phone>
<phone content="ong" dp_message="16" is_yun="1" mono_tone="TONE1" perr_msg="16" rec_node_type="paper"></phone>
</syll>
</word>
<word beg_pos="2597" content="文" end_pos="2597" symbol="wen2" time_len="0">
<syll beg_pos="2597" content="文" dp_message="16" end_pos="2597" rec_node_type="paper" symbol="wen2" time_len="0">
<phone content="_u" dp_message="16" is_yun="0" perr_msg="16" rec_node_type="paper"></phone>
<phone content="uen" dp_message="16" is_yun="1" mono_tone="TONE2" perr_msg="16" rec_node_type="paper"></phone>
</syll>
</word>
<word beg_pos="2597" content="发" end_pos="2597" symbol="fa1" time_len="0">
<syll beg_pos="2597" content="发" dp_message="16" end_pos="2597" rec_node_type="paper" symbol="fa1" time_len="0">
<phone content="f" dp_message="16" is_yun="0" perr_msg="16" rec_node_type="paper"></phone>
<phone content="a" dp_message="16" is_yun="1" mono_tone="TONE1" perr_msg="16" rec_node_type="paper"></phone>
</syll>
</word>
<word beg_pos="2597" content="音" end_pos="2597" symbol="yin1" time_len="0">
<syll beg_pos="2597" content="音" dp_message="16" end_pos="2597" rec_node_type="paper" symbol="yin1" time_len="0">
<phone content="_i" dp_message="16" is_yun="0" perr_msg="16" rec_node_type="paper"></phone>
<phone content="in" dp_message="16" is_yun="1" mono_tone="TONE1" perr_msg="16" rec_node_type="paper"></phone>
</syll>
</word>
</sentence>
</read_sentence>
</rec_paper>
</read_sentence>
</xml_result>

View File

@@ -1,28 +0,0 @@
import os
from XunFeiAudioEvaluator_cn import XunFeiAudioEvaluator_cn
import xml.etree.ElementTree as ET
if __name__ == "__main__":
log_path = r"1.xml"
evaluator = XunFeiAudioEvaluator_cn(None, None, None, None, "") # 使用空字符串代替None作为txt参数
if os.path.exists(log_path):
try:
# 读取XML文件内容
with open(log_path, 'r', encoding='utf-8') as f:
xml_content = f.read()
# 使用XunFeiAudioEvaluator_cn类的解析方法
evaluator.parse_evaluation_results(xml_content)
results = evaluator.evaluation_results
if results and 'total_score' in results:
print("解析成功!以下是评分数据:")
for key, value in results.items():
print(f"{key}: {value}")
else:
print("未找到有效的评分数据")
except Exception as e:
print(f"解析日志时出错:{str(e)}")
else:
print(f"文件不存在:{log_path}")

File diff suppressed because one or more lines are too long

View File

@@ -1,8 +0,0 @@
Websocket服务接口认证信息
APPID
5b83f8d6
APISecret
604fa6cb9c5ab664a0d153fe0ccc6802
APIKey
5beb887923204000bfcb402046bb05a6
*SDK调用方式只需APPID。APIKey或APISecret适用于WebAPI调用方式。

File diff suppressed because one or more lines are too long

View File

@@ -411,25 +411,7 @@
// 移除已删除的情感评分设置
this.evaluationContainer.classList.add('show');
// // 移除已删除的句子评分相关代码
// const sentencesContent = document.getElementById('sentencesContent');
// if (evaluation.sentences && evaluation.sentences.length > 0) {
// let sentencesHTML = '';
// evaluation.sentences.forEach((sentence, index) => {
// const score = sentence.total_score ? sentence.total_score.toFixed(1) : '--';
// const color = score >= 90 ? '#5eead4' : score >= 80 ? '#a7f3d0' : '#fef3c7';
// sentencesHTML += `
// <div style="display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(148, 163, 184, 0.1);">
// <span style="color: #e2e8f0;">${index + 1}. ${sentence.content}</span>
// <span style="font-weight: bold; color: ${color};">${score}</span>
// </div>
// `;
// });
// sentencesContent.innerHTML = sentencesHTML;
// } else {
// sentencesContent.innerHTML = '<p style="color: #94a3b8; text-align: center;">无句子评分数据</p>';
// }
}
simulateUploadProgress() {