You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@opennlp.apache.org by Tomáš Bleša <bl...@anneca.cz> on 2016/11/30 11:51:15 UTC

Direct speech and SentenceDetector

Hi all,
I wonder if it's possible to train sentence detector to handle direct speech. Examples:

"Tonight," I said, "is Halloween!"
"I'm hungry," he said.
"Come here!" he said.
"Where are you?" he asked.

I'd like to analyze news articles and they are full of quoted citations. My questions are:
- How to approach the problem?
- How should be example sentence above entered into training file (one line for the whole sent.)?
- Is it even possible to use current implementation of SentenceDetector for this?

Regards,
Tomas Blesa


S pozdravem

Tomáš Bleša
ANNECA s.r.o.