Interface DuplicateSequenceAttribute
- All Superinterfaces:
org.apache.lucene.util.Attribute
- All Known Implementing Classes:
DuplicateSequenceAttributeImpl
public interface DuplicateSequenceAttribute
extends org.apache.lucene.util.Attribute
Provides statistics useful for detecting duplicate sections of text
-
Method Summary
-
Method Details
-
getNumPriorUsesInASequence
short getNumPriorUsesInASequence()- Returns:
- The number of times this token has been seen previously as part of a sequence (counts to a max of 255)
-
setNumPriorUsesInASequence
void setNumPriorUsesInASequence(short len)
-