hankcs / AhoCorasickDoubleArrayTrie

An extremely fast implementation of Aho Corasick algorithm based on Double Array Trie.
http://www.hankcs.com/program/algorithm/aho-corasick-double-array-trie.html
946 stars 289 forks source link

pyhanlp 用这个的时候怎么保存文件?? #36

Closed EchoShoot closed 1 year ago

EchoShoot commented 4 years ago

pyhanlp 不能提问, 所以来这里了, pyhanlp 处理 AhoCorasickDoubleArrayTrie 如果我想要保存怎么保存呢? save 报错需要一个 java.io.DataOutputStream