diff --git a/arpabet/custom.json b/resources/app/arpabet/custom.json similarity index 100% rename from arpabet/custom.json rename to resources/app/arpabet/custom.json diff --git a/arpabet/xvasynth.json b/resources/app/arpabet/xvasynth.json similarity index 100% rename from arpabet/xvasynth.json rename to resources/app/arpabet/xvasynth.json diff --git a/javascript/appLogger.js b/resources/app/javascript/appLogger.js similarity index 100% rename from javascript/appLogger.js rename to resources/app/javascript/appLogger.js diff --git a/javascript/arpabet.js b/resources/app/javascript/arpabet.js similarity index 100% rename from javascript/arpabet.js rename to resources/app/javascript/arpabet.js diff --git a/javascript/batch.js b/resources/app/javascript/batch.js similarity index 100% rename from javascript/batch.js rename to resources/app/javascript/batch.js diff --git a/javascript/dragdrop_model_install.js b/resources/app/javascript/dragdrop_model_install.js similarity index 100% rename from javascript/dragdrop_model_install.js rename to resources/app/javascript/dragdrop_model_install.js diff --git a/javascript/editor.js b/resources/app/javascript/editor.js similarity index 99% rename from javascript/editor.js rename to resources/app/javascript/editor.js index 9d13bfc9faa7a6f9abb4dfbe6b60c50fb898f971..d275843a1624388d2620e588028a80115b6a8564 100644 --- a/javascript/editor.js +++ b/resources/app/javascript/editor.js @@ -1984,9 +1984,9 @@ window.populateLanguagesDropdownsFromModel = (dropdown, modelJson=undefined) => Object.keys(window.supportedLanguages).sort((a,b)=>window.supportedLanguages[a] { if (!modelJson || !modelJson.lang_capabilities || modelJson.lang_capabilities.includes(key)) { - const opt = createElem("option", window.supportedLanguages[key]) - opt.value = key - dropdown.appendChild(opt) + // const opt = createElem("option", window.supportedLanguages[key]) + // opt.value = key + // dropdown.appendChild(opt) } }) } diff --git a/javascript/embeddings.js b/resources/app/javascript/embeddings.js similarity index 100% rename from javascript/embeddings.js rename to resources/app/javascript/embeddings.js diff --git a/javascript/i18n.js b/resources/app/javascript/i18n.js similarity index 100% rename from javascript/i18n.js rename to resources/app/javascript/i18n.js diff --git a/javascript/nexus.js b/resources/app/javascript/nexus.js similarity index 100% rename from javascript/nexus.js rename to resources/app/javascript/nexus.js diff --git a/javascript/script.js b/resources/app/javascript/noelectron.js similarity index 97% rename from javascript/script.js rename to resources/app/javascript/noelectron.js index 39654cca3273f2cd23516baa908721fbc91a0466..60013d1843ccb0eeda8dbe80a1c636ab9c19f786 100644 --- a/javascript/script.js +++ b/resources/app/javascript/noelectron.js @@ -1,37 +1,9 @@ "use strict" window.appVersion = "v3.0.3" -window.PRODUCTION = module.filename.includes("resources") -const path = window.PRODUCTION ? "./resources/app" : "." -window.path = path - -const fs = require("fs") -const zipdir = require('zip-dir') -const {shell, ipcRenderer, clipboard} = require("electron") -const doFetch = require("node-fetch") -const {xVAAppLogger} = require("./javascript/appLogger.js") -window.appLogger = new xVAAppLogger(`./app.log`, window.appVersion) -process.on(`uncaughtException`, (data, origin) => {window.appLogger.log(`uncaughtException: ${data}`);window.appLogger.log(`uncaughtException: ${origin}`)}) -window.onerror = (event, source, lineno, colno, error) => {window.appLogger.log(`onerror: ${error.stack}`)} -require("./javascript/i18n.js") -require("./javascript/util.js") -require("./javascript/nexus.js") -require("./javascript/dragdrop_model_install.js") -require("./javascript/embeddings.js") -require("./javascript/totd.js") -require("./javascript/arpabet.js") -require("./javascript/style_embeddings.js") const {Editor} = require("./javascript/editor.js") require("./javascript/textarea.js") -const {saveUserSettings, deleteFolderRecursive} = require("./javascript/settingsMenu.js") const xVASpeech = require("./javascript/speech2speech.js") -require("./javascript/batch.js") -require("./javascript/outputFiles.js") -require("./javascript/workbench.js") -const er = require('@electron/remote') -window.electronBrowserWindow = er.getCurrentWindow() -const child = require("child_process").execFile -const spawn = require("child_process").spawn // Newly introduced in v3. I will slowly start moving global context variables into this, and update code throughout to reference this // instead of old variables such as window.games, window.currentModel, etc. @@ -43,12 +15,6 @@ if (window.PRODUCTION) { window.pythonProcess = spawn(`${path}/cpython_${window.userSettings.installation}/server.exe`, {stdio: "ignore"}) } -const {PluginsManager} = require("./javascript/plugins_manager.js") -window.pluginsContext = {} -window.pluginsManager = new PluginsManager(window.path, window.appLogger, window.appVersion) -window.pluginsManager.runPlugins(window.pluginsManager.pluginsModules["start"]["pre"], event="pre start") - - let themeColour let secondaryThemeColour const oldCError = console.error @@ -1425,10 +1391,10 @@ window.setupModal(infoIcon, infoContainer) // Patreon // ======= -window.setupModal(patreonIcon, patreonContainer, () => { - const data = fs.readFileSync(`${path}/patreon.txt`, "utf8") + ", minermanb" - creditsList.innerHTML = data -}) +// window.setupModal(patreonIcon, patreonContainer, () => { +// const data = fs.readFileSync(`${path}/patreon.txt`, "utf8") + ", minermanb" +// creditsList.innerHTML = data +// }) // Updates diff --git a/javascript/outputFiles.js b/resources/app/javascript/outputFiles.js similarity index 100% rename from javascript/outputFiles.js rename to resources/app/javascript/outputFiles.js diff --git a/javascript/plugins_manager.js b/resources/app/javascript/plugins_manager.js similarity index 100% rename from javascript/plugins_manager.js rename to resources/app/javascript/plugins_manager.js diff --git a/javascript/settingsMenu.js b/resources/app/javascript/settingsMenu.js similarity index 100% rename from javascript/settingsMenu.js rename to resources/app/javascript/settingsMenu.js diff --git a/javascript/speech2speech.js b/resources/app/javascript/speech2speech.js similarity index 100% rename from javascript/speech2speech.js rename to resources/app/javascript/speech2speech.js diff --git a/javascript/style_embeddings.js b/resources/app/javascript/style_embeddings.js similarity index 100% rename from javascript/style_embeddings.js rename to resources/app/javascript/style_embeddings.js diff --git a/javascript/textarea.js b/resources/app/javascript/textarea.js similarity index 100% rename from javascript/textarea.js rename to resources/app/javascript/textarea.js diff --git a/javascript/totd.js b/resources/app/javascript/totd.js similarity index 100% rename from javascript/totd.js rename to resources/app/javascript/totd.js diff --git a/javascript/util.js b/resources/app/javascript/util.js similarity index 100% rename from javascript/util.js rename to resources/app/javascript/util.js diff --git a/javascript/workbench.js b/resources/app/javascript/workbench.js similarity index 100% rename from javascript/workbench.js rename to resources/app/javascript/workbench.js diff --git a/lib/AbortControllerPolyfill.js b/resources/app/lib/AbortControllerPolyfill.js similarity index 100% rename from lib/AbortControllerPolyfill.js rename to resources/app/lib/AbortControllerPolyfill.js diff --git a/lib/OrbitControls.js b/resources/app/lib/OrbitControls.js similarity index 100% rename from lib/OrbitControls.js rename to resources/app/lib/OrbitControls.js diff --git a/lib/Three.min.js b/resources/app/lib/Three.min.js similarity index 100% rename from lib/Three.min.js rename to resources/app/lib/Three.min.js diff --git a/lib/Three.sprite.js b/resources/app/lib/Three.sprite.js similarity index 100% rename from lib/Three.sprite.js rename to resources/app/lib/Three.sprite.js diff --git a/lib/Three.texture.js b/resources/app/lib/Three.texture.js similarity index 100% rename from lib/Three.texture.js rename to resources/app/lib/Three.texture.js diff --git a/lib/TrackballControls.js b/resources/app/lib/TrackballControls.js similarity index 100% rename from lib/TrackballControls.js rename to resources/app/lib/TrackballControls.js diff --git a/lib/ffmpeg_normalize/__init__.py b/resources/app/lib/ffmpeg_normalize/__init__.py similarity index 100% rename from lib/ffmpeg_normalize/__init__.py rename to resources/app/lib/ffmpeg_normalize/__init__.py diff --git a/lib/ffmpeg_normalize/__main__.py b/resources/app/lib/ffmpeg_normalize/__main__.py similarity index 100% rename from lib/ffmpeg_normalize/__main__.py rename to resources/app/lib/ffmpeg_normalize/__main__.py diff --git a/lib/ffmpeg_normalize/_cmd_utils.py b/resources/app/lib/ffmpeg_normalize/_cmd_utils.py similarity index 100% rename from lib/ffmpeg_normalize/_cmd_utils.py rename to resources/app/lib/ffmpeg_normalize/_cmd_utils.py diff --git a/lib/ffmpeg_normalize/_errors.py b/resources/app/lib/ffmpeg_normalize/_errors.py similarity index 100% rename from lib/ffmpeg_normalize/_errors.py rename to resources/app/lib/ffmpeg_normalize/_errors.py diff --git a/lib/ffmpeg_normalize/_ffmpeg_normalize.py b/resources/app/lib/ffmpeg_normalize/_ffmpeg_normalize.py similarity index 100% rename from lib/ffmpeg_normalize/_ffmpeg_normalize.py rename to resources/app/lib/ffmpeg_normalize/_ffmpeg_normalize.py diff --git a/lib/ffmpeg_normalize/_logger.py b/resources/app/lib/ffmpeg_normalize/_logger.py similarity index 100% rename from lib/ffmpeg_normalize/_logger.py rename to resources/app/lib/ffmpeg_normalize/_logger.py diff --git a/lib/ffmpeg_normalize/_media_file.py b/resources/app/lib/ffmpeg_normalize/_media_file.py similarity index 100% rename from lib/ffmpeg_normalize/_media_file.py rename to resources/app/lib/ffmpeg_normalize/_media_file.py diff --git a/lib/ffmpeg_normalize/_streams.py b/resources/app/lib/ffmpeg_normalize/_streams.py similarity index 100% rename from lib/ffmpeg_normalize/_streams.py rename to resources/app/lib/ffmpeg_normalize/_streams.py diff --git a/lib/ffmpeg_normalize/_version.py b/resources/app/lib/ffmpeg_normalize/_version.py similarity index 100% rename from lib/ffmpeg_normalize/_version.py rename to resources/app/lib/ffmpeg_normalize/_version.py diff --git a/lib/osutils.js b/resources/app/lib/osutils.js similarity index 100% rename from lib/osutils.js rename to resources/app/lib/osutils.js diff --git a/lib/wavesurfer.js b/resources/app/lib/wavesurfer.js similarity index 100% rename from lib/wavesurfer.js rename to resources/app/lib/wavesurfer.js diff --git a/lib/xp_error.mp3 b/resources/app/lib/xp_error.mp3 similarity index 100% rename from lib/xp_error.mp3 rename to resources/app/lib/xp_error.mp3 diff --git a/plugins/eg_custom_event/frontendPlugin.js b/resources/app/plugins/eg_custom_event/frontendPlugin.js similarity index 100% rename from plugins/eg_custom_event/frontendPlugin.js rename to resources/app/plugins/eg_custom_event/frontendPlugin.js diff --git a/plugins/eg_custom_event/main.py b/resources/app/plugins/eg_custom_event/main.py similarity index 100% rename from plugins/eg_custom_event/main.py rename to resources/app/plugins/eg_custom_event/main.py diff --git a/plugins/eg_custom_event/plugin.json b/resources/app/plugins/eg_custom_event/plugin.json similarity index 100% rename from plugins/eg_custom_event/plugin.json rename to resources/app/plugins/eg_custom_event/plugin.json diff --git a/plugins/test_plugin/custom_event.py b/resources/app/plugins/test_plugin/custom_event.py similarity index 100% rename from plugins/test_plugin/custom_event.py rename to resources/app/plugins/test_plugin/custom_event.py diff --git a/plugins/test_plugin/frontendPlugin.js b/resources/app/plugins/test_plugin/frontendPlugin.js similarity index 100% rename from plugins/test_plugin/frontendPlugin.js rename to resources/app/plugins/test_plugin/frontendPlugin.js diff --git a/plugins/test_plugin/main.py b/resources/app/plugins/test_plugin/main.py similarity index 100% rename from plugins/test_plugin/main.py rename to resources/app/plugins/test_plugin/main.py diff --git a/plugins/test_plugin/plugin.json b/resources/app/plugins/test_plugin/plugin.json similarity index 100% rename from plugins/test_plugin/plugin.json rename to resources/app/plugins/test_plugin/plugin.json diff --git a/plugins/test_plugin/start.py b/resources/app/plugins/test_plugin/start.py similarity index 100% rename from plugins/test_plugin/start.py rename to resources/app/plugins/test_plugin/start.py diff --git a/plugins/test_plugin/style1.css b/resources/app/plugins/test_plugin/style1.css similarity index 100% rename from plugins/test_plugin/style1.css rename to resources/app/plugins/test_plugin/style1.css diff --git a/plugins/test_plugin/test.py b/resources/app/plugins/test_plugin/test.py similarity index 100% rename from plugins/test_plugin/test.py rename to resources/app/plugins/test_plugin/test.py diff --git a/python/audio_post.py b/resources/app/python/audio_post.py similarity index 100% rename from python/audio_post.py rename to resources/app/python/audio_post.py diff --git a/python/audio_processing.py b/resources/app/python/audio_processing.py similarity index 100% rename from python/audio_processing.py rename to resources/app/python/audio_processing.py diff --git a/python/common/audio_processing.py b/resources/app/python/common/audio_processing.py similarity index 100% rename from python/common/audio_processing.py rename to resources/app/python/common/audio_processing.py diff --git a/python/common/layers.py b/resources/app/python/common/layers.py similarity index 100% rename from python/common/layers.py rename to resources/app/python/common/layers.py diff --git a/python/common/log_helper.py b/resources/app/python/common/log_helper.py similarity index 100% rename from python/common/log_helper.py rename to resources/app/python/common/log_helper.py diff --git a/python/common/stft.py b/resources/app/python/common/stft.py similarity index 100% rename from python/common/stft.py rename to resources/app/python/common/stft.py diff --git a/python/common/text/LICENSE b/resources/app/python/common/text/LICENSE similarity index 100% rename from python/common/text/LICENSE rename to resources/app/python/common/text/LICENSE diff --git a/python/common/text/__init__.py b/resources/app/python/common/text/__init__.py similarity index 100% rename from python/common/text/__init__.py rename to resources/app/python/common/text/__init__.py diff --git a/python/common/text/cleaners.py b/resources/app/python/common/text/cleaners.py similarity index 100% rename from python/common/text/cleaners.py rename to resources/app/python/common/text/cleaners.py diff --git a/python/common/text/cmudict.py b/resources/app/python/common/text/cmudict.py similarity index 100% rename from python/common/text/cmudict.py rename to resources/app/python/common/text/cmudict.py diff --git a/python/common/text/numbers.py b/resources/app/python/common/text/numbers.py similarity index 100% rename from python/common/text/numbers.py rename to resources/app/python/common/text/numbers.py diff --git a/python/common/text/symbols.py b/resources/app/python/common/text/symbols.py similarity index 100% rename from python/common/text/symbols.py rename to resources/app/python/common/text/symbols.py diff --git a/python/common/text/text_processing.py b/resources/app/python/common/text/text_processing.py similarity index 100% rename from python/common/text/text_processing.py rename to resources/app/python/common/text/text_processing.py diff --git a/python/common/utils.py b/resources/app/python/common/utils.py similarity index 100% rename from python/common/utils.py rename to resources/app/python/common/utils.py diff --git a/python/deepfilternet2/model.py b/resources/app/python/deepfilternet2/model.py similarity index 100% rename from python/deepfilternet2/model.py rename to resources/app/python/deepfilternet2/model.py diff --git a/python/fastpitch/arg_parser.py b/resources/app/python/fastpitch/arg_parser.py similarity index 100% rename from python/fastpitch/arg_parser.py rename to resources/app/python/fastpitch/arg_parser.py diff --git a/python/fastpitch/fastpitch.py b/resources/app/python/fastpitch/fastpitch.py similarity index 100% rename from python/fastpitch/fastpitch.py rename to resources/app/python/fastpitch/fastpitch.py diff --git a/python/fastpitch/model.py b/resources/app/python/fastpitch/model.py similarity index 100% rename from python/fastpitch/model.py rename to resources/app/python/fastpitch/model.py diff --git a/python/fastpitch/models.py b/resources/app/python/fastpitch/models.py similarity index 100% rename from python/fastpitch/models.py rename to resources/app/python/fastpitch/models.py diff --git a/python/fastpitch/transformer.py b/resources/app/python/fastpitch/transformer.py similarity index 100% rename from python/fastpitch/transformer.py rename to resources/app/python/fastpitch/transformer.py diff --git a/python/fastpitch1_1/alignment.py b/resources/app/python/fastpitch1_1/alignment.py similarity index 100% rename from python/fastpitch1_1/alignment.py rename to resources/app/python/fastpitch1_1/alignment.py diff --git a/python/fastpitch1_1/arg_parser.py b/resources/app/python/fastpitch1_1/arg_parser.py similarity index 100% rename from python/fastpitch1_1/arg_parser.py rename to resources/app/python/fastpitch1_1/arg_parser.py diff --git a/python/fastpitch1_1/attention.py b/resources/app/python/fastpitch1_1/attention.py similarity index 100% rename from python/fastpitch1_1/attention.py rename to resources/app/python/fastpitch1_1/attention.py diff --git a/python/fastpitch1_1/fastpitch.py b/resources/app/python/fastpitch1_1/fastpitch.py similarity index 100% rename from python/fastpitch1_1/fastpitch.py rename to resources/app/python/fastpitch1_1/fastpitch.py diff --git a/python/fastpitch1_1/model.py b/resources/app/python/fastpitch1_1/model.py similarity index 100% rename from python/fastpitch1_1/model.py rename to resources/app/python/fastpitch1_1/model.py diff --git a/python/fastpitch1_1/models.py b/resources/app/python/fastpitch1_1/models.py similarity index 100% rename from python/fastpitch1_1/models.py rename to resources/app/python/fastpitch1_1/models.py diff --git a/python/fastpitch1_1/transformer.py b/resources/app/python/fastpitch1_1/transformer.py similarity index 100% rename from python/fastpitch1_1/transformer.py rename to resources/app/python/fastpitch1_1/transformer.py diff --git a/python/models_manager.py b/resources/app/python/models_manager.py similarity index 100% rename from python/models_manager.py rename to resources/app/python/models_manager.py diff --git a/python/plugins_manager.py b/resources/app/python/plugins_manager.py similarity index 100% rename from python/plugins_manager.py rename to resources/app/python/plugins_manager.py diff --git a/python/pyinstaller_imports.py b/resources/app/python/pyinstaller_imports.py similarity index 100% rename from python/pyinstaller_imports.py rename to resources/app/python/pyinstaller_imports.py diff --git a/python/stft.py b/resources/app/python/stft.py similarity index 100% rename from python/stft.py rename to resources/app/python/stft.py diff --git a/python/wav2vec2/config.json b/resources/app/python/wav2vec2/config.json similarity index 100% rename from python/wav2vec2/config.json rename to resources/app/python/wav2vec2/config.json diff --git a/python/wav2vec2/model.py b/resources/app/python/wav2vec2/model.py similarity index 100% rename from python/wav2vec2/model.py rename to resources/app/python/wav2vec2/model.py diff --git a/python/wav2vec2/preprocessor_config.json b/resources/app/python/wav2vec2/preprocessor_config.json similarity index 100% rename from python/wav2vec2/preprocessor_config.json rename to resources/app/python/wav2vec2/preprocessor_config.json diff --git a/python/wav2vec2/special_tokens_map.json b/resources/app/python/wav2vec2/special_tokens_map.json similarity index 100% rename from python/wav2vec2/special_tokens_map.json rename to resources/app/python/wav2vec2/special_tokens_map.json diff --git a/python/wav2vec2/tokenizer_config.json b/resources/app/python/wav2vec2/tokenizer_config.json similarity index 100% rename from python/wav2vec2/tokenizer_config.json rename to resources/app/python/wav2vec2/tokenizer_config.json diff --git a/python/wav2vec2/vocab.json b/resources/app/python/wav2vec2/vocab.json similarity index 100% rename from python/wav2vec2/vocab.json rename to resources/app/python/wav2vec2/vocab.json diff --git a/python/xvapitch/audio.py b/resources/app/python/xvapitch/audio.py similarity index 100% rename from python/xvapitch/audio.py rename to resources/app/python/xvapitch/audio.py diff --git a/python/xvapitch/embs/angry.npy b/resources/app/python/xvapitch/embs/angry.npy similarity index 100% rename from python/xvapitch/embs/angry.npy rename to resources/app/python/xvapitch/embs/angry.npy diff --git a/python/xvapitch/embs/happy.npy b/resources/app/python/xvapitch/embs/happy.npy similarity index 100% rename from python/xvapitch/embs/happy.npy rename to resources/app/python/xvapitch/embs/happy.npy diff --git a/python/xvapitch/embs/pitch_emb.npy b/resources/app/python/xvapitch/embs/pitch_emb.npy similarity index 100% rename from python/xvapitch/embs/pitch_emb.npy rename to resources/app/python/xvapitch/embs/pitch_emb.npy diff --git a/python/xvapitch/embs/sad.npy b/resources/app/python/xvapitch/embs/sad.npy similarity index 100% rename from python/xvapitch/embs/sad.npy rename to resources/app/python/xvapitch/embs/sad.npy diff --git a/python/xvapitch/embs/surprise.npy b/resources/app/python/xvapitch/embs/surprise.npy similarity index 100% rename from python/xvapitch/embs/surprise.npy rename to resources/app/python/xvapitch/embs/surprise.npy diff --git a/python/xvapitch/glow_tts.py b/resources/app/python/xvapitch/glow_tts.py similarity index 100% rename from python/xvapitch/glow_tts.py rename to resources/app/python/xvapitch/glow_tts.py diff --git a/python/xvapitch/hifigan.py b/resources/app/python/xvapitch/hifigan.py similarity index 100% rename from python/xvapitch/hifigan.py rename to resources/app/python/xvapitch/hifigan.py diff --git a/python/xvapitch/language_manager.py b/resources/app/python/xvapitch/language_manager.py similarity index 100% rename from python/xvapitch/language_manager.py rename to resources/app/python/xvapitch/language_manager.py diff --git a/python/xvapitch/model.py b/resources/app/python/xvapitch/model.py similarity index 100% rename from python/xvapitch/model.py rename to resources/app/python/xvapitch/model.py diff --git a/python/xvapitch/sdp.py b/resources/app/python/xvapitch/sdp.py similarity index 100% rename from python/xvapitch/sdp.py rename to resources/app/python/xvapitch/sdp.py diff --git a/python/xvapitch/stft.py b/resources/app/python/xvapitch/stft.py similarity index 100% rename from python/xvapitch/stft.py rename to resources/app/python/xvapitch/stft.py diff --git a/python/xvapitch/text/__init__.py b/resources/app/python/xvapitch/text/__init__.py similarity index 100% rename from python/xvapitch/text/__init__.py rename to resources/app/python/xvapitch/text/__init__.py diff --git a/python/xvapitch/text/dicts/cmudict.txt b/resources/app/python/xvapitch/text/dicts/cmudict.txt similarity index 100% rename from python/xvapitch/text/dicts/cmudict.txt rename to resources/app/python/xvapitch/text/dicts/cmudict.txt diff --git a/python/xvapitch/text/en_numbers.py b/resources/app/python/xvapitch/text/en_numbers.py similarity index 100% rename from python/xvapitch/text/en_numbers.py rename to resources/app/python/xvapitch/text/en_numbers.py diff --git a/python/xvapitch/text/g2p_cache/epitran/epitran_cache_am.txt b/resources/app/python/xvapitch/text/g2p_cache/epitran/epitran_cache_am.txt similarity index 100% rename from python/xvapitch/text/g2p_cache/epitran/epitran_cache_am.txt rename to resources/app/python/xvapitch/text/g2p_cache/epitran/epitran_cache_am.txt diff --git a/python/xvapitch/text/g2p_cache/epitran/epitran_cache_ha.txt b/resources/app/python/xvapitch/text/g2p_cache/epitran/epitran_cache_ha.txt similarity index 100% rename from python/xvapitch/text/g2p_cache/epitran/epitran_cache_ha.txt rename to resources/app/python/xvapitch/text/g2p_cache/epitran/epitran_cache_ha.txt diff --git a/python/xvapitch/text/g2p_cache/epitran/epitran_cache_mn.txt b/resources/app/python/xvapitch/text/g2p_cache/epitran/epitran_cache_mn.txt similarity index 100% rename from python/xvapitch/text/g2p_cache/epitran/epitran_cache_mn.txt rename to resources/app/python/xvapitch/text/g2p_cache/epitran/epitran_cache_mn.txt diff --git a/python/xvapitch/text/g2p_cache/epitran/epitran_cache_th.txt b/resources/app/python/xvapitch/text/g2p_cache/epitran/epitran_cache_th.txt similarity index 100% rename from python/xvapitch/text/g2p_cache/epitran/epitran_cache_th.txt rename to resources/app/python/xvapitch/text/g2p_cache/epitran/epitran_cache_th.txt diff --git a/python/xvapitch/text/g2p_cache/epitran/epitran_cache_yo.txt b/resources/app/python/xvapitch/text/g2p_cache/epitran/epitran_cache_yo.txt similarity index 100% rename from python/xvapitch/text/g2p_cache/epitran/epitran_cache_yo.txt rename to resources/app/python/xvapitch/text/g2p_cache/epitran/epitran_cache_yo.txt diff --git a/python/xvapitch/text/g2p_cache/espeak/espeak_cache_ar.txt b/resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_ar.txt similarity index 100% rename from python/xvapitch/text/g2p_cache/espeak/espeak_cache_ar.txt rename to resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_ar.txt diff --git a/python/xvapitch/text/g2p_cache/espeak/espeak_cache_da.txt b/resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_da.txt similarity index 100% rename from python/xvapitch/text/g2p_cache/espeak/espeak_cache_da.txt rename to resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_da.txt diff --git a/python/xvapitch/text/g2p_cache/espeak/espeak_cache_de.txt b/resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_de.txt similarity index 100% rename from python/xvapitch/text/g2p_cache/espeak/espeak_cache_de.txt rename to resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_de.txt diff --git a/python/xvapitch/text/g2p_cache/espeak/espeak_cache_el.txt b/resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_el.txt similarity index 100% rename from python/xvapitch/text/g2p_cache/espeak/espeak_cache_el.txt rename to resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_el.txt diff --git a/python/xvapitch/text/g2p_cache/espeak/espeak_cache_en.txt b/resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_en.txt similarity index 100% rename from python/xvapitch/text/g2p_cache/espeak/espeak_cache_en.txt rename to resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_en.txt diff --git a/python/xvapitch/text/g2p_cache/espeak/espeak_cache_es.txt b/resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_es.txt similarity index 100% rename from python/xvapitch/text/g2p_cache/espeak/espeak_cache_es.txt rename to resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_es.txt diff --git a/python/xvapitch/text/g2p_cache/espeak/espeak_cache_fi.txt b/resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_fi.txt similarity index 100% rename from python/xvapitch/text/g2p_cache/espeak/espeak_cache_fi.txt rename to resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_fi.txt diff --git a/python/xvapitch/text/g2p_cache/espeak/espeak_cache_fr.txt b/resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_fr.txt similarity index 100% rename from python/xvapitch/text/g2p_cache/espeak/espeak_cache_fr.txt rename to resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_fr.txt diff --git a/python/xvapitch/text/g2p_cache/espeak/espeak_cache_hi.txt b/resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_hi.txt similarity index 100% rename from python/xvapitch/text/g2p_cache/espeak/espeak_cache_hi.txt rename to resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_hi.txt diff --git a/python/xvapitch/text/g2p_cache/espeak/espeak_cache_hu.txt b/resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_hu.txt similarity index 100% rename from python/xvapitch/text/g2p_cache/espeak/espeak_cache_hu.txt rename to resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_hu.txt diff --git a/python/xvapitch/text/g2p_cache/espeak/espeak_cache_it.txt b/resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_it.txt similarity index 100% rename from python/xvapitch/text/g2p_cache/espeak/espeak_cache_it.txt rename to resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_it.txt diff --git a/python/xvapitch/text/g2p_cache/espeak/espeak_cache_jp.txt b/resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_jp.txt similarity index 100% rename from python/xvapitch/text/g2p_cache/espeak/espeak_cache_jp.txt rename to resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_jp.txt diff --git a/python/xvapitch/text/g2p_cache/espeak/espeak_cache_ko.txt b/resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_ko.txt similarity index 100% rename from python/xvapitch/text/g2p_cache/espeak/espeak_cache_ko.txt rename to resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_ko.txt diff --git a/python/xvapitch/text/g2p_cache/espeak/espeak_cache_la.txt b/resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_la.txt similarity index 100% rename from python/xvapitch/text/g2p_cache/espeak/espeak_cache_la.txt rename to resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_la.txt diff --git a/python/xvapitch/text/g2p_cache/espeak/espeak_cache_mn.txt b/resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_mn.txt similarity index 100% rename from python/xvapitch/text/g2p_cache/espeak/espeak_cache_mn.txt rename to resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_mn.txt diff --git a/python/xvapitch/text/g2p_cache/espeak/espeak_cache_nl.txt b/resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_nl.txt similarity index 100% rename from python/xvapitch/text/g2p_cache/espeak/espeak_cache_nl.txt rename to resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_nl.txt diff --git a/python/xvapitch/text/g2p_cache/espeak/espeak_cache_pl.txt b/resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_pl.txt similarity index 100% rename from python/xvapitch/text/g2p_cache/espeak/espeak_cache_pl.txt rename to resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_pl.txt diff --git a/python/xvapitch/text/g2p_cache/espeak/espeak_cache_pt.txt b/resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_pt.txt similarity index 100% rename from python/xvapitch/text/g2p_cache/espeak/espeak_cache_pt.txt rename to resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_pt.txt diff --git a/python/xvapitch/text/g2p_cache/espeak/espeak_cache_ro.txt b/resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_ro.txt similarity index 100% rename from python/xvapitch/text/g2p_cache/espeak/espeak_cache_ro.txt rename to resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_ro.txt diff --git a/python/xvapitch/text/g2p_cache/espeak/espeak_cache_ru.txt b/resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_ru.txt similarity index 100% rename from python/xvapitch/text/g2p_cache/espeak/espeak_cache_ru.txt rename to resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_ru.txt diff --git a/python/xvapitch/text/g2p_cache/espeak/espeak_cache_sv.txt b/resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_sv.txt similarity index 100% rename from python/xvapitch/text/g2p_cache/espeak/espeak_cache_sv.txt rename to resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_sv.txt diff --git a/python/xvapitch/text/g2p_cache/espeak/espeak_cache_sw.txt b/resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_sw.txt similarity index 100% rename from python/xvapitch/text/g2p_cache/espeak/espeak_cache_sw.txt rename to resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_sw.txt diff --git a/python/xvapitch/text/g2p_cache/espeak/espeak_cache_th.txt b/resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_th.txt similarity index 100% rename from python/xvapitch/text/g2p_cache/espeak/espeak_cache_th.txt rename to resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_th.txt diff --git a/python/xvapitch/text/g2p_cache/espeak/espeak_cache_tr.txt b/resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_tr.txt similarity index 100% rename from python/xvapitch/text/g2p_cache/espeak/espeak_cache_tr.txt rename to resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_tr.txt diff --git a/python/xvapitch/text/g2p_cache/espeak/espeak_cache_uk.txt b/resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_uk.txt similarity index 100% rename from python/xvapitch/text/g2p_cache/espeak/espeak_cache_uk.txt rename to resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_uk.txt diff --git a/python/xvapitch/text/g2p_cache/espeak/espeak_cache_vi.txt b/resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_vi.txt similarity index 100% rename from python/xvapitch/text/g2p_cache/espeak/espeak_cache_vi.txt rename to resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_vi.txt diff --git a/python/xvapitch/text/g2p_cache/espeak/espeak_cache_yo.txt b/resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_yo.txt similarity index 100% rename from python/xvapitch/text/g2p_cache/espeak/espeak_cache_yo.txt rename to resources/app/python/xvapitch/text/g2p_cache/espeak/espeak_cache_yo.txt diff --git a/python/xvapitch/text/g2p_cache/g2p_cache_wo.txt b/resources/app/python/xvapitch/text/g2p_cache/g2p_cache_wo.txt similarity index 100% rename from python/xvapitch/text/g2p_cache/g2p_cache_wo.txt rename to resources/app/python/xvapitch/text/g2p_cache/g2p_cache_wo.txt diff --git a/python/xvapitch/text/g2p_cache_wikipron/wikipron_en_uk.txt b/resources/app/python/xvapitch/text/g2p_cache_wikipron/wikipron_en_uk.txt similarity index 100% rename from python/xvapitch/text/g2p_cache_wikipron/wikipron_en_uk.txt rename to resources/app/python/xvapitch/text/g2p_cache_wikipron/wikipron_en_uk.txt diff --git a/python/xvapitch/text/g2p_cache_wikipron/wikipron_en_us.txt b/resources/app/python/xvapitch/text/g2p_cache_wikipron/wikipron_en_us.txt similarity index 100% rename from python/xvapitch/text/g2p_cache_wikipron/wikipron_en_us.txt rename to resources/app/python/xvapitch/text/g2p_cache_wikipron/wikipron_en_us.txt diff --git a/python/xvapitch/text/ipa_to_xvaarpabet.py b/resources/app/python/xvapitch/text/ipa_to_xvaarpabet.py similarity index 100% rename from python/xvapitch/text/ipa_to_xvaarpabet.py rename to resources/app/python/xvapitch/text/ipa_to_xvaarpabet.py diff --git a/python/xvapitch/text/phonecode_tables.py b/resources/app/python/xvapitch/text/phonecode_tables.py similarity index 100% rename from python/xvapitch/text/phonecode_tables.py rename to resources/app/python/xvapitch/text/phonecode_tables.py diff --git a/python/xvapitch/text/ro_numbers.py b/resources/app/python/xvapitch/text/ro_numbers.py similarity index 100% rename from python/xvapitch/text/ro_numbers.py rename to resources/app/python/xvapitch/text/ro_numbers.py diff --git a/python/xvapitch/text/text_preprocessing.py b/resources/app/python/xvapitch/text/text_preprocessing.py similarity index 100% rename from python/xvapitch/text/text_preprocessing.py rename to resources/app/python/xvapitch/text/text_preprocessing.py diff --git a/python/xvapitch/util.py b/resources/app/python/xvapitch/util.py similarity index 100% rename from python/xvapitch/util.py rename to resources/app/python/xvapitch/util.py diff --git a/python/xvapitch/wavenet.py b/resources/app/python/xvapitch/wavenet.py similarity index 100% rename from python/xvapitch/wavenet.py rename to resources/app/python/xvapitch/wavenet.py diff --git a/python/xvapitch/xvapitch_model.py b/resources/app/python/xvapitch/xvapitch_model.py similarity index 100% rename from python/xvapitch/xvapitch_model.py rename to resources/app/python/xvapitch/xvapitch_model.py