ikawaha / kagome

Self-contained Japanese Morphological Analyzer written in pure Go
MIT License
818 stars 53 forks source link

chore: add tests and examples for mem.Pool #324

Closed KEINOS closed 5 months ago

KEINOS commented 5 months ago

This PR adds tests and examples for mem package under tokenizer/lattice/mem.

This is part of #277 and #299 but using ExampleXxx() in the test and should display an example in the godoc.

KEINOS commented 5 months ago

https://pkg.go.dev/github.com/ikawaha/kagome/v2@v2.9.7/tokenizer/lattice/mem#pkg-examples

👍