Crates.io | chunkr |
lib.rs | chunkr |
version | 0.1.17 |
source | src |
created_at | 2024-05-20 07:53:12.767094 |
updated_at | 2024-05-23 13:41:36.640783 |
description | A fast and quick chunking library for rust |
homepage | |
repository | |
max_upload_size | |
id | 1245495 |
size | 84,712 |
To add chunkr
to your project and start chunking, use the cargo cli
cargo add chunkr
Clone the repository and run one of the examples from the examples
directory.
git clone https://github.com/d1pankarmedhi/chunkr.git
cd chunkr
Check out these examples to quickly get started:
These are some chunking strategy examples:
Run them using the cargo command like:
cargo run --example chunk_by_words 5 2 "hello there howw are you I am fine thank you"
# ["hello there howw are you", "are you I am fine", "am fine thank you"]
As an open-source project, we are open to all kinds of contribution, be it through code, documentation, issues, bugs, or even feature suggestions.
Feel free to check out Contribution guide for more details.
This project is licensed under the MIT License - see the LICENSE.md file for details