【发布时间】:2018-04-17 14:55:56
【问题描述】:
在一些帮助下,我已经设法发现了口语。 现在我正在寻找由选定的人说出的文本。 所以我可以输入 MIA 并得到她在电影中所说的每一个字 像这样:
name = input("Enter name:")
wordsspoken(script, name)
name1 = input("Enter another name:")
wordsspoken(script, name1)
这样我以后就可以数单词了。
这就是电影剧本的样子
An awkward beat. They pass a wooden SALOON -- where a WESTERN
is being shot. Extras in COWBOY costumes drink coffee on the
steps.
Revision 25.
MIA (CONT'D)
I love this stuff. Makes coming to work
easier.
SEBASTIAN
I know what you mean. I get breakfast
five miles out of the way just to sit
outside a jazz club.
MIA
Oh yeah?
SEBASTIAN
It was called Van Beek. The swing bands
played there. Count Basie. Chick Webb.
(then,)
It's a samba-tapas place now.
MIA
A what?
SEBASTIAN
Samba-tapas. It's... Exactly. The joke's on
history.
【问题讨论】:
标签: python python-3.x text count movie