Skip to content

Commit

Permalink
remote cargo patch
Browse files Browse the repository at this point in the history
  • Loading branch information
drahnr committed Apr 8, 2021
1 parent 03be1c5 commit 254d985
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
3 changes: 0 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
10 changes: 0 additions & 10 deletions nlprule/src/tokenizer/tag.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,16 +103,6 @@ impl From<TaggerFields> 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<String, WordIdInt> = 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();
Expand Down

0 comments on commit 254d985

Please sign in to comment.