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);
}
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 ;)