Closed saurabhshri closed 7 years ago
I have a similar issue. For example getDialogue()
MAN 1: Looks like a tie.
becomes MAN: Looks like a tie.
and it should become Looks like a tie.
. And BLANEY: Rusk did it.
doesnt change and should become: Rusk did it.
And somehow your pull request above gives me a dublicate symbols error message. It would be great, if that is possible to fix.
In case of single-word speaker name, the parser works fine, but in case there are more than one word, only last word is extracted.
Saurabh: Oompa Loompa
is extracted asOompa Loompa
, whileSaurabh Shri: Oompa Loompa
is extracted asSaurabh Oompa Loompa
.This is just a matter of searching till the start of statement / appearance of "\n".