public class FastTextDetector extends Object
Modifier and Type | Class and Description |
---|---|
static class |
FastTextDetector.FastTextException |
Constructor and Description |
---|
FastTextDetector(File modelPath,
File binaryPath) |
Modifier and Type | Method and Description |
---|---|
boolean |
restartProcess() |
Map<String,Double> |
runFasttext(String text,
List<String> additionalLanguageCodes) |
public FastTextDetector(File modelPath, File binaryPath) throws IOException
IOException
public Map<String,Double> runFasttext(String text, List<String> additionalLanguageCodes) throws IOException
IOException
public boolean restartProcess() throws IOException
IOException