Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/baidu/lac
/ close
Method
close
java/com/baidu/nlp/LAC.java:24–29 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
22
}
23
24
public
void
close() {
25
if
(self_ptr != 0) {
26
release(self_ptr);
27
self_ptr = 0;
28
}
29
}
30
31
// load model from model_path
32
private
native
void
init(String model_path);
Callers
10
finalize
Method · 0.95
wrapper
Method · 0.80
load_word2id_dict
Function · 0.80
load_q2b_dict
Function · 0.80
load_id2label_dict
Function · 0.80
copyFromAssetsToCache
Method · 0.80
load_dict
Method · 0.80
load_word2id_dict
Function · 0.80
load_q2b_dict
Function · 0.80
load_id2label_dict
Function · 0.80
Calls
1
release
Method · 0.95
Tested by
1
copyFromAssetsToCache
Method · 0.64