We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
实现android 环境下,自定义data数据的目录
public static final String KEY_ENV_HANLP_ROOT_DIR = "HANLP_ROOT";
public void initNLP() { try { String nlpDir = new MyFileSystemAction().getNlpDataAbsPath(); Os.setenv(KEY_ENV_HANLP_ROOT_DIR, nlpDir, true); } catch (ErrnoException e) { throw new RuntimeException(e); } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
实现android 环境下,自定义data数据的目录
public static final String KEY_ENV_HANLP_ROOT_DIR = "HANLP_ROOT";
public void initNLP() {
try {
String nlpDir = new MyFileSystemAction().getNlpDataAbsPath();
Os.setenv(KEY_ENV_HANLP_ROOT_DIR, nlpDir, true);
} catch (ErrnoException e) {
throw new RuntimeException(e);
}
}
The text was updated successfully, but these errors were encountered: