我有以下文本网格:
File type = "ooTextFile"
Object class = "TextGrid"
xmin = 0
xmax = 3931.56874994773
tiers? <exists>
size = 4
item []:
item [1]:
class = "IntervalTier"
name = "Phrases"
xmin = 0
xmax = 3931.56874994773
intervals: size = 1938
intervals [1]:
xmin = 0
xmax = 3.59246613841739
text = "Good morning"
intervals [2]:
xmin = 3.59246613841739
.
.
item [2]:
class = "IntervalTier"
name = "Phrases_2"
xmin = 0
如何在4个文件中用4个项目(项目[1]、项目[2]、项目[3]、项目[4])拆分文本(每个文件的名称是项目中的名称)enter code here
例如,项目[1]是短语.textgrid第[2]项是短语“2.textgrid”等。。。在
文件-陌生人阅读代码:
如何将每个项目中的文本分开并写入新文件
相关问题 更多 >
编程相关推荐