You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
2.5 KiB

  1. import os
  2. #default_hvite_config = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'data', 'htk', 'config.HVite')
  3. cygwin_dir = r'C:\cygwin64\home\Aki\acoustic_model'
  4. #config_hcopy = os.path.join(cygwin_dir, 'config', 'config.HCopy')
  5. #config_train = os.path.join(cygwin_dir, 'config', 'config.train')
  6. config_hvite = os.path.join(cygwin_dir, 'config', 'config.HVite')
  7. #mkhmmdefs_pl = os.path.join(cygwin_dir, 'src', 'acoustic_model', 'mkhmmdefs.pl')
  8. #dbLexicon = C:\\Users\\Aki\\source\\repos\\rug_VS\\forced_alignment\\config\\lexicon.accdb
  9. #scriptBarbara = C:\\Users\\Aki\\source\\repos\\rug_VS\\forced_alignment\\config\\pronvars_barbara.perl
  10. #exeG2P = C:\\Users\\Aki\\source\\repos\\rug_VS\\forced_alignment\\config\\string2phon.exe
  11. #[pyHTK]
  12. #configHVite = C:\\Users\\Aki\\source\\repos\\rug_VS\\forced_alignment\\config\\config.HVite
  13. #filePhoneList = C:\\Users\\Aki\\source\\repos\\rug_VS\\forced_alignment\\config\\phonelist_barbara.txt
  14. #AcousticModel = C:\\Users\\Aki\\source\\repos\\rug_VS\\forced_alignment\\config\\hmmdefs_16-2_barbara.compo
  15. #dbLexicon = config['cLexicon']['dbLexicon']
  16. #scriptBarbara = config['cLexicon']['scriptBarbara']
  17. #exeG2P = config['cLexicon']['exeG2P']
  18. #configHVite = config['pyHTK']['configHVite']
  19. #filePhoneList = config['pyHTK']['filePhoneList']
  20. #AcousticModel = config['pyHTK']['AcousticModel']
  21. repo_dir = r'C:\Users\Aki\source\repos'
  22. ipa_xsampa_converter_dir = os.path.join(repo_dir, 'ipa-xsama-converter')
  23. forced_alignment_module_dir = os.path.join(repo_dir, 'forced_alignment')
  24. WSL_dir = r'C:\OneDrive\WSL'
  25. fame_dir = os.path.join(WSL_dir, 'kaldi-trunk', 'egs', 'fame')
  26. fame_s5_dir = os.path.join(fame_dir, 's5')
  27. fame_corpus_dir = os.path.join(fame_dir, 'corpus')
  28. experiments_dir = r'c:\OneDrive\Research\rug\experiments'
  29. stimmen_dir = os.path.join(experiments_dir, 'stimmen')
  30. stimmen_data_dir = os.path.join(stimmen_dir, 'data')
  31. # 44.1 kHz
  32. #stimmen_wav_dir = os.path.join(stimmen_dir, 'wav')
  33. # 16 kHz
  34. stimmen_wav_dir = r'c:\OneDrive\WSL\kaldi-trunk\egs\fame\s5\corpus\stimmen'
  35. stimmen_transcription_xlsx = os.path.join(stimmen_data_dir, 'Frisian Variants Picture Task Stimmen.xlsx')
  36. phonelist_friesian_txt = os.path.join(experiments_dir, 'friesian', 'acoustic_model', 'config', 'phonelist_friesian.txt')
  37. novo_api_dir = os.path.join(WSL_dir, 'python-novo-api', 'novoapi')
  38. #novo_api_dir = r'c:\Python36-32\Lib\site-packages\novoapi'
  39. novo70_phoneset = os.path.join(novo_api_dir, 'asr', 'phoneset', 'nl', 'novo70.phoneset')