Skip to content

Commit

Permalink
Merge pull request #129 from snipsco/hotfix/pt-language-support
Browse files Browse the repository at this point in the history
Hotfix/pt language support
  • Loading branch information
ClemDoum authored Feb 27, 2019
2 parents a0f48e7 + dd948b4 commit cbf40ca
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 6 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Changelog
All notable changes to this project will be documented in this file.


## [0.64.2] - 2019-02-27
### Fixed
- Portuguese builtin entities support

## [0.64.1] - 2019-02-27
### Fixed
- Portuguese builtin entity examples
Expand Down Expand Up @@ -148,6 +153,7 @@ All notable changes to this project will be documented in this file.
### Changed
- Updated Rustling ontology to `0.16.4`

[0.64.2]: https://github.com/snipsco/snips-nlu-ontology/compare/0.64.1...0.64.2
[0.64.1]: https://github.com/snipsco/snips-nlu-ontology/compare/0.64.0...0.64.1
[0.64.0]: https://github.com/snipsco/snips-nlu-ontology/compare/0.63.2...0.64.0
[0.63.2]: https://github.com/snipsco/snips-nlu-ontology/compare/0.63.1...0.63.2
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "snips-nlu-ontology"
version = "0.64.1"
version = "0.64.2"
authors = [
"Adrien Ball <[email protected]>",
"Thibaut Lorrain <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion doc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "snips-nlu-ontology-doc"
version = "0.64.1"
version = "0.64.2"
authors = ["Adrien Ball <[email protected]>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion ffi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "snips-nlu-ontology-ffi"
version = "0.64.1"
version = "0.64.2"
authors = ["Kevin Lefevre <[email protected]>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion ffi/ffi-macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "snips-nlu-ontology-ffi-macros"
version = "0.64.1"
version = "0.64.2"
authors = [
"Kevin Lefevre <[email protected]>",
"Thibaut Lorrain <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion platforms/kotlin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ buildscript {
}
}

version = "0.64.1"
version = "0.64.2"
group = "ai.snips"


Expand Down
2 changes: 1 addition & 1 deletion platforms/kotlin/snips-nlu-ontology-export/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = "0.64.1"
version = "0.64.2"
group = "ai.snips"


Expand Down
14 changes: 14 additions & 0 deletions src/entity/builtin_entity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,8 @@ impl BuiltinEntityKind {
Language::IT,
Language::JA,
Language::KO,
Language::PT_BR,
Language::PT_PT,
],
BuiltinEntityKind::Duration => &[
Language::DE,
Expand All @@ -611,6 +613,8 @@ impl BuiltinEntityKind {
Language::IT,
Language::JA,
Language::KO,
Language::PT_BR,
Language::PT_PT,
],
BuiltinEntityKind::Number => &[
Language::DE,
Expand All @@ -620,6 +624,8 @@ impl BuiltinEntityKind {
Language::IT,
Language::JA,
Language::KO,
Language::PT_BR,
Language::PT_PT,
],
BuiltinEntityKind::Ordinal => &[
Language::DE,
Expand All @@ -629,6 +635,8 @@ impl BuiltinEntityKind {
Language::IT,
Language::JA,
Language::KO,
Language::PT_BR,
Language::PT_PT,
],
BuiltinEntityKind::Temperature => &[
Language::DE,
Expand All @@ -638,6 +646,8 @@ impl BuiltinEntityKind {
Language::IT,
Language::JA,
Language::KO,
Language::PT_BR,
Language::PT_PT,
],
BuiltinEntityKind::Time => &[
Language::DE,
Expand All @@ -647,6 +657,8 @@ impl BuiltinEntityKind {
Language::IT,
Language::JA,
Language::KO,
Language::PT_BR,
Language::PT_PT,
],
BuiltinEntityKind::Percentage => &[
Language::DE,
Expand All @@ -655,6 +667,8 @@ impl BuiltinEntityKind {
Language::FR,
Language::IT,
Language::JA,
Language::PT_BR,
Language::PT_PT,
],
BuiltinEntityKind::MusicAlbum => &[Language::EN, Language::FR],
BuiltinEntityKind::MusicArtist => &[Language::EN, Language::FR],
Expand Down

0 comments on commit cbf40ca

Please sign in to comment.