tts-vue icon indicating copy to clipboard operation
tts-vue copied to clipboard

批量功能能否实现每行作为一个导出文件

Open hzinchengdu opened this issue 1 year ago • 2 comments

你好开发者,批量功能能否实现每行作为一个导出文件。 比如勾选“分段导出”后,一个文本中的单词或句子(以换行为一段)会逐条导出为音频。我有制作anki卡片的需求,估计也有外语学习者以每段句子作跟读和精听的需求,如果能实现就好了。

比如一个txt的列表为: grit great beach bitch The main goal of this chapter is to introduce the notion of a worldview. As with most of the topics we will explore in this book, the notion of a worldview turns out to be substantially more complex than it at first appears.

导出时以每段作为序号,过长的句子省略,比如:

  1. grit.mp3
  2. great.mp3
  3. beach.mp3
  4. bitch.mp3
  5. The main goal of this chapter….mp3

hzinchengdu avatar Aug 28 '23 07:08 hzinchengdu

A good suggestion!!! That's what I want.

haauto avatar Sep 03 '23 04:09 haauto

下个版本我会尝试增加此功能。

  1. 导出的文件标题为文本首行(有最大字符限制)、
  2. 长文本按换行拆分为多个文件

In the next version, I will try to add this functionality:

  1. The exported file will have the title based on the first line of the text (with a maximum character limit).
  2. Long texts will be split into multiple files based on line breaks.

LokerL avatar Sep 11 '23 02:09 LokerL