ixa-ehu/ixa-pipe-tok — pull request #2 by Neuw84 (2014-12-03 16:59:05+00:00)
Title: Fix in Kaf Ouput

Fixed bug in KafOutput.

The error seems to be related that at creation time, the wf sentece is indexed. Then altering it after creation has no effect (the indexBySent should be modified)

/** Adds a word form to the container */
void add(WF wf) {
text.add(wf);
//nextOffset += wf.getLength() + 1;
this.indexBySent(wf, wf.getSent(), this.textIndexedBySent);
}

Gracias de todas formas por ofrecer tu ayuda ;)