diff --git a/src/morphodict/paradigm/generation.py b/src/morphodict/paradigm/generation.py index 20482dd0d..ff081eefc 100644 --- a/src/morphodict/paradigm/generation.py +++ b/src/morphodict/paradigm/generation.py @@ -24,7 +24,7 @@ def default_paradigm_manager() -> ParadigmManager: - MORPHODICT_PARADIGM_SIZE_ORDER """ - layout_dir = shared_res_dir / "layouts" + layout_dir = settings.BASE_DIR / ".." / "morphodict" / "paradigm" / "layouts" site_specific_layout_dir = settings.BASE_DIR / "resources" / "layouts" if site_specific_layout_dir.exists(): diff --git a/src/morphodict/resources/layouts/NA/basic.tsv b/src/morphodict/paradigm/layouts/NA/basic.tsv similarity index 100% rename from src/morphodict/resources/layouts/NA/basic.tsv rename to src/morphodict/paradigm/layouts/NA/basic.tsv diff --git a/src/morphodict/resources/layouts/NA/full.tsv b/src/morphodict/paradigm/layouts/NA/full.tsv similarity index 100% rename from src/morphodict/resources/layouts/NA/full.tsv rename to src/morphodict/paradigm/layouts/NA/full.tsv diff --git a/src/morphodict/resources/layouts/NA_distr/basic.tsv b/src/morphodict/paradigm/layouts/NA_distr/basic.tsv similarity index 100% rename from src/morphodict/resources/layouts/NA_distr/basic.tsv rename to src/morphodict/paradigm/layouts/NA_distr/basic.tsv diff --git a/src/morphodict/resources/layouts/NA_distr/full.tsv b/src/morphodict/paradigm/layouts/NA_distr/full.tsv similarity index 100% rename from src/morphodict/resources/layouts/NA_distr/full.tsv rename to src/morphodict/paradigm/layouts/NA_distr/full.tsv diff --git a/src/morphodict/resources/layouts/NA_loc/basic.tsv b/src/morphodict/paradigm/layouts/NA_loc/basic.tsv similarity index 100% rename from src/morphodict/resources/layouts/NA_loc/basic.tsv rename to src/morphodict/paradigm/layouts/NA_loc/basic.tsv diff --git a/src/morphodict/resources/layouts/NA_loc/full.tsv b/src/morphodict/paradigm/layouts/NA_loc/full.tsv similarity index 100% rename from src/morphodict/resources/layouts/NA_loc/full.tsv rename to src/morphodict/paradigm/layouts/NA_loc/full.tsv diff --git a/src/morphodict/resources/layouts/NDA/basic.tsv b/src/morphodict/paradigm/layouts/NDA/basic.tsv similarity index 100% rename from src/morphodict/resources/layouts/NDA/basic.tsv rename to src/morphodict/paradigm/layouts/NDA/basic.tsv diff --git a/src/morphodict/resources/layouts/NDA/full.tsv b/src/morphodict/paradigm/layouts/NDA/full.tsv similarity index 100% rename from src/morphodict/resources/layouts/NDA/full.tsv rename to src/morphodict/paradigm/layouts/NDA/full.tsv diff --git a/src/morphodict/resources/layouts/NDA_distr/basic.tsv b/src/morphodict/paradigm/layouts/NDA_distr/basic.tsv similarity index 100% rename from src/morphodict/resources/layouts/NDA_distr/basic.tsv rename to src/morphodict/paradigm/layouts/NDA_distr/basic.tsv diff --git a/src/morphodict/resources/layouts/NDA_distr/full.tsv b/src/morphodict/paradigm/layouts/NDA_distr/full.tsv similarity index 100% rename from src/morphodict/resources/layouts/NDA_distr/full.tsv rename to src/morphodict/paradigm/layouts/NDA_distr/full.tsv diff --git a/src/morphodict/resources/layouts/NDA_loc/basic.tsv b/src/morphodict/paradigm/layouts/NDA_loc/basic.tsv similarity index 100% rename from src/morphodict/resources/layouts/NDA_loc/basic.tsv rename to src/morphodict/paradigm/layouts/NDA_loc/basic.tsv diff --git a/src/morphodict/resources/layouts/NDA_loc/full.tsv b/src/morphodict/paradigm/layouts/NDA_loc/full.tsv similarity index 100% rename from src/morphodict/resources/layouts/NDA_loc/full.tsv rename to src/morphodict/paradigm/layouts/NDA_loc/full.tsv diff --git a/src/morphodict/resources/layouts/NDI/basic.tsv b/src/morphodict/paradigm/layouts/NDI/basic.tsv similarity index 100% rename from src/morphodict/resources/layouts/NDI/basic.tsv rename to src/morphodict/paradigm/layouts/NDI/basic.tsv diff --git a/src/morphodict/resources/layouts/NDI/full.tsv b/src/morphodict/paradigm/layouts/NDI/full.tsv similarity index 100% rename from src/morphodict/resources/layouts/NDI/full.tsv rename to src/morphodict/paradigm/layouts/NDI/full.tsv diff --git a/src/morphodict/resources/layouts/NI/basic.tsv b/src/morphodict/paradigm/layouts/NI/basic.tsv similarity index 100% rename from src/morphodict/resources/layouts/NI/basic.tsv rename to src/morphodict/paradigm/layouts/NI/basic.tsv diff --git a/src/morphodict/resources/layouts/NI/full.tsv b/src/morphodict/paradigm/layouts/NI/full.tsv similarity index 100% rename from src/morphodict/resources/layouts/NI/full.tsv rename to src/morphodict/paradigm/layouts/NI/full.tsv diff --git a/src/morphodict/resources/layouts/VAI/basic.tsv b/src/morphodict/paradigm/layouts/VAI/basic.tsv similarity index 100% rename from src/morphodict/resources/layouts/VAI/basic.tsv rename to src/morphodict/paradigm/layouts/VAI/basic.tsv diff --git a/src/morphodict/resources/layouts/VAI/full.tsv b/src/morphodict/paradigm/layouts/VAI/full.tsv similarity index 100% rename from src/morphodict/resources/layouts/VAI/full.tsv rename to src/morphodict/paradigm/layouts/VAI/full.tsv diff --git a/src/morphodict/resources/layouts/VAI/revised/NA.tsv b/src/morphodict/paradigm/layouts/VAI/revised/NA.tsv similarity index 100% rename from src/morphodict/resources/layouts/VAI/revised/NA.tsv rename to src/morphodict/paradigm/layouts/VAI/revised/NA.tsv diff --git a/src/morphodict/resources/layouts/VAI/revised/NAD.tsv b/src/morphodict/paradigm/layouts/VAI/revised/NAD.tsv similarity index 100% rename from src/morphodict/resources/layouts/VAI/revised/NAD.tsv rename to src/morphodict/paradigm/layouts/VAI/revised/NAD.tsv diff --git a/src/morphodict/resources/layouts/VAI/revised/NI.tsv b/src/morphodict/paradigm/layouts/VAI/revised/NI.tsv similarity index 100% rename from src/morphodict/resources/layouts/VAI/revised/NI.tsv rename to src/morphodict/paradigm/layouts/VAI/revised/NI.tsv diff --git a/src/morphodict/resources/layouts/VAI/revised/NID.tsv b/src/morphodict/paradigm/layouts/VAI/revised/NID.tsv similarity index 100% rename from src/morphodict/resources/layouts/VAI/revised/NID.tsv rename to src/morphodict/paradigm/layouts/VAI/revised/NID.tsv diff --git a/src/morphodict/resources/layouts/VAI/revised/VAI.tsv b/src/morphodict/paradigm/layouts/VAI/revised/VAI.tsv similarity index 100% rename from src/morphodict/resources/layouts/VAI/revised/VAI.tsv rename to src/morphodict/paradigm/layouts/VAI/revised/VAI.tsv diff --git a/src/morphodict/resources/layouts/VAI/revised/VII.tsv b/src/morphodict/paradigm/layouts/VAI/revised/VII.tsv similarity index 100% rename from src/morphodict/resources/layouts/VAI/revised/VII.tsv rename to src/morphodict/paradigm/layouts/VAI/revised/VII.tsv diff --git a/src/morphodict/resources/layouts/VAI/revised/VTA.tsv b/src/morphodict/paradigm/layouts/VAI/revised/VTA.tsv similarity index 100% rename from src/morphodict/resources/layouts/VAI/revised/VTA.tsv rename to src/morphodict/paradigm/layouts/VAI/revised/VTA.tsv diff --git a/src/morphodict/resources/layouts/VAI/revised/VTI.tsv b/src/morphodict/paradigm/layouts/VAI/revised/VTI.tsv similarity index 100% rename from src/morphodict/resources/layouts/VAI/revised/VTI.tsv rename to src/morphodict/paradigm/layouts/VAI/revised/VTI.tsv diff --git a/src/morphodict/resources/layouts/VAI/revised/demonstrative-pronouns.tsv b/src/morphodict/paradigm/layouts/VAI/revised/demonstrative-pronouns.tsv similarity index 100% rename from src/morphodict/resources/layouts/VAI/revised/demonstrative-pronouns.tsv rename to src/morphodict/paradigm/layouts/VAI/revised/demonstrative-pronouns.tsv diff --git a/src/morphodict/resources/layouts/VAI/revised/personal-pronouns.tsv b/src/morphodict/paradigm/layouts/VAI/revised/personal-pronouns.tsv similarity index 100% rename from src/morphodict/resources/layouts/VAI/revised/personal-pronouns.tsv rename to src/morphodict/paradigm/layouts/VAI/revised/personal-pronouns.tsv diff --git a/src/morphodict/resources/layouts/VAI/test/NA.tsv b/src/morphodict/paradigm/layouts/VAI/test/NA.tsv similarity index 100% rename from src/morphodict/resources/layouts/VAI/test/NA.tsv rename to src/morphodict/paradigm/layouts/VAI/test/NA.tsv diff --git a/src/morphodict/resources/layouts/VAI/test/NAD.tsv b/src/morphodict/paradigm/layouts/VAI/test/NAD.tsv similarity index 100% rename from src/morphodict/resources/layouts/VAI/test/NAD.tsv rename to src/morphodict/paradigm/layouts/VAI/test/NAD.tsv diff --git a/src/morphodict/resources/layouts/VAI/test/NI.tsv b/src/morphodict/paradigm/layouts/VAI/test/NI.tsv similarity index 100% rename from src/morphodict/resources/layouts/VAI/test/NI.tsv rename to src/morphodict/paradigm/layouts/VAI/test/NI.tsv diff --git a/src/morphodict/resources/layouts/VAI/test/NID.tsv b/src/morphodict/paradigm/layouts/VAI/test/NID.tsv similarity index 100% rename from src/morphodict/resources/layouts/VAI/test/NID.tsv rename to src/morphodict/paradigm/layouts/VAI/test/NID.tsv diff --git a/src/morphodict/resources/layouts/VAI/test/VAI.tsv b/src/morphodict/paradigm/layouts/VAI/test/VAI.tsv similarity index 100% rename from src/morphodict/resources/layouts/VAI/test/VAI.tsv rename to src/morphodict/paradigm/layouts/VAI/test/VAI.tsv diff --git a/src/morphodict/resources/layouts/VAI/test/VII.tsv b/src/morphodict/paradigm/layouts/VAI/test/VII.tsv similarity index 100% rename from src/morphodict/resources/layouts/VAI/test/VII.tsv rename to src/morphodict/paradigm/layouts/VAI/test/VII.tsv diff --git a/src/morphodict/resources/layouts/VAI/test/VTA.tsv b/src/morphodict/paradigm/layouts/VAI/test/VTA.tsv similarity index 100% rename from src/morphodict/resources/layouts/VAI/test/VTA.tsv rename to src/morphodict/paradigm/layouts/VAI/test/VTA.tsv diff --git a/src/morphodict/resources/layouts/VAI/test/VTI.tsv b/src/morphodict/paradigm/layouts/VAI/test/VTI.tsv similarity index 100% rename from src/morphodict/resources/layouts/VAI/test/VTI.tsv rename to src/morphodict/paradigm/layouts/VAI/test/VTI.tsv diff --git a/src/morphodict/resources/layouts/VAI/test/demonstrative-pronouns.tsv b/src/morphodict/paradigm/layouts/VAI/test/demonstrative-pronouns.tsv similarity index 100% rename from src/morphodict/resources/layouts/VAI/test/demonstrative-pronouns.tsv rename to src/morphodict/paradigm/layouts/VAI/test/demonstrative-pronouns.tsv diff --git a/src/morphodict/resources/layouts/VAI/test/panes2.tsv b/src/morphodict/paradigm/layouts/VAI/test/panes2.tsv similarity index 100% rename from src/morphodict/resources/layouts/VAI/test/panes2.tsv rename to src/morphodict/paradigm/layouts/VAI/test/panes2.tsv diff --git a/src/morphodict/resources/layouts/VAI/test/personal-pronouns.tsv b/src/morphodict/paradigm/layouts/VAI/test/personal-pronouns.tsv similarity index 100% rename from src/morphodict/resources/layouts/VAI/test/personal-pronouns.tsv rename to src/morphodict/paradigm/layouts/VAI/test/personal-pronouns.tsv diff --git a/src/morphodict/resources/layouts/VAI/test/renderings.tsv b/src/morphodict/paradigm/layouts/VAI/test/renderings.tsv similarity index 100% rename from src/morphodict/resources/layouts/VAI/test/renderings.tsv rename to src/morphodict/paradigm/layouts/VAI/test/renderings.tsv diff --git a/src/morphodict/resources/layouts/VII/basic.tsv b/src/morphodict/paradigm/layouts/VII/basic.tsv similarity index 100% rename from src/morphodict/resources/layouts/VII/basic.tsv rename to src/morphodict/paradigm/layouts/VII/basic.tsv diff --git a/src/morphodict/resources/layouts/VII/full.tsv b/src/morphodict/paradigm/layouts/VII/full.tsv similarity index 100% rename from src/morphodict/resources/layouts/VII/full.tsv rename to src/morphodict/paradigm/layouts/VII/full.tsv diff --git a/src/morphodict/resources/layouts/VTA/basic.tsv b/src/morphodict/paradigm/layouts/VTA/basic.tsv similarity index 100% rename from src/morphodict/resources/layouts/VTA/basic.tsv rename to src/morphodict/paradigm/layouts/VTA/basic.tsv diff --git a/src/morphodict/resources/layouts/VTA/full.tsv b/src/morphodict/paradigm/layouts/VTA/full.tsv similarity index 100% rename from src/morphodict/resources/layouts/VTA/full.tsv rename to src/morphodict/paradigm/layouts/VTA/full.tsv diff --git a/src/morphodict/resources/layouts/VTI/basic.tsv b/src/morphodict/paradigm/layouts/VTI/basic.tsv similarity index 100% rename from src/morphodict/resources/layouts/VTI/basic.tsv rename to src/morphodict/paradigm/layouts/VTI/basic.tsv diff --git a/src/morphodict/resources/layouts/VTI/full.tsv b/src/morphodict/paradigm/layouts/VTI/full.tsv similarity index 100% rename from src/morphodict/resources/layouts/VTI/full.tsv rename to src/morphodict/paradigm/layouts/VTI/full.tsv diff --git a/src/morphodict/resources/layouts/demonstrative-pronouns.tsv b/src/morphodict/paradigm/layouts/demonstrative-pronouns.tsv similarity index 100% rename from src/morphodict/resources/layouts/demonstrative-pronouns.tsv rename to src/morphodict/paradigm/layouts/demonstrative-pronouns.tsv diff --git a/src/morphodict/resources/layouts/personal-pronouns.tsv b/src/morphodict/paradigm/layouts/personal-pronouns.tsv similarity index 100% rename from src/morphodict/resources/layouts/personal-pronouns.tsv rename to src/morphodict/paradigm/layouts/personal-pronouns.tsv