You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@opennlp.apache.org by Damiano Porta <da...@gmail.com> on 2018/02/07 11:17:34 UTC

Custom features for sentence detector

Hello,
can we add custom features on the sentence detector?
Thanks
Damiano

Re: Custom features for sentence detector

Posted by Damiano Porta <da...@gmail.com>.
Thank you!

2018-02-14 9:44 GMT+01:00 Aliaksandr Autayeu <al...@autayeu.com>:

> Yes, you can. See SentenceDetectorFactory.getSDContextGenerator() method.
> And respectively SDContextGenerator interface and the default
> implementation in DefaultSDContextGenerator.
>
> On 7 February 2018 at 12:17, Damiano Porta <da...@gmail.com> wrote:
>
> > Hello,
> > can we add custom features on the sentence detector?
> > Thanks
> > Damiano
> >
>

Re: Custom features for sentence detector

Posted by Aliaksandr Autayeu <al...@autayeu.com>.
Yes, you can. See SentenceDetectorFactory.getSDContextGenerator() method.
And respectively SDContextGenerator interface and the default
implementation in DefaultSDContextGenerator.

On 7 February 2018 at 12:17, Damiano Porta <da...@gmail.com> wrote:

> Hello,
> can we add custom features on the sentence detector?
> Thanks
> Damiano
>