public class TextProfileSignature extends Object implements TokenCountStatsCalculator<String>
Constructor and Description |
---|
TextProfileSignature() |
Modifier and Type | Method and Description |
---|---|
String |
calculate(TokenCounts tokenCounts) |
void |
setMinTokenLength(int minTokenLength)
Be careful -- for CJK languages, the default analyzer uses character
bigrams.
|
void |
setQuantRate(float quantRate) |
public String calculate(TokenCounts tokenCounts)
calculate
in interface TokenCountStatsCalculator<String>
public void setMinTokenLength(int minTokenLength)
minTokenLength
- -- include tokens of this length or greater.public void setQuantRate(float quantRate)
Copyright © 2007–2022 The Apache Software Foundation. All rights reserved.