matcher_rs-0.1.5 has been yanked.
Visit the last successful build:
matcher_rs-0.15.5
Matcher
A high performance multiple functional word matcher implemented in Rust.
Usage
To use matcher_rs in your Rust project, add the following to your Cargo.toml file:
[]
= "0.1.5"
You can then use the Matcher struct to perform text matching. Here's a basic example:
use ;
use HashMap as GxHashMap;
let match_table_map: MatchTableMap = from_iter;
let matcher = new;
let text = "This is an example text.";
let results = matcher.word_match;
For more detailed usage examples, please refer to the test.rs file.
Benchmarks
- The matcher_rs library includes benchmarks to measure the performance of the matcher. You can find the benchmarks in the bench.rs file. To run the benchmarks, use the following command:
cargo bench
Contributing
Contributions to matcher_rs are welcome! If you find a bug or have a feature request, please open an issue on the GitHub repository. If you would like to contribute code, please fork the repository and submit a pull request.
License
matcher_rs is licensed under the MIT OR Apache-2.0 license. See the LICENSE file for more information.