Skip to content

Commit 1edd181

Browse files
authored
Merge pull request #99 from snipsco/release/0.62.0
Release 0.62.0
2 parents d92c2ff + bce6a80 commit 1edd181

File tree

51 files changed

+13423
-11974
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+13423
-11974
lines changed

.appveyor.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ branches:
88
- master
99

1010
install:
11+
- if "%APPVEYOR_REPO_BRANCH%" == "develop" if NOT "%APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH:~0,5%" == "main/" appveyor exit
1112
- appveyor-retry appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
1213
- rustup-init.exe -y --default-host %TARGET%
1314
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin

.travis.yml

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,37 @@
11
sudo: required # This ensures more memory (https://docs.travis-ci.com/user/reference/overview/#Virtualisation-Environment-vs-Operating-System)
22

3-
matrix:
3+
jobs:
44
allow_failures:
55
- rust: nightly
66
include:
7-
- os: osx
7+
- if: env(TRAVIS_BRANCH) = master or branch =~ /^main\/.+$/
8+
os: osx
89
osx_image: xcode9.3
910
language: generic
1011
env:
1112
- TOXENV=py27
1213
- PYTHON_TESTS=true
13-
- os: osx
14+
- if: env(TRAVIS_BRANCH) = master or branch =~ /^main\/.+$/
15+
os: osx
1416
osx_image: xcode9.3
1517
language: generic
1618
env:
1719
- TOXENV=py36
1820
- PYTHON_TESTS=true
19-
- os: osx
21+
- if: env(TRAVIS_BRANCH) = master or branch =~ /^main\/.+$/
22+
os: osx
2023
osx_image: xcode9.3
2124
language: generic
2225
env:
2326
- MACOS_SWIFT_TESTS=true
24-
- os: osx
27+
- if: env(TRAVIS_BRANCH) = master or branch =~ /^main\/.+$/
28+
os: osx
2529
osx_image: xcode9.3
2630
language: generic
2731
env:
2832
- IOS_SWIFT_TESTS=true
29-
- os: linux
33+
- if: env(TRAVIS_BRANCH) = master or branch =~ /^main\/.+$/
34+
os: linux
3035
language: python
3136
python: 2.7
3237
env:
@@ -38,7 +43,8 @@ matrix:
3843
env:
3944
- TOXENV=py36
4045
- PYTHON_TESTS=true
41-
- os: linux
46+
- if: env(TRAVIS_BRANCH) = master or branch =~ /^main\/.+$/
47+
os: linux
4248
language: rust
4349
rust: stable
4450
env:
@@ -48,12 +54,14 @@ matrix:
4854
rust: stable
4955
env:
5056
- RUST_TESTS=true
51-
- os: linux
57+
- if: env(TRAVIS_BRANCH) = master or branch =~ /^main\/.+$/
58+
os: linux
5259
language: rust
5360
rust: beta
5461
env:
5562
- RUST_TESTS=true
56-
- os: linux
63+
- if: env(TRAVIS_BRANCH) = master or branch =~ /^main\/.+$/
64+
os: linux
5765
language: rust
5866
rust: nightly
5967
env:

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
11
# Changelog
22
All notable changes to this project will be documented in this file.
33

4+
5+
## [0.62.0] - 2018-11-26
6+
7+
### Changed
8+
- Bumped `snips-nlu-ontology` to `0.62.0`
9+
10+
### Fixed
11+
- Made CI faster by running the full test suite only when merging on `master`
12+
13+
### Added
14+
- Added a script to update `snips-nlu-ontology` everywhere in the codebase
15+
- Added SNIPS_NLU_VERSION in `libsnips_nlu.h` and a cbindgen.toml to help us generating `libsnips_nlu.h` automatically
16+
- Added logs in the build script
17+
418
## [0.61.0] - 2018-10-16
519
### Changed
620
- Entity injection API is now handled by an `NLUInjector` object
@@ -126,6 +140,8 @@ being statically hardcoded, reducing the binary size by 31Mb.
126140
- Improve support for japanese
127141
- Rename python package to `snips_nlu_rust`
128142

143+
144+
[0.62.0]: https://github.com/snipsco/snips-nlu-rs/compare/0.61.0...0.62.0
129145
[0.61.0]: https://github.com/snipsco/snips-nlu-rs/compare/0.60.1...0.61.0
130146
[0.60.1]: https://github.com/snipsco/snips-nlu-rs/compare/0.60.0...0.60.1
131147
[0.60.0]: https://github.com/snipsco/snips-nlu-rs/compare/0.59.0...0.60.0

data/tests/models/nlu_engine.zip

-1.91 KB
Binary file not shown.

data/tests/models/nlu_engine/custom_entity_parser/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
"language": "en",
33
"parser_directory": "parser",
44
"parser_usage": 2
5-
}
5+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"version":"0.5.0","parser_filename":"parser","threshold":1.0,"stop_words":[],"edge_cases":[]}
1+
{"version":"0.6.0","parser_filename":"parser","threshold":1.0,"stop_words":[],"edge_cases":[]}
Binary file not shown.

data/tests/models/nlu_engine/deterministic_intent_parser/intent_parser.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,18 @@
2222
"language_code": "en",
2323
"patterns": {
2424
"MakeCoffee": [
25-
"^\\s*Brew\\s*(?P<group_3>%SNIPSNUMBER%)\\s*coffee\\s*cups\\s*$",
2625
"^\\s*make\\s*me\\s*(?P<group_2>%SNIPSNUMBER%)\\s*cups\\s*of\\s*coffee\\s*$",
26+
"^\\s*Brew\\s*me\\s*(?P<group_1>%SNIPSNUMBER%)\\s*coffee\\s*cups\\s*$",
27+
"^\\s*Brew\\s*(?P<group_3>%SNIPSNUMBER%)\\s*coffee\\s*cups\\s*$",
2728
"^\\s*Make\\s*me\\s*(?P<group_5>%SNIPSNUMBER%)\\s*cup\\s*of\\s*coffee\\s*$",
28-
"^\\s*give\\s*me\\s*(?P<group_4>%SNIPSNUMBER%)\\s*coffees\\s*please\\s*$",
2929
"^\\s*Make\\s*me\\s*(?P<group_0>%SNIPSNUMBER%)\\s*cups\\s*of\\s*coffee\\s*$",
30-
"^\\s*Brew\\s*me\\s*(?P<group_1>%SNIPSNUMBER%)\\s*coffee\\s*cups\\s*$"
30+
"^\\s*give\\s*me\\s*(?P<group_4>%SNIPSNUMBER%)\\s*coffees\\s*please\\s*$"
3131
],
3232
"MakeTea": [
33-
"^\\s*Please\\s*can\\s*I\\s*get\\s*(?P<group_8>%SNIPSNUMBER%)\\s*(?P<group_9>%TEMPERATURE%)\\s*teas\\s*\\?\\s*$",
3433
"^\\s*Prepare\\s*(?P<group_10>%SNIPSNUMBER%)\\s*cups\\s*of\\s*(?P<group_11>%TEMPERATURE%)\\s*tea\\s*$",
34+
"^\\s*Make\\s*me\\s*(?P<group_12>%SNIPSNUMBER%)\\s*tea\\s*$",
3535
"^\\s*Make\\s*(?P<group_6>%SNIPSNUMBER%)\\s*(?P<group_7>%TEMPERATURE%)\\s*teas\\s*$",
36-
"^\\s*Make\\s*me\\s*(?P<group_12>%SNIPSNUMBER%)\\s*tea\\s*$"
36+
"^\\s*Please\\s*can\\s*I\\s*get\\s*(?P<group_8>%SNIPSNUMBER%)\\s*(?P<group_9>%TEMPERATURE%)\\s*teas\\s*\\?\\s*$"
3737
]
3838
},
3939
"slot_names_to_entities": {
@@ -45,4 +45,4 @@
4545
"number_of_cups": "snips/number"
4646
}
4747
}
48-
}
48+
}

data/tests/models/nlu_engine/nlu_engine.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"featurizer_config": {
2020
"pvalue_threshold": 0.4,
2121
"sublinear_tf": false,
22-
"use_stemming": true,
22+
"use_stemming": false,
2323
"word_clusters_name": null
2424
},
2525
"random_seed": null,
@@ -188,7 +188,7 @@
188188
"deterministic_intent_parser",
189189
"probabilistic_intent_parser"
190190
],
191-
"model_version": "0.17.0",
192-
"training_package_version": "0.17.0",
191+
"model_version": "0.18.0",
192+
"training_package_version": "0.18.0",
193193
"unit_name": "nlu_engine"
194-
}
194+
}

0 commit comments

Comments
 (0)