Searched refs:modelPtr (Results 1 – 1 of 1) sorted by relevance
34 private long modelPtr; field in LangIdModel38 modelPtr = nativeNew(fd); in LangIdModel()39 if (modelPtr == 0L) { in LangIdModel()46 modelPtr = nativeNewFromPath(modelPath); in LangIdModel()47 if (modelPtr == 0L) { in LangIdModel()57 modelPtr = in LangIdModel()62 if (modelPtr == 0L) { in LangIdModel()69 modelPtr = nativeNewWithOffset(fd, offset, size); in LangIdModel()70 if (modelPtr == 0L) { in LangIdModel()77 return nativeDetectLanguages(modelPtr, text); in detectLanguages()[all …]