mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-24 04:19:48 +01:00
_get_segment_text 会在引号内的标点处切分(如「わぁ!」って、“好!”然后), 把引号拆到两段里,或留下只有「。」的片段。新增 _quote_safe_cut:切分点后的 右引号与句末标点一并带走;位于未闭合引号内或右引号后句子仍在继续时,顺延到 下一个标点。不含引号的文本切分结果不变。 |
||
|---|---|---|
| .. | ||
| config | ||
| core | ||
| plugins_func | ||
| __init__.py | ||
| conftest.py | ||
| test_llm.py | ||
| test_memory.py | ||
| test_rag.py | ||
| test_smoke.py | ||
| test_stt.py | ||
| test_tts.py | ||