Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deprecate languages #765

Merged
merged 1 commit into from
Feb 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ Rhino is the right choice if the domain of voice interactions is specific (limit

## Language Support

- Arabic, Dutch, English, Farsi, French, German, Hindi, Italian, Japanese, Korean, Mandarin, Polish, Portuguese, Russian, Spanish, Swedish, and Vietnamese.
- English, French, German, Italian, Japanese, Korean, Portuguese, and Spanish.
- Support for [additional languages is available for commercial customers](https://picovoice.ai/consulting/) on a case-by-case basis.

## Performance
Expand Down Expand Up @@ -319,7 +319,7 @@ pod install

3) Replace `let accessKey = "${YOUR_ACCESS_KEY_HERE}"` in the file [ContentView.swift](./demo/ios/RhinoDemo/ContentView.swift) with your `AccessKey`.

4) Go to `Product > Scheme` and select the scheme for the language you would like to demo (e.g. `arDemo` -> Arabic Demo, `deDemo` -> German Demo)
4) Go to `Product > Scheme` and select the scheme for the language you would like to demo (e.g. `esDemo` -> Spanish Demo, `deDemo` -> German Demo)

5) Run the demo with a simulator or connected iOS device.

Expand Down
2 changes: 1 addition & 1 deletion demo/ios/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ To run the application demo:

2. Replace `${YOUR_ACCESS_KEY_HERE}` in the file [ContentView.swift](./RhinoDemo/ContentView.swift) with your `AccessKey`.

3. Go to `Product > Scheme` and select the scheme for the language you would like to demo (e.g. `arDemo` -> Arabic Demo, `deDemo` -> German Demo)
3. Go to `Product > Scheme` and select the scheme for the language you would like to demo (e.g. `esDemo` -> Spanish Demo, `deDemo` -> German Demo)

4. Run the demo with a simulator or connected iOS device.

Expand Down
Binary file removed lib/common/rhino_params_ar.pv
Binary file not shown.
Binary file removed lib/common/rhino_params_fa.pv
Binary file not shown.
Binary file removed lib/common/rhino_params_hi.pv
Binary file not shown.
Binary file removed lib/common/rhino_params_nl.pv
Binary file not shown.
Binary file removed lib/common/rhino_params_pl.pv
Binary file not shown.
Binary file removed lib/common/rhino_params_ru.pv
Binary file not shown.
Binary file removed lib/common/rhino_params_sv.pv
Binary file not shown.
Binary file removed lib/common/rhino_params_vn.pv
Binary file not shown.
Binary file removed lib/common/rhino_params_zh.pv
Binary file not shown.
122 changes: 0 additions & 122 deletions resources/.test/test_data.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
{
"tests": {
"within_context": [
{
"language": "ar",
"context_name": "simple_context_ar",
"inference": {
"intent": "shopping",
"slots": {
"vrucht": "خوخ"
}
}
},
{
"language": "de",
"context_name": "beleuchtung",
Expand Down Expand Up @@ -44,16 +34,6 @@
}
}
},
{
"language": "fa",
"context_name": "simple_context_fa",
"inference": {
"intent": "navigation",
"slots": {
"location": "آشپزخانه"
}
}
},
{
"language": "fr",
"context_name": "éclairage_intelligent",
Expand All @@ -64,16 +44,6 @@
}
}
},
{
"language": "hi",
"context_name": "simple_context_hi",
"inference": {
"intent": "shopping",
"slots": {
"vrucht": "रसभरी"
}
}
},
{
"language": "it",
"context_name": "illuminazione",
Expand Down Expand Up @@ -104,26 +74,6 @@
}
}
},
{
"language": "nl",
"context_name": "simple_context_nl",
"inference": {
"intent": "shopping",
"slots": {
"vrucht": "framboos"
}
}
},
{
"language": "pl",
"context_name": "simple_context_pl",
"inference": {
"intent": "shopping",
"slots": {
"vrucht": "malina"
}
}
},
{
"language": "pt",
"context_name": "luz_inteligente",
Expand All @@ -133,53 +83,9 @@
"lugar": "cozinha"
}
}
},
{
"language": "ru",
"context_name": "simple_context_ru",
"inference": {
"intent": "shopping",
"slots": {
"фрукт": "картофель"
}
}
},
{
"language": "sv",
"context_name": "simple_context_sv",
"inference": {
"intent": "shopping",
"slots": {
"vrucht": "blåbär"
}
}
},
{
"language": "vn",
"context_name": "simple_context_vn",
"inference": {
"intent": "shopping",
"slots": {
"food": "trái dứa"
}
}
},
{
"language": "zh",
"context_name": "simple_context_zh",
"inference": {
"intent": "shopping",
"slots": {
"vrucht": "香 蕉"
}
}
}
],
"out_of_context": [
{
"language": "ar",
"context_name": "simple_context_ar"
},
{
"language": "de",
"context_name": "beleuchtung"
Expand All @@ -192,18 +98,10 @@
"language": "es",
"context_name": "iluminación_inteligente"
},
{
"language": "fa",
"context_name": "simple_context_fa"
},
{
"language": "fr",
"context_name": "éclairage_intelligent"
},
{
"language": "hi",
"context_name": "simple_context_hi"
},
{
"language": "it",
"context_name": "illuminazione"
Expand All @@ -216,29 +114,9 @@
"language": "ko",
"context_name": "seumateu_jomyeong"
},
{
"language": "pl",
"context_name": "simple_context_pl"
},
{
"language": "pt",
"context_name": "luz_inteligente"
},
{
"language": "ru",
"context_name": "simple_context_ru"
},
{
"language": "sv",
"context_name": "simple_context_sv"
},
{
"language": "vn",
"context_name": "simple_context_vn"
},
{
"language": "zh",
"context_name": "simple_context_zh"
}
]
}
Expand Down
Binary file removed resources/audio_samples/test_out_of_context_ar.wav
Binary file not shown.
Binary file removed resources/audio_samples/test_out_of_context_fa.wav
Binary file not shown.
Binary file removed resources/audio_samples/test_out_of_context_hi.wav
Binary file not shown.
Binary file removed resources/audio_samples/test_out_of_context_nl.wav
Binary file not shown.
Binary file removed resources/audio_samples/test_out_of_context_pl.wav
Binary file not shown.
Binary file removed resources/audio_samples/test_out_of_context_ru.wav
Binary file not shown.
Binary file removed resources/audio_samples/test_out_of_context_sv.wav
Binary file not shown.
Binary file removed resources/audio_samples/test_out_of_context_vn.wav
Binary file not shown.
Binary file removed resources/audio_samples/test_out_of_context_zh.wav
Binary file not shown.
Binary file removed resources/audio_samples/test_within_context_ar.wav
Binary file not shown.
Binary file removed resources/audio_samples/test_within_context_fa.wav
Binary file not shown.
Binary file removed resources/audio_samples/test_within_context_hi.wav
Binary file not shown.
Binary file removed resources/audio_samples/test_within_context_nl.wav
Binary file not shown.
Binary file removed resources/audio_samples/test_within_context_pl.wav
Binary file not shown.
Binary file removed resources/audio_samples/test_within_context_ru.wav
Binary file not shown.
Binary file removed resources/audio_samples/test_within_context_sv.wav
Binary file not shown.
Binary file removed resources/audio_samples/test_within_context_vn.wav
Binary file not shown.
Binary file removed resources/audio_samples/test_within_context_zh.wav
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed resources/contexts_ar/ios/simple_context_ar_ios.rhn
Binary file not shown.
Binary file not shown.
5 changes: 0 additions & 5 deletions resources/contexts_ar/mac/simple_context_ar_mac.rhn

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed resources/contexts_fa/ios/simple_context_fa_ios.rhn
Binary file not shown.
Binary file removed resources/contexts_fa/linux/simple_context_fa_linux.rhn
Binary file not shown.
Binary file removed resources/contexts_fa/mac/simple_context_fa_mac.rhn
Binary file not shown.
Binary file not shown.
Binary file removed resources/contexts_fa/wasm/simple_context_fa_wasm.rhn
Binary file not shown.
3 changes: 0 additions & 3 deletions resources/contexts_fa/windows/simple_context_fa_windows.rhn

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file removed resources/contexts_hi/ios/simple_context_hi_ios.rhn
Binary file not shown.
Binary file removed resources/contexts_hi/linux/simple_context_hi_linux.rhn
Binary file not shown.
Binary file removed resources/contexts_hi/mac/simple_context_hi_mac.rhn
Binary file not shown.
Binary file not shown.
Binary file removed resources/contexts_hi/wasm/simple_context_hi_wasm.rhn
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed resources/contexts_nl/ios/simple_context_nl_ios.rhn
Binary file not shown.
3 changes: 0 additions & 3 deletions resources/contexts_nl/linux/simple_context_nl_linux.rhn

This file was deleted.

Binary file removed resources/contexts_nl/mac/simple_context_nl_mac.rhn
Binary file not shown.
Binary file not shown.
Binary file removed resources/contexts_nl/wasm/simple_context_nl_wasm.rhn
Binary file not shown.
Binary file not shown.
5 changes: 0 additions & 5 deletions resources/contexts_pl/android/simple_context_pl_android.rhn

This file was deleted.

Binary file not shown.
Binary file removed resources/contexts_pl/ios/simple_context_pl_ios.rhn
Binary file not shown.
Binary file removed resources/contexts_pl/linux/simple_context_pl_linux.rhn
Binary file not shown.
Binary file removed resources/contexts_pl/mac/simple_context_pl_mac.rhn
Binary file not shown.
Binary file not shown.
Binary file removed resources/contexts_pl/wasm/simple_context_pl_wasm.rhn
Binary file not shown.
6 changes: 0 additions & 6 deletions resources/contexts_pl/windows/simple_context_pl_windows.rhn

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file removed resources/contexts_ru/ios/simple_context_ru_ios.rhn
Binary file not shown.
Binary file removed resources/contexts_ru/linux/simple_context_ru_linux.rhn
Binary file not shown.
Binary file removed resources/contexts_ru/mac/simple_context_ru_mac.rhn
Binary file not shown.
Binary file not shown.
Binary file removed resources/contexts_ru/wasm/simple_context_ru_wasm.rhn
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed resources/contexts_sv/ios/simple_context_sv_ios.rhn
Binary file not shown.
Binary file removed resources/contexts_sv/linux/simple_context_sv_linux.rhn
Binary file not shown.
Binary file removed resources/contexts_sv/mac/simple_context_sv_mac.rhn
Binary file not shown.
Binary file not shown.
Binary file removed resources/contexts_sv/wasm/simple_context_sv_wasm.rhn
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed resources/contexts_vn/ios/simple_context_vn_ios.rhn
Binary file not shown.
Binary file removed resources/contexts_vn/linux/simple_context_vn_linux.rhn
Binary file not shown.
Binary file removed resources/contexts_vn/mac/simple_context_vn_mac.rhn
Binary file not shown.
Binary file not shown.
Binary file removed resources/contexts_vn/wasm/simple_context_vn_wasm.rhn
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed resources/contexts_zh/ios/simple_context_zh_ios.rhn
Binary file not shown.
Binary file removed resources/contexts_zh/linux/simple_context_zh_linux.rhn
Binary file not shown.
Binary file removed resources/contexts_zh/mac/simple_context_zh_mac.rhn
Binary file not shown.

This file was deleted.

Binary file removed resources/contexts_zh/wasm/simple_context_zh_wasm.rhn
Binary file not shown.
Binary file not shown.
Loading