-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove unnecessary tokenizer features
- Loading branch information
Showing
2 changed files
with
14 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "text-splitter" | ||
version = "0.4.0" | ||
version = "0.4.1" | ||
authors = ["Ben Brandt <[email protected]>"] | ||
edition = "2021" | ||
description = "Split text into semantic chunks, up to a desired chunk size. Supports calculating length by characters and tokens (when used with large language models)." | ||
|
@@ -24,12 +24,18 @@ itertools = "0.10.5" | |
once_cell = "1.17.2" | ||
regex = "1.8.3" | ||
tiktoken-rs = { version = "0.4.2", optional = true } | ||
tokenizers = { version = "0.13.3", optional = true } | ||
tokenizers = { version = "0.13.3", default_features = false, features = [ | ||
"onig", | ||
], optional = true } | ||
unicode-segmentation = "1.10.1" | ||
|
||
[dev-dependencies] | ||
fake = "2.6.1" | ||
insta = { version = "1.29.0", features = ["glob", "yaml"] } | ||
tokenizers = { version = "0.13.3", default-features = false, features = [ | ||
"onig", | ||
"http", | ||
] } | ||
more-asserts = "0.3.1" | ||
|
||
[features] | ||
|