Repository navigation
Commit 41f9062
해설: generate reading-friendly prose, normalize a TTS 대본 internally
The explainer used to produce TTS-spelled prose ('영 점 오', '웨어 함수'), which
reads badly as a subtitle. Now it produces reading-friendly text (0.5, np.where,
x @ w) shown in the panel + subtitle, and the 해설 read paths build the spoken
대본 internally via ttsScript(for:) (follows the 대본 정규화 toggle), speaking that
while the subtitle shows the 해설 (synthesize(_:displayText:)).
- Rewrite CodeExplanation.defaultInstruction: drop the speak-it-out rules, keep
digits/code tokens as written; and forbid echoing the input section labels
('[코드]'/'[강조 표시]'/'[참고 자료]') into the prose
- explainAndSpeak / speakExplanation / speakContinue normalize then speak
- 해설 탭: '전체 재생' is now the primary action; 'TTS로 보내기' demoted to the
advanced "inspect/edit the 대본" path; help text corrected
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 6354a66 commit 41f9062
3 files changed
Lines changed: 62 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
786 | 786 | | |
787 | 787 | | |
788 | 788 | | |
| 789 | + | |
789 | 790 | | |
790 | | - | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
791 | 799 | | |
792 | 800 | | |
793 | 801 | | |
| |||
799 | 807 | | |
800 | 808 | | |
801 | 809 | | |
802 | | - | |
803 | | - | |
804 | | - | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
805 | 813 | | |
806 | 814 | | |
807 | 815 | | |
| 816 | + | |
808 | 817 | | |
809 | | - | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
810 | 825 | | |
811 | 826 | | |
812 | 827 | | |
813 | 828 | | |
814 | 829 | | |
815 | 830 | | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
816 | 855 | | |
817 | 856 | | |
818 | 857 | | |
| |||
827 | 866 | | |
828 | 867 | | |
829 | 868 | | |
830 | | - | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
831 | 873 | | |
832 | 874 | | |
833 | 875 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
234 | | - | |
235 | | - | |
| 234 | + | |
| 235 | + | |
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
242 | | - | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
243 | 245 | | |
244 | 246 | | |
245 | 247 | | |
246 | 248 | | |
247 | | - | |
248 | | - | |
| 249 | + | |
249 | 250 | | |
250 | | - | |
251 | | - | |
252 | 251 | | |
253 | 252 | | |
254 | 253 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | 176 | | |
| 177 | + | |
184 | 178 | | |
185 | | - | |
| 179 | + | |
186 | 180 | | |
187 | 181 | | |
188 | 182 | | |
189 | 183 | | |
190 | 184 | | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
| |||
0 commit comments