Skip to content

Commit

Permalink
Merge pull request #56 from snipsco/release/0.57.1
Browse files Browse the repository at this point in the history
Release 0.57.1
  • Loading branch information
adrienball authored Jul 9, 2018
2 parents 155b813 + 7ead742 commit 803407f
Show file tree
Hide file tree
Showing 12 changed files with 26 additions and 20 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Changelog
All notable changes to this project will be documented in this file.

## [0.57.1] - 2018-07-09
### Changed
- Bump `snips-nlu-ontology` to `0.57.1`

### Fixed
- Crash when parsing implicit years before 1970

## [0.57.0] - 2018-06-08
### Changed
- Improve matching of synonyms
Expand Down Expand Up @@ -53,6 +60,7 @@ All notable changes to this project will be documented in this file.
- Rename python package to `snips_nlu_rust`


[0.57.1]: https://github.com/snipsco/snips-nlu-rs/compare/0.57.0...0.57.1
[0.57.0]: https://github.com/snipsco/snips-nlu-rs/compare/0.56.1...0.57.0
[0.56.1]: https://github.com/snipsco/snips-nlu-rs/compare/0.56.0...0.56.1
[0.56.0]: https://github.com/snipsco/snips-nlu-rs/compare/0.55.2...0.56.0
Expand Down
4 changes: 2 additions & 2 deletions snips-nlu-ffi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "snips-nlu-ffi"
version = "0.57.0"
version = "0.57.1"
authors = [
"Kevin Lefevre <[email protected]>",
"Thibaut Lorrain <[email protected]>"
Expand All @@ -9,7 +9,7 @@ authors = [
[dependencies]
ffi-utils = { git = "https://github.com/snipsco/snips-utils-rs", rev = "b1f4af3" }
snips-nlu-lib = { path = "../snips-nlu-lib" }
snips-nlu-ontology-ffi-macros = { git = "https://github.com/snipsco/snips-nlu-ontology", tag = "0.57.0" }
snips-nlu-ontology-ffi-macros = { git = "https://github.com/snipsco/snips-nlu-ontology", tag = "0.57.1" }
failure = "0.1"
lazy_static = "1.0"
libc = "0.2"
Expand Down
2 changes: 1 addition & 1 deletion snips-nlu-ffi/kotlin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ buildscript {

apply plugin: 'kotlin'

version = "0.57.0"
version = "0.57.1"
group = "ai.snips"

repositories {
Expand Down
4 changes: 2 additions & 2 deletions snips-nlu-ffi/python/snips-nlu-python-ffi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "snips-nlu-python-ffi"
version = "0.57.0"
version = "0.57.1"
authors = ["Adrien Ball <[email protected]>"]

[lib]
Expand All @@ -10,4 +10,4 @@ crate-type = ["cdylib"]
[dependencies]
libc = "0.2"
ffi-utils = { git = "https://github.com/snipsco/snips-utils-rs", rev = "b1f4af3" }
snips-nlu-ffi = { git = "https://github.com/snipsco/snips-nlu-rs", tag = "0.57.0" }
snips-nlu-ffi = { git = "https://github.com/snipsco/snips-nlu-rs", tag = "0.57.1" }
2 changes: 1 addition & 1 deletion snips-nlu-ffi/python/snips_nlu_rust/__version__
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.57.0
0.57.1
2 changes: 1 addition & 1 deletion snips-nlu-ffi/swift/SnipsNlu/Dependencies/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

set -e

VERSION="0.57.0"
VERSION="0.57.1"
SYSTEM=$(echo $1 | tr '[:upper:]' '[:lower:]')
LIBRARY_NAME=libsnips_nlu_ffi
LIBRARY_NAME_A=${LIBRARY_NAME}.a
Expand Down
6 changes: 3 additions & 3 deletions snips-nlu-lib/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "snips-nlu-lib"
version = "0.57.0"
version = "0.57.1"
authors = [
"Thibaut Lorrain <[email protected]>",
"Kevin Lefevre <[email protected]>"
Expand All @@ -11,8 +11,8 @@ description = "Rust implementation of Snips NLU"
[dependencies]
snips-nlu-resources-packed = { path = "../snips-nlu-resources-packed" }
crfsuite = { git = "https://github.com/snipsco/crfsuite-rs", rev = "b18d95c" }
snips-nlu-ontology = { git = "https://github.com/snipsco/snips-nlu-ontology", tag = "0.57.0" }
snips-nlu-ontology-parsers = { git = "https://github.com/snipsco/snips-nlu-ontology", tag = "0.57.0" }
snips-nlu-ontology = { git = "https://github.com/snipsco/snips-nlu-ontology", tag = "0.57.1" }
snips-nlu-ontology-parsers = { git = "https://github.com/snipsco/snips-nlu-ontology", tag = "0.57.1" }
snips-nlu-utils = { git = "https://github.com/snipsco/snips-nlu-utils", tag = "0.6.1" }
dinghy-test = "0.3"
failure = "0.1"
Expand Down
4 changes: 2 additions & 2 deletions snips-nlu-lib/benches/nlu_engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ fn load_nlu_engine() -> SnipsNluEngine {
let assistant = ZipBasedConfiguration::new(file, bypass_model_version_check).yolo();
SnipsNluEngine::new(assistant).yolo()
} else if let Ok(assistant_directory) = env::var(ASSISTANT_DIR_ENV) {
let assistant = FileBasedConfiguration::new(
let assistant = FileBasedConfiguration::from_path(
file_path(&assistant_directory),
bypass_model_version_check,
).yolo();
SnipsNluEngine::new(assistant).yolo()
} else {
let assistant =
FileBasedConfiguration::new(file_path("untracked"), bypass_model_version_check).yolo();
FileBasedConfiguration::from_path(file_path("untracked"), bypass_model_version_check).yolo();
SnipsNluEngine::new(assistant).yolo()
}
}
Expand Down
6 changes: 2 additions & 4 deletions snips-nlu-lib/src/intent_classifier/featurizer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,14 +105,12 @@ impl Featurizer {
.map(|ent| get_builtin_entity_feature_name(ent.entity_kind, language))
.sorted();

vec![
Itertools::flatten(vec![
normalized_stemmed_tokens,
builtin_entities_features,
entities_features,
word_cluster_features,
].into_iter()
.flatten()
.collect()
].into_iter()).collect()
}
}

Expand Down
2 changes: 1 addition & 1 deletion snips-nlu-lib/src/slot_filler/crf_slot_filler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ fn augment_slots(
slot_filler.get_tagging_scheme(),
intent_slots_mapping,
)?;
let filtered_builtin_entities = grouped_entities.into_iter().flatten().collect();
let filtered_builtin_entities = Itertools::flatten(grouped_entities.into_iter()).collect();
Ok(reconciliate_builtin_slots(
text,
slots,
Expand Down
4 changes: 2 additions & 2 deletions snips-nlu-resources-packed/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "snips-nlu-resources-packed"
version = "0.57.0"
version = "0.57.1"
authors = ["Thibaut Lorrain <[email protected]>"]
build = "build.rs"

[dependencies]
failure = "0.1"
lazy_static = "1.0"
phf = { version = "0.7.21", features = ["unicase"] }
snips-nlu-ontology = { git = "https://github.com/snipsco/snips-nlu-ontology", tag = "0.57.0" }
snips-nlu-ontology = { git = "https://github.com/snipsco/snips-nlu-ontology", tag = "0.57.1" }

[build-dependencies]
snips-nlu-resources = { path = "../snips-nlu-resources"}
Expand Down
2 changes: 1 addition & 1 deletion snips-nlu-resources/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "snips-nlu-resources"
version = "0.57.0"
version = "0.57.1"
authors = ["Thibaut Lorrain <[email protected]>"]

[dependencies]
Expand Down

0 comments on commit 803407f

Please sign in to comment.