use of org.trie4j.tail.SuffixTrieTailArray in project trie4j by takawitter.
the class TailLOUDSTrieWithSuffixTrieTailArrayWikipediaMonitoredSBVTest method buildSecondTrie.
@Override
protected Trie buildSecondTrie(Trie first) {
bv.resetCounts();
TailLOUDSTrie t = new TailLOUDSTrie(first, new LOUDSBvTree(bv), new SuffixTrieTailArray(first.size()), new NodeListener() {
@Override
public void listen(Node node, int id) {
}
});
t.trimToSize();
return t;
}
Aggregations