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
IOExceptionpublic Map<String,Double> runFasttext(String text, List<String> additionalLanguageCodes) throws IOException
IOExceptionpublic boolean restartProcess()
throws IOException
IOException