diff options
| author | wuhei <wuhei@users.noreply.github.com> | 2026-11-19 19:29:21 +0100 |
|---|---|---|
| committer | wuhei <wuhei@users.noreply.github.com> | 2026-11-19 19:29:21 +0100 |
| commit | 78455c67406808fc1da9f8655708738f10e30d23 (patch) | |
| tree | 9576aa52b20c40037e39e0c504bf5e4755963806 /go.sum | |
| parent | b457d19d9b2c634570300d0f73087e18b4ec4a4a (diff) | |
| download | lilchinese-78455c67406808fc1da9f8655708738f10e30d23.tar.gz | |
settle short sentences on screen when the speaker pauses
A long sentence flipped through fragments and stopped on the last one: '我觉得今年
我的中文会说得好一些。' ended up on screen as '会说得好一些'. The frame that stays
up is also the frame that gets recorded, translated and logged, so it has to be the
whole sentence.
- -settle (default 20): at an endpoint, if the finished sentence is that short, it is
published whole and replaces the trailing fragment. Fragments still flip while you
speak, so the Takahashi rhythm is unchanged; -settle 0 restores it exactly.
- the fragment is no longer published for a sentence that is about to settle (one
look, not two), so there is no flash of a frame that is immediately replaced.
- tests: settles whole, long sentences still fragment, -settle 0 keeps fragments
Diffstat (limited to 'go.sum')
0 files changed, 0 insertions, 0 deletions
