public class CommonTokenCountManager extends Object
Constructor and Description |
---|
CommonTokenCountManager(Path commonTokensDir,
String defaultLangCode) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
CommonTokenResult |
countTokenOverlaps(String langCode,
Map<String,org.apache.commons.lang3.mutable.MutableInt> tokens) |
Set<String> |
getTokens(String lang) |
public CommonTokenCountManager(Path commonTokensDir, String defaultLangCode) throws IOException
IOException
public CommonTokenResult countTokenOverlaps(String langCode, Map<String,org.apache.commons.lang3.mutable.MutableInt> tokens) throws IOException
IOException
public void close() throws IOException
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.