WITH_OFFSETS gives the equivalent of Token.startOffset and
Token.endOffset information which is the actual offset in the String
(although it can be manipulated), while WITH_POSITIONS gives the
position information (which can also be manipulated). Position info
tells where the token occurs
What practical of using WITH_POSITIONS_OFFSETS ? Aren't WITH_OFFSETS
sufficient and if iterate getStartOffset effectively gives the value
from array element of getTermPositions ?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For