mirror of
https://github.com/house-of-vanity/desubot.git
synced 2025-07-06 20:24:08 +00:00
Update db.rs
This commit is contained in:
@ -35,6 +35,7 @@ pub(crate) fn update_scheme() -> Result<()> {
|
||||
}
|
||||
|
||||
pub(crate) fn load_stopwords() -> Result<()> {
|
||||
info!("Populating stop words wait please.");
|
||||
let conn = open()?;
|
||||
for table in include_str!("../assets/stop-words.txt").split('\n').into_iter() {
|
||||
let word = table.trim();
|
||||
|
Reference in New Issue
Block a user