Coco-18 commited on
Commit
ea6faf2
·
verified ·
1 Parent(s): d39ccee

Update evaluate.py

Browse files
Files changed (1) hide show
  1. evaluate.py +22 -3
evaluate.py CHANGED
@@ -46,7 +46,20 @@ def setup_reference_patterns(reference_dir, sample_rate=16000):
46
  "metung", "pitu", "siyam", "walu", "masala_pa_king_kilwal","tatakut_ku_king_madalumdum","maragul_ing_minaliwas_keka",
47
  "marimla_ing_danum","malagu_ing_babaeng_yan","marok_ing_manigarilyo",
48
  "mababa_ing_tete","pilan_la_reng_malapit_mong_kaluguran",
49
- "matuling_ya_ing_pusa","maputi_ya_ing_asu"
 
 
 
 
 
 
 
 
 
 
 
 
 
50
  ]
51
 
52
  created_dirs = 0
@@ -244,8 +257,14 @@ def handle_upload_reference(request, reference_dir, sample_rate):
244
  "makananu_munta_king", "adwa", "anam", "apat", "apulu", "atlu", "dalan", "libu", "lima",
245
  "metung", "pitu", "siyam", "walu", "masala_pa_king_kilwal","tatakut_ku_king_madalumdum","maragul_ing_minaliwas_keka",
246
  "marimla_ing_danum","malagu_ing_babaeng_yan","marok_ing_manigarilyo",
247
- "mababa_ing_tete","pilan_la_reng_malapit_mong_kaluguran","matuling_ya_ing_pusa","maputi_ya_ing_asu"
248
-
 
 
 
 
 
 
249
  ]
250
 
251
  if reference_word not in reference_patterns:
 
46
  "metung", "pitu", "siyam", "walu", "masala_pa_king_kilwal","tatakut_ku_king_madalumdum","maragul_ing_minaliwas_keka",
47
  "marimla_ing_danum","malagu_ing_babaeng_yan","marok_ing_manigarilyo",
48
  "mababa_ing_tete","pilan_la_reng_malapit_mong_kaluguran",
49
+ "matuling_ya_ing_pusa","maputi_ya_ing_asu", "mesakab_ku_nandin_kaya_migkasugat_ku_tud","masakit_la_deng_kayang_bitis",
50
+ "mikapali_la_deng_balugbug_na","kinimut_ya_ing_kayang_arung",
51
+ "mabayat_ya_pakiramdam_ing_kanakung_salu","masakit_ya_ing_kayang_butit",
52
+ "meputu_la_deng_kanakung_kuku","mengalgal_la_deng_gamat_na",
53
+ "minayli_ya_ing_kayang_asbuk","masakit_ya_ing_buntuk_ku", "buring_buri_ng_mag_basketballl_ning_pisan_ku","bibisita_ya_i_dara_ku_kada_duminggu",
54
+ "magaling_yang_magpayu_i_achi_ku","manyaman_yang_mag_lutung_tinape_i_apu_ku",
55
+ "manyaman_yang_mag_lutu_i_ma_ku","kaburi_ng_mamusit_i_tatang_ku",
56
+ "suportadu_dakung_pane_ning_pengari_ku","ing_koyang_ku_ing_mag_manehu",
57
+ "sinopan_ke_ing_kapatad_ku_keng_pamagaral","makulit_ya_ing_wali_ku",
58
+ "makabuklat_ya_ing_pasbul","malinis_ya_ing_awang",
59
+ "neng_kalati_ing_dagis","madagul_ya_ing_bale_da",
60
+ "kailangan_ke_ing_ulas","sinali_yang_sambra",
61
+ "kasala_na_ing_sulu","kumportable_ya_ing_pitudturan_ku",
62
+ "nilukluk_ya_keng_luklukan","malambut_ya_ing_ulnan_ku"
63
  ]
64
 
65
  created_dirs = 0
 
257
  "makananu_munta_king", "adwa", "anam", "apat", "apulu", "atlu", "dalan", "libu", "lima",
258
  "metung", "pitu", "siyam", "walu", "masala_pa_king_kilwal","tatakut_ku_king_madalumdum","maragul_ing_minaliwas_keka",
259
  "marimla_ing_danum","malagu_ing_babaeng_yan","marok_ing_manigarilyo",
260
+ "mababa_ing_tete","pilan_la_reng_malapit_mong_kaluguran","matuling_ya_ing_pusa","maputi_ya_ing_asu", "mesakab_ku_nandin_kaya_migkasugat_ku_tud","masakit_la_deng_kayang_bitis",
261
+ "mikapali_la_deng_balugbug_na","kinimut_ya_ing_kayang_arung", "mabayat_ya_pakiramdam_ing_kanakung_salu","masakit_ya_ing_kayang_butit",
262
+ "meputu_la_deng_kanakung_kuku","mengalgal_la_deng_gamat_na", "minayli_ya_ing_kayang_asbuk","masakit_ya_ing_buntuk_ku", "buring_buri_ng_mag_basketballl_ning_pisan_ku","bibisita_ya_i_dara_ku_kada_duminggu",
263
+ "magaling_yang_magpayu_i_achi_ku","manyaman_yang_mag_lutung_tinape_i_apu_ku", "manyaman_yang_mag_lutu_i_ma_ku","kaburi_ng_mamusit_i_tatang_ku",
264
+ "suportadu_dakung_pane_ning_pengari_ku","ing_koyang_ku_ing_mag_manehu", "sinopan_ke_ing_kapatad_ku_keng_pamagaral","makulit_ya_ing_wali_ku",
265
+ "makabuklat_ya_ing_pasbul","malinis_ya_ing_awang", "neng_kalati_ing_dagis","madagul_ya_ing_bale_da",
266
+ "kailangan_ke_ing_ulas","sinali_yang_sambra", "kasala_na_ing_sulu","kumportable_ya_ing_pitudturan_ku",
267
+ "nilukluk_ya_keng_luklukan","malambut_ya_ing_ulnan_ku"
268
  ]
269
 
270
  if reference_word not in reference_patterns: