Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
Moved dictionaries to publishable location
Elijah Potter9291165c4afb
diff --git a/dictionary.aff b/harper-core/dictionary.affsimilarity index 100%rename from dictionary.affrename to harper-core/dictionary.affdiff --git a/dictionary.dict b/harper-core/dictionary.dictsimilarity index 100%rename from dictionary.dictrename to harper-core/dictionary.dictdiff --git a/harper-core/src/spell/hunspell/mod.rs b/harper-core/src/spell/hunspell/mod.rsindex 139ff7adb..94e2a9709 100644--- a/harper-core/src/spell/hunspell/mod.rs+++ b/harper-core/src/spell/hunspell/mod.rs@@ -9,11 +9,11 @@ pub use attributes::AttributeList;pub use error::Error;pub fn parse_default_word_list() -> Result<Vec<MarkedWord>, Error> {- parse_word_list(include_str!("../../../../dictionary.dict"))+ parse_word_list(include_str!("../../../dictionary.dict"))}pub fn parse_default_attribute_list() -> Result<AttributeList, Error> {- AttributeList::parse(include_str!("../../../../dictionary.aff"))+ AttributeList::parse(include_str!("../../../dictionary.aff"))}#[cfg(test)]diff --git a/harper-wasm/Cargo.toml b/harper-wasm/Cargo.tomlindex fe7816f8e..ab21abee6 100644--- a/harper-wasm/Cargo.toml+++ b/harper-wasm/Cargo.toml@@ -2,6 +2,7 @@name = "harper-wasm"version = "0.1.0"edition = "2021"+private = true[lib]crate-type = ["cdylib", "rlib"]