mirror of
https://github.com/patarapolw/cjdic2.git
synced 2026-11-09 17:39:35 +00:00
word segmentation and clipboard first word detector
This commit is contained in:
1 parent
29a4d14893
commit
1614db6e99
19 files changed
+502
-13
No files matched your search
@@ -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(())
|
||||
}
|
||||
Reference in new issue
Block a user