mirror of
https://github.com/house-of-vanity/desubot.git
synced 2025-07-08 04:54:08 +00:00
Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
1facef6897 |
@ -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 {
|
||||||
|
Reference in New Issue
Block a user