This commit is contained in:
AB committed 2020-12-27 23:04:09 +03:00
commit e421d6f382
6 files changed
+451

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
extern crate mystem;
fn main() -> Result<(), mystem::AppError> {
let mut instance = mystem::MyStem::new()?;
for stem in instance.stemming("Связался с лучшим - подохни как все.".into())?
{
println!("{} is a lexeme of {}", stem.lex, stem.text)
}
#[allow(unused_must_use)]
instance.terminate();
Ok(())
}