Go Inference API for LAC.
-
Install
lac
$ go get -u github.com/go-aie/lac
-
Install Paddle Inference Go API
Check out the documentation.
Generate the inference model:
$ python3 cli/cli.py download
Run tests:
$ go test -v -race | grep -E 'go|Test'
=== RUN TestCustomization_Parse
--- PASS: TestCustomization_Parse (0.00s)
=== RUN TestTriedTree_Search
--- PASS: TestTriedTree_Search (0.00s)
=== RUN TestLAC_Seg
--- PASS: TestLAC_Seg (0.15s)
ok github.com/go-aie/lac 1.188s