public class RemoveMinorityScriptsTextFilter extends Object implements TextFilter
| Modifier and Type | Method and Description |
|---|---|
String |
filter(CharSequence text) |
static RemoveMinorityScriptsTextFilter |
forThreshold(double threshold)
If a script has less than this percent of content compared to the most used one, its text is removed.
|
public static RemoveMinorityScriptsTextFilter forThreshold(double threshold)
threshold - 0-1, suggested value is 0.3. If smaller then removed, equal remains.public String filter(CharSequence text)
filter in interface TextFilterCopyright © 2015. All rights reserved.