word segmentation and clipboard first word detector

This commit is contained in:
polv committed 2026-03-06 02:25:49 +07:00
1 parent 29a4d14893
commit 1614db6e99
19 files changed
+502 -13

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
use cjdic2_core::AppService;
mod common;
use common::get_db_dir;
use crate::common::get_vibrato_dict_dir;
fn main() -> Result<(), anyhow::Error> {
let service = AppService::new(get_db_dir(), get_vibrato_dict_dir())?;
println!(
"{:#?}",
service.ja_tokenize(
"予約キャンセル・変更は【配信日前日の19時頃】までに行ってください。".to_string()
)?
);
Ok(())
}