我需要使用 python 将句子分成视频标题的段落。我尝试使用 nltk.tokenize.texttiling 但没有得到任何结果。这里是文本的摘录:
– [Voiceover] Bob Dylan is,
you must be 20 years old now,
aren't you?
– [Voiceover] Yeah, I must be 20.
(laughing)
– [Voiceover] Are you?
– [Voiceover] Yeah, I'm 20, I'm 20.
(guitar music)
My hands are cold.
It's a pretty cold studio.
– [Voiceover] The coldest studio.
– [Voiceover] Usually can do this.
There I just want to do it once.
(guitar strumming)
– [Voiceover] When I first heard Bob Dylan
was, I think, about three
years ago in Minneapolis.
– [Voiceover] At that time I
was just sort of doing nothing.
I was there working, I guess.
I was making pretend I was
going to school out there.
I'd just come there from South Dakota.
– [Voiceover] You've sung
now at Goody's here in town.
Have you sung at any of the coffee houses?