> System.out.println(typeAtt.type());
> ??? And this typeAtt?
>
> Thanks!
>
Yes. You can add the other attributes if you want. By the way i forget to
remove (TermAttribute) and TypeAttribute). You don't need them in 3.0.0.
TermAttribute termAtt = tokenStream.getAttribute(TermAttribute.class);
TypeAttribute typeAtt = tokenStream.getAttribute(TypeAttribute.class);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]