Hello Rodrigo,

You are right. Indeed, it was using OpenNLP 1.3. I have switched to OpenNLP
1.5.3 and converted the code to use latest API, it is working fine now. My
version is available at https://github.com/emres/textrank

Kind regards,
Emre


On Wed, Nov 5, 2014 at 7:49 AM, Rodrigo Agerri <[email protected]> wrote:
>
> Hi Emre,
>
> Textrank is using an old version of OpenNLP, and I guess you are
> trying with a different version?
>
> R
>
> On Mon, Nov 3, 2014 at 12:21 PM, Emre Sevinc <[email protected]>
wrote:
> > Hello,
> >
> > I'm trying to use TextRank[1] on Dutch text. The implementation of
TextRank
> > has LanguageEnglish and LanguageSpanish classes, and they import OpenNLP
> > classes such as
> >
> >   import opennlp.tools.lang.english.ParserTagger;
> >   import opennlp.tools.lang.english.SentenceDetector;
> >   import opennlp.tools.lang.english.Tokenizer;
> >
> > and
> >
> >   import opennlp.tools.lang.spanish.PosTagger;
> >   import opennlp.tools.lang.spanish.SentenceDetector;
> >   import opennlp.tools.lang.spanish.Tokenizer;
> >
> > I want to extend TextRank for Dutch, and for this I've created a new
> > LanguageDutch class but I couldn't find the corresponding OpenNLP
classes
> > to import, such as
> >
> >   opennlp.tools.lang.dutch.PosTagger;
> >   opennlp.tools.lang.dutch.SentenceDetector;
> >   opennlp.tools.lang.dutch.Tokenizer;
> >
> > where can I find them (or are there third-party implementations)?
> >
> > Or is there any other way to achieve the same goal?
> >
> >
> > 1- https://github.com/samxhuan/textrank
> >

Reply via email to