Speaker name extraction doesn't consider more than one word.
Closed this issue · 2 comments
saurabhshri commented
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 as Oompa Loompa
, while
Saurabh Shri: Oompa Loompa
is extracted as Saurabh Oompa Loompa
.
This is just a matter of searching till the start of statement / appearance of "\n".
saurabhshri commented
Resolved in 3f3e2a3 .
Jonathhhan commented
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.