mirror of
https://github.com/neodyland/sbv2-api.git
synced 2025-12-26 00:59:58 +00:00
bumped
This commit is contained in:
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -1833,7 +1833,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "sbv2_bindings"
|
name = "sbv2_bindings"
|
||||||
version = "0.1.1"
|
version = "0.2.0-alpha1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"ndarray",
|
"ndarray",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "sbv2_bindings"
|
name = "sbv2_bindings"
|
||||||
version = "0.1.1"
|
version = "0.2.0-alpha1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|||||||
@@ -230,6 +230,7 @@ impl JTalkProcess {
|
|||||||
)) {
|
)) {
|
||||||
return Ok(text.chars().map(|x| x.to_string()).collect());
|
return Ok(text.chars().map(|x| x.to_string()).collect());
|
||||||
}
|
}
|
||||||
|
println!("text: {:?}", text);
|
||||||
if !KATAKANA_PATTERN.is_match(&text) {
|
if !KATAKANA_PATTERN.is_match(&text) {
|
||||||
return Err(Error::ValueError(format!(
|
return Err(Error::ValueError(format!(
|
||||||
"Input must be katakana only: {}",
|
"Input must be katakana only: {}",
|
||||||
|
|||||||
Reference in New Issue
Block a user