MCPcopy 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

finalizeMethod · 0.95
wrapperMethod · 0.80
load_word2id_dictFunction · 0.80
load_q2b_dictFunction · 0.80
load_id2label_dictFunction · 0.80
copyFromAssetsToCacheMethod · 0.80
load_dictMethod · 0.80
load_word2id_dictFunction · 0.80
load_q2b_dictFunction · 0.80
load_id2label_dictFunction · 0.80

Calls 1

releaseMethod · 0.95

Tested by 1

copyFromAssetsToCacheMethod · 0.64