1 Commits
0.5.5 ... 0.5.6

Author SHA1 Message Date
AB
1facef6897 Add debug message. 2021-04-04 22:35:33 +03:00

View File

@ -432,6 +432,7 @@ pub(crate) async fn add_sentence(
}; };
// Save stemmed words // Save stemmed words
debug!("Going to stem: {}", text);
let words = mystem.stemming(text)?; let words = mystem.stemming(text)?;
conn.execute("BEGIN TRANSACTION", params![]); conn.execute("BEGIN TRANSACTION", params![]);
for word in words { for word in words {