From 254d985ca5f3b864567a7f958120d78c3e24a539 Mon Sep 17 00:00:00 2001 From: Bernhard Schuster Date: Thu, 8 Apr 2021 09:12:07 +0200 Subject: [PATCH] remote cargo patch --- Cargo.toml | 3 --- nlprule/src/tokenizer/tag.rs | 10 ---------- 2 files changed, 13 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 6587ef6..a8efc09 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,9 +10,6 @@ members = [ opt-level = 2 build-override = { opt-level = 2 } -[patch.crates-io] -bimap = { git = "https://github.com/drahnr/bimap-rs.git", branch = "master" } - # [profile.release] # BUILD_BINDINGS_UNCOMMENT # lto = "fat" # BUILD_BINDINGS_UNCOMMENT # codegen-units = 1 # BUILD_BINDINGS_UNCOMMENT \ No newline at end of file diff --git a/nlprule/src/tokenizer/tag.rs b/nlprule/src/tokenizer/tag.rs index 320dd1f..3c3d303 100644 --- a/nlprule/src/tokenizer/tag.rs +++ b/nlprule/src/tokenizer/tag.rs @@ -103,16 +103,6 @@ impl From for Tagger { word_store.insert(key.to_owned(), WordIdInt(value as u32)); } }; - // let word_store_fst = Map::new(data.word_store_fst).unwrap(); - // let word_store: FastBiMap = word_store_fst - // .into_stream() - // .into_str_vec() - // .unwrap() - // .into_iter() - // .map(|(key, value)| (key, WordIdInt(value as u32))) - // .collect(); - - let mut tags = FastHashMap::new(); let mut groups = FastHashMap::new();