public class NormalizedStringPruner extends SimplePruner<String>
Modifier and Type | Class and Description |
---|---|
static class |
NormalizedStringPruner.Provider |
Constructor and Description |
---|
NormalizedStringPruner(int minCount,
int maxRank,
double minFrac) |
Modifier and Type | Method and Description |
---|---|
PrunedCounts<String> |
prune(Map<String,Integer> allCounts)
Prunes counts down.
|
public NormalizedStringPruner(int minCount, int maxRank, double minFrac)
public PrunedCounts<String> prune(Map<String,Integer> allCounts)
SimplePruner
prune
in interface PrunedCounts.Pruner<String>
prune
in class SimplePruner<String>
allCounts
- All counts.Copyright © 2016. All rights reserved.