Compare commits

..

No commits in common. "a77ed9d4dd85636eadfbdf1c54f965622d01b8e0" and "beff33fdf9634f8d5a15d0f283429fa0ab89d67a" have entirely different histories.

5 changed files with 4 additions and 12 deletions

3
.gitignore vendored
View File

@ -1,9 +1,6 @@
## Ignore Visual Studio temporary files, build results, and ## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons. ## files generated by popular Visual Studio add-ons.
## important ##
.acoustic_model/forced_alignment_novo.py
# User-specific files # User-specific files
*.suo *.suo
*.user *.user

Binary file not shown.

View File

@ -52,5 +52,4 @@ with open(default.cmu69_phoneset, "rt", encoding="utf-8") as fin:
phoneset_novo70.append(novo70) phoneset_novo70.append(novo70)
translation_key[ipa] = novo70 translation_key[ipa] = novo70
phoneset_ipa = np.unique(phoneset_ipa) phoneset_ipa = np.unique(phoneset_ipa)
phoneset_novo70 = np.unique(phoneset_novo70) phoneset_novo70 = np.unique(phonset_novo70)

View File

@ -3,7 +3,7 @@ import os
#default_hvite_config = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'data', 'htk', 'config.HVite') #default_hvite_config = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'data', 'htk', 'config.HVite')
cygwin_dir = r'C:\cygwin64\home\Aki\acoustic_model' cygwin_dir = r'C:\cygwin64\home\Aki\acoustic_model'
kaldi_dir = r'C:\OneDrive\WSL\kaldi-trunk\egs\fame\s5'
#config_hcopy = os.path.join(cygwin_dir, 'config', 'config.HCopy') #config_hcopy = os.path.join(cygwin_dir, 'config', 'config.HCopy')
#config_train = os.path.join(cygwin_dir, 'config', 'config.train') #config_train = os.path.join(cygwin_dir, 'config', 'config.train')
config_hvite = os.path.join(cygwin_dir, 'config', 'config.HVite') config_hvite = os.path.join(cygwin_dir, 'config', 'config.HVite')
@ -30,15 +30,11 @@ repo_dir = r'C:\Users\Aki\source\repos'
ipa_xsampa_converter_dir = os.path.join(repo_dir, 'ipa-xsama-converter') ipa_xsampa_converter_dir = os.path.join(repo_dir, 'ipa-xsama-converter')
forced_alignment_module_dir = os.path.join(repo_dir, 'forced_alignment') forced_alignment_module_dir = os.path.join(repo_dir, 'forced_alignment')
WSL_dir = r'C:\OneDrive\WSL' fame_dir = r'C:\OneDrive\WSL\kaldi-trunk\egs\fame\s5\corpus'
fame_dir = os.path.join(WSL_dir, 'kaldi-trunk', 'egs', 'fame')
fame_s5_dir = os.path.join(fame_dir, 's5')
fame_corpus_dir = os.path.join(fame_dir, 'corpus')
experiments_dir = r'c:\OneDrive\Research\rug\experiments' experiments_dir = r'c:\OneDrive\Research\rug\experiments'
stimmen_transcription_xlsx = os.path.join(experiments_dir, 'stimmen', 'data', 'Frisian Variants Picture Task Stimmen.xlsx') stimmen_transcription_xlsx = os.path.join(experiments_dir, 'stimmen', 'data', 'Frisian Variants Picture Task Stimmen.xlsx')
stimmen_data_dir = os.path.join(experiments_dir, 'stimmen', 'data') stimmen_data_dir = os.path.join(experiments_dir, 'stimmen', 'data')
phonelist_friesian_txt = os.path.join(experiments_dir, 'friesian', 'acoustic_model', 'config', 'phonelist_friesian.txt') phonelist_friesian_txt = os.path.join(experiments_dir, 'friesian', 'acoustic_model', 'config', 'phonelist_friesian.txt')
phonelist_novo70_xlsx = os.path.join(experiments_dir, 'Nederlandse phonesets_aki.xlsx')
novo_api_dir = os.path.join(WSL_dir, 'python-novo-api')
cmu69_phoneset = os.path.join(novo_api_dir, 'novoapi', 'asr', 'phoneset', 'en', 'cmu69.phoneset')