Skip to content

chronicl/deinflect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fast japanese deinflection.

use deinflect::Deinflections;

fn main() {
    let deinflections = Deinflections::from_word("聞かれました");
    // iterate over all possible deinflections
    for deinflection in deinflections.iter() {
        // get the deinflected word as a string
        let deinflected = deinflections.to_string(deinflection);
        println!("{}", deinflected);
    }
}

This library is based on the yomichan japanese deinflector.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages