jpreprocess
Japanese text preprocessor for Text-to-Speech application.
This project is a rewrite of OpenJTalk in Rust language.
Usage
Put the following in Cargo.toml
[]
= "0.2.0"
Example
In this example, jpreprocess takes a lindera dictionary and preprocesses a text into jpcommon labels.
use *;
let config = FileLindera;
let jpreprocess = new?;
let jpcommon_label = jpreprocess
.extract_fullcontext?;
assert_eq!;
Copyrights
This software includes source code from:
- OpenJTalk. Copyright (c) 2008-2016 Nagoya Institute of Technology Department of Computer Science
- Lindera. Copyright (c) 2019 by the project authors
License
BSD-3-Clause