Package ai.djl.fasttext.jni
Class LibUtils
java.lang.Object
ai.djl.fasttext.jni.LibUtils
Utilities for finding the SentencePiece binary on the System.
The binary will be searched for in a variety of locations in the following order:
- In the path specified by the SENTENCEPIECE_LIBRARY_PATH environment variable
- In a jar file location in the classpath. These jars can be created with the pytorch-native module.
-
Method Summary
-
Method Details
-
loadLibrary
public static void loadLibrary()
-