Skip to content

Commit

Permalink
Merge pull request #99 from snipsco/release/0.62.0
Browse files Browse the repository at this point in the history
Release 0.62.0
  • Loading branch information
ClemDoum authored Nov 26, 2018
2 parents d92c2ff + bce6a80 commit 1edd181
Show file tree
Hide file tree
Showing 51 changed files with 13,423 additions and 11,974 deletions.
1 change: 1 addition & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ branches:
- master

install:
- if "%APPVEYOR_REPO_BRANCH%" == "develop" if NOT "%APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH:~0,5%" == "main/" appveyor exit
- appveyor-retry appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
- rustup-init.exe -y --default-host %TARGET%
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
Expand Down
26 changes: 17 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,37 @@
sudo: required # This ensures more memory (https://docs.travis-ci.com/user/reference/overview/#Virtualisation-Environment-vs-Operating-System)

matrix:
jobs:
allow_failures:
- rust: nightly
include:
- os: osx
- if: env(TRAVIS_BRANCH) = master or branch =~ /^main\/.+$/
os: osx
osx_image: xcode9.3
language: generic
env:
- TOXENV=py27
- PYTHON_TESTS=true
- os: osx
- if: env(TRAVIS_BRANCH) = master or branch =~ /^main\/.+$/
os: osx
osx_image: xcode9.3
language: generic
env:
- TOXENV=py36
- PYTHON_TESTS=true
- os: osx
- if: env(TRAVIS_BRANCH) = master or branch =~ /^main\/.+$/
os: osx
osx_image: xcode9.3
language: generic
env:
- MACOS_SWIFT_TESTS=true
- os: osx
- if: env(TRAVIS_BRANCH) = master or branch =~ /^main\/.+$/
os: osx
osx_image: xcode9.3
language: generic
env:
- IOS_SWIFT_TESTS=true
- os: linux
- if: env(TRAVIS_BRANCH) = master or branch =~ /^main\/.+$/
os: linux
language: python
python: 2.7
env:
Expand All @@ -38,7 +43,8 @@ matrix:
env:
- TOXENV=py36
- PYTHON_TESTS=true
- os: linux
- if: env(TRAVIS_BRANCH) = master or branch =~ /^main\/.+$/
os: linux
language: rust
rust: stable
env:
Expand All @@ -48,12 +54,14 @@ matrix:
rust: stable
env:
- RUST_TESTS=true
- os: linux
- if: env(TRAVIS_BRANCH) = master or branch =~ /^main\/.+$/
os: linux
language: rust
rust: beta
env:
- RUST_TESTS=true
- os: linux
- if: env(TRAVIS_BRANCH) = master or branch =~ /^main\/.+$/
os: linux
language: rust
rust: nightly
env:
Expand Down
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
# Changelog
All notable changes to this project will be documented in this file.


## [0.62.0] - 2018-11-26

### Changed
- Bumped `snips-nlu-ontology` to `0.62.0`

### Fixed
- Made CI faster by running the full test suite only when merging on `master`

### Added
- Added a script to update `snips-nlu-ontology` everywhere in the codebase
- Added SNIPS_NLU_VERSION in `libsnips_nlu.h` and a cbindgen.toml to help us generating `libsnips_nlu.h` automatically
- Added logs in the build script

## [0.61.0] - 2018-10-16
### Changed
- Entity injection API is now handled by an `NLUInjector` object
Expand Down Expand Up @@ -126,6 +140,8 @@ being statically hardcoded, reducing the binary size by 31Mb.
- Improve support for japanese
- Rename python package to `snips_nlu_rust`


[0.62.0]: https://github.com/snipsco/snips-nlu-rs/compare/0.61.0...0.62.0
[0.61.0]: https://github.com/snipsco/snips-nlu-rs/compare/0.60.1...0.61.0
[0.60.1]: https://github.com/snipsco/snips-nlu-rs/compare/0.60.0...0.60.1
[0.60.0]: https://github.com/snipsco/snips-nlu-rs/compare/0.59.0...0.60.0
Expand Down
Binary file modified data/tests/models/nlu_engine.zip
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"language": "en",
"parser_directory": "parser",
"parser_usage": 2
}
}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":"0.5.0","parser_filename":"parser","threshold":1.0,"stop_words":[],"edge_cases":[]}
{"version":"0.6.0","parser_filename":"parser","threshold":1.0,"stop_words":[],"edge_cases":[]}
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,18 @@
"language_code": "en",
"patterns": {
"MakeCoffee": [
"^\\s*Brew\\s*(?P<group_3>%SNIPSNUMBER%)\\s*coffee\\s*cups\\s*$",
"^\\s*make\\s*me\\s*(?P<group_2>%SNIPSNUMBER%)\\s*cups\\s*of\\s*coffee\\s*$",
"^\\s*Brew\\s*me\\s*(?P<group_1>%SNIPSNUMBER%)\\s*coffee\\s*cups\\s*$",
"^\\s*Brew\\s*(?P<group_3>%SNIPSNUMBER%)\\s*coffee\\s*cups\\s*$",
"^\\s*Make\\s*me\\s*(?P<group_5>%SNIPSNUMBER%)\\s*cup\\s*of\\s*coffee\\s*$",
"^\\s*give\\s*me\\s*(?P<group_4>%SNIPSNUMBER%)\\s*coffees\\s*please\\s*$",
"^\\s*Make\\s*me\\s*(?P<group_0>%SNIPSNUMBER%)\\s*cups\\s*of\\s*coffee\\s*$",
"^\\s*Brew\\s*me\\s*(?P<group_1>%SNIPSNUMBER%)\\s*coffee\\s*cups\\s*$"
"^\\s*give\\s*me\\s*(?P<group_4>%SNIPSNUMBER%)\\s*coffees\\s*please\\s*$"
],
"MakeTea": [
"^\\s*Please\\s*can\\s*I\\s*get\\s*(?P<group_8>%SNIPSNUMBER%)\\s*(?P<group_9>%TEMPERATURE%)\\s*teas\\s*\\?\\s*$",
"^\\s*Prepare\\s*(?P<group_10>%SNIPSNUMBER%)\\s*cups\\s*of\\s*(?P<group_11>%TEMPERATURE%)\\s*tea\\s*$",
"^\\s*Make\\s*me\\s*(?P<group_12>%SNIPSNUMBER%)\\s*tea\\s*$",
"^\\s*Make\\s*(?P<group_6>%SNIPSNUMBER%)\\s*(?P<group_7>%TEMPERATURE%)\\s*teas\\s*$",
"^\\s*Make\\s*me\\s*(?P<group_12>%SNIPSNUMBER%)\\s*tea\\s*$"
"^\\s*Please\\s*can\\s*I\\s*get\\s*(?P<group_8>%SNIPSNUMBER%)\\s*(?P<group_9>%TEMPERATURE%)\\s*teas\\s*\\?\\s*$"
]
},
"slot_names_to_entities": {
Expand All @@ -45,4 +45,4 @@
"number_of_cups": "snips/number"
}
}
}
}
8 changes: 4 additions & 4 deletions data/tests/models/nlu_engine/nlu_engine.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"featurizer_config": {
"pvalue_threshold": 0.4,
"sublinear_tf": false,
"use_stemming": true,
"use_stemming": false,
"word_clusters_name": null
},
"random_seed": null,
Expand Down Expand Up @@ -188,7 +188,7 @@
"deterministic_intent_parser",
"probabilistic_intent_parser"
],
"model_version": "0.17.0",
"training_package_version": "0.17.0",
"model_version": "0.18.0",
"training_package_version": "0.18.0",
"unit_name": "nlu_engine"
}
}
Loading

0 comments on commit 1edd181

Please sign in to comment.