Skip to content

Commit d6733ee

Browse files
authored
Language deprecations (#1369)
1 parent 7562f5d commit d6733ee

File tree

332 files changed

+12
-1380
lines changed

Some content is hidden

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

332 files changed

+12
-1380
lines changed

README.md

+2-2

demo/ios/README.md

+1-2

demo/mcu/generate_pv_params_file.py

-18
Original file line numberDiff line numberDiff line change
@@ -37,23 +37,14 @@
3737
"""
3838

3939
LANGUAGE_CODE_TO_NAME = {
40-
"ar": "arabic",
4140
"de": "german",
4241
"en": "english",
4342
"es": "spanish",
44-
"fa": "farsi",
4543
"fr": "french",
46-
"hi": "hindi",
4744
"it": "italian",
4845
"ja": "japanese",
4946
"ko": "korean",
50-
"nl": "dutch",
51-
"pl": "polish",
5247
"pt": "portuguese",
53-
"ru": "russian",
54-
"sv": "swedish",
55-
"vn": "vietnamese",
56-
"zh": "mandarin",
5748
}
5849

5950

@@ -120,7 +111,6 @@ def ppn_to_c_array(ppn_file_path):
120111

121112
if __name__ == "__main__":
122113
wake_words = {
123-
"ar": ("مرحبا الكمبيوتر",),
124114
"de": ("hey computer",),
125115
"en": (
126116
"porcupine",
@@ -129,19 +119,11 @@ def ppn_to_c_array(ppn_file_path):
129119
"alexa",
130120
),
131121
"es": ("hola computadora",),
132-
"fa": ("سلام رایانه",),
133122
"fr": ("bonjour ordinateur",),
134-
"hi": ("नमस्ते कंप्यूटर",),
135123
"it": ("ciao computer",),
136124
"ja": ("こんにちは コンピューター",),
137125
"ko": ("안녕 컴퓨터",),
138-
"nl": ("hallo computer",),
139-
"pl": ("cześć komputer",),
140126
"pt": ("olá computador",),
141-
"ru": ("привет компьютер",),
142-
"sv": ("hej dator",),
143-
"vn": ("xin chào máy tính",),
144-
"zh": ("你好电脑",),
145127
}
146128
include_folders = [
147129
"stm32f411/stm32f411e-disco/Inc/",

demo/mcu/stm32f411/README.md

+8-16

demo/mcu/stm32f411/stm32f411e-disco/.cproject

-372
Large diffs are not rendered by default.

demo/mcu/stm32f411/stm32f411e-disco/Inc/pv_params.h

+1-865
Large diffs are not rendered by default.

lib/common/porcupine_params_ar.pv

-962 KB
Binary file not shown.

lib/common/porcupine_params_fa.pv

-961 KB
Binary file not shown.

lib/common/porcupine_params_hi.pv

-963 KB
Binary file not shown.

lib/common/porcupine_params_nl.pv

-964 KB
Binary file not shown.

lib/common/porcupine_params_pl.pv

-961 KB
Binary file not shown.

lib/common/porcupine_params_ru.pv

-963 KB
Binary file not shown.

lib/common/porcupine_params_sv.pv

-963 KB
Binary file not shown.

lib/common/porcupine_params_vn.pv

-964 KB
Binary file not shown.

lib/common/porcupine_params_zh.pv

-963 KB
Binary file not shown.
-314 KB
Binary file not shown.
-314 KB
Binary file not shown.
-315 KB
Binary file not shown.
-316 KB
Binary file not shown.
-314 KB
Binary file not shown.
-315 KB
Binary file not shown.
-315 KB
Binary file not shown.
-316 KB
Binary file not shown.
-315 KB
Binary file not shown.

resources/.test/test_data.json

-81
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
{
22
"tests": {
33
"singleKeyword": [
4-
{
5-
"language": "ar",
6-
"wakeword": "الحمص"
7-
},
8-
{
9-
"language": "nl",
10-
"wakeword": "stekelvarken"
11-
},
124
{
135
"language": "en",
146
"wakeword": "porcupine"
@@ -21,10 +13,6 @@
2113
"language": "de",
2214
"wakeword": "heuschrecke"
2315
},
24-
{
25-
"language": "hi",
26-
"wakeword": "नमस्ते"
27-
},
2816
{
2917
"language": "it",
3018
"wakeword": "cameriere"
@@ -37,50 +25,16 @@
3725
"language": "ko",
3826
"wakeword": "빅스비"
3927
},
40-
{
41-
"language": "zh",
42-
"wakeword": "豪猪"
43-
},
44-
{
45-
"language": "pl",
46-
"wakeword": "jeżozwierz"
47-
},
4828
{
4929
"language": "pt",
5030
"wakeword": "fenômeno"
5131
},
52-
{
53-
"language": "ru",
54-
"wakeword": "помогите"
55-
},
5632
{
5733
"language": "es",
5834
"wakeword": "manzana"
59-
},
60-
{
61-
"language": "sv",
62-
"wakeword": "piggsvin"
63-
},
64-
{
65-
"language": "vn",
66-
"wakeword": "chào chị"
67-
},
68-
{
69-
"language": "fa",
70-
"wakeword": "جوجه تیغی"
7135
}
7236
],
7337
"multipleKeyword": [
74-
{
75-
"language": "ar",
76-
"wakewords": ["الحمص", "قهوة", "أخطبوط", "محمصة"],
77-
"groundTruth": [0, 1, 2, 3]
78-
},
79-
{
80-
"language": "nl",
81-
"wakewords": ["stekelvarken", "hoi lotte", "koffie", "broodrooster"],
82-
"groundTruth": [0, 1, 2, 3]
83-
},
8438
{
8539
"language": "en",
8640
"wakewords": ["americano", "blueberry", "bumblebee", "grapefruit", "grasshopper", "picovoice", "porcupine", "terminator"],
@@ -96,11 +50,6 @@
9650
"wakewords": ["ananas", "heuschrecke", "leguan", "stachelschwein"],
9751
"groundTruth": [0, 1, 2, 3]
9852
},
99-
{
100-
"language": "hi",
101-
"wakewords": ["नमस्ते", "विदाई", "मोहब्बत", "सुभग"],
102-
"groundTruth": [0, 1, 2, 3]
103-
},
10453
{
10554
"language": "it",
10655
"wakewords": ["espresso", "cameriere", "porcospino"],
@@ -116,45 +65,15 @@
11665
"wakewords": ["아이스크림", "빅스비", "코뿔소"],
11766
"groundTruth": [1, 2, 0]
11867
},
119-
{
120-
"language": "zh",
121-
"wakewords": ["豪猪", "咖啡", "你好", "水饺"],
122-
"groundTruth": [0, 1, 2, 3]
123-
},
124-
{
125-
"language": "pl",
126-
"wakewords": ["jeżozwierz", "kawa", "żubrówka", "pierogi"],
127-
"groundTruth": [0, 1, 2, 3]
128-
},
12968
{
13069
"language": "pt",
13170
"wakewords": ["abacaxi", "fenômeno", "formiga"],
13271
"groundTruth": [0, 2, 1]
13372
},
134-
{
135-
"language": "ru",
136-
"wakewords": ["помогите", "внимание", "осторожный", "открыто"],
137-
"groundTruth": [0, 1, 2, 3]
138-
},
13973
{
14074
"language": "es",
14175
"wakewords": ["emparedado", "leopardo", "manzana"],
14276
"groundTruth": [0, 1, 2]
143-
},
144-
{
145-
"language": "sv",
146-
"wakewords": ["piggsvin", "kaffe", "köttbullar", "hygge"],
147-
"groundTruth": [0, 1, 2, 3]
148-
},
149-
{
150-
"language": "vn",
151-
"wakewords": ["con nhím", "chào chị", "máy pha cà phê", "máy nướng bánh mì"],
152-
"groundTruth": [0, 1, 2, 3]
153-
},
154-
{
155-
"language": "fa",
156-
"wakewords": ["جوجه تیغی", "صبح بخیر", "خداحافظ"],
157-
"groundTruth": [0, 1, 2]
15877
}
15978
]
16079
}
-63.1 KB
Binary file not shown.
-69.3 KB
Binary file not shown.
-140 KB
Binary file not shown.
-157 KB
Binary file not shown.
-152 KB
Binary file not shown.
-146 KB
Binary file not shown.
-252 KB
Binary file not shown.
-140 KB
Binary file not shown.
-186 KB
Binary file not shown.
-211 KB
Binary file not shown.
-179 KB
Binary file not shown.

resources/audio_samples/piggsvin.wav

-43.6 KB
Binary file not shown.
-68.2 KB
Binary file not shown.
-43.1 KB
Binary file not shown.
-67.8 KB
Binary file not shown.
-53.1 KB
Binary file not shown.
-48 KB
Binary file not shown.

resources/audio_samples/豪猪.wav

-50.5 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-10.4 KB
Binary file not shown.
-9.84 KB
Binary file not shown.
-11.7 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-10.4 KB
Binary file not shown.
-9.84 KB
Binary file not shown.
-11.7 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-9.84 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

resources/keyword_files_fa/cortexm/صبح بخیر_cortexm.ppn

-5
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 not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

resources/keyword_files_hi/cortexm/मोहब्बत_cortexm.ppn

-1
This file was deleted.
Binary file not shown.

resources/keyword_files_hi/cortexm/सुभग_cortexm.ppn

-3
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 not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

resources/keyword_files_nl/cortexm/broodrooster_cortexm.ppn

-4
This file was deleted.
Binary file not shown.
Binary file not shown.
Binary file not shown.

resources/keyword_files_nl/cortexm/stekelvarken_cortexm.ppn

-5
This file was deleted.
Binary file not shown.
-2.91 KB
Binary file not shown.
-2.42 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-2.42 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
-2.91 KB
Binary file not shown.
-2.42 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-2.42 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-392 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-2.36 KB
Binary file not shown.
-2.84 KB
Binary file not shown.
-3.07 KB
Binary file not shown.
Binary file not shown.
-2.36 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-2.36 KB
Binary file not shown.
-2.84 KB
Binary file not shown.
-3.07 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-2.36 KB
Binary file not shown.
-2.84 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-396 Bytes
Binary file not shown.
-396 Bytes
Binary file not shown.

resources/keyword_files_sv/cortexm/köttbullar_cortexm.ppn

-3
This file was deleted.

resources/keyword_files_sv/cortexm/piggsvin_cortexm.ppn

-3
This file was deleted.
-2.39 KB
Binary file not shown.
-2.39 KB
Binary file not shown.
Binary file not shown.
-2.88 KB
Binary file not shown.
-2.39 KB
Binary file not shown.
-2.39 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
-2.39 KB
Binary file not shown.
-2.39 KB
Binary file not shown.
Binary file not shown.
-2.88 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-2.39 KB
Binary file not shown.
-2.39 KB
Binary file not shown.
Binary file not shown.
-2.88 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-6.52 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-6.52 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)