这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ resolver = "3"
members = ["litsea", "litsea-cli"]

[workspace.package]
version = "0.3.1"
version = "0.3.2"
edition = "2024"
description = "Litsea is an extreamely compact word segmentation and model training tool implemented in Rust."
documentation = "https://docs.rs/litsea"
Expand All @@ -28,4 +28,4 @@ tempfile = "3.23.0"
tokio = { version = "1.48.0", features = ["rt-multi-thread", "macros"] }
tokio-test = "0.4.4"

litsea = { version = "0.3.1", path = "./litsea" }
litsea = { version = "0.3.2", path = "./litsea" }
2 changes: 1 addition & 1 deletion litsea/src/adaboost.rs
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ impl AdaBoost {
/// # Returns: A result indicating success or failure.
///
/// # Errors: Returns an error if the content cannot be parsed.
fn parse_model_content<R: BufRead>(&mut self, reader: R) -> std::io::Result<()> {
pub fn parse_model_content<R: BufRead>(&mut self, reader: R) -> std::io::Result<()> {
let mut m: HashMap<String, f64> = HashMap::new();
let mut bias = 0.0;

Expand Down