Crates.io | crawdad |
lib.rs | crawdad |
version | 0.4.0 |
source | src |
created_at | 2022-04-13 02:08:55.993464 |
updated_at | 2022-09-02 06:04:06.417902 |
description | Crawdad: ChaRActer-Wise Double-Array Dictionary |
homepage | https://github.com/daac-tools/crawdad |
repository | https://github.com/daac-tools/crawdad |
max_upload_size | |
id | 566747 |
size | 102,490 |
Crawdad is a library of natural language dictionaries using character-wise double-array tries. The implementation is optimized for strings of multibyte-characters, and you can enjoy fast text processing on strings such as Japanese or Chinese.
For example, on a large Japanese dictionary of IPADIC+Neologd, Crawdad has a better time-space tradeoff than other Rust libraries.
The detailed experimental settings and other results are available on Wiki.
Crawdad contains the two trie implementations:
crawdad::Trie
is a standard trie form that often provides the fastest queries.crawdad::MpTrie
is a minimal-prefix trie form that is memory-efficient for long strings.Licensed under either of
at your option.
For softwares under bench/data
, follow the license terms of each software.
The initial version of this software was developed by LegalForce, Inc., but not an officially supported LegalForce product.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.