From 9b91847ed21681e87a0e98210bb3b2805df200bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=B6khan=20Ercan?= Date: Sun, 12 Jan 2025 01:19:04 +0300 Subject: [PATCH] Delete redundant files --- .gitignore | 3 +- .idea/.gitignore | 3 - .idea/OSimUnr-Generator.iml | 8 - .idea/copyright/profiles_settings.xml | 3 - .idea/inspectionProfiles/Project_Default.xml | 238 ------------------ .../inspectionProfiles/profiles_settings.xml | 7 - .idea/misc.xml | 49 ---- .idea/modules.xml | 8 - .idea/vcs.xml | 6 - src/Run.py | 17 +- todos.txt | 54 ---- 11 files changed, 3 insertions(+), 393 deletions(-) delete mode 100644 .idea/.gitignore delete mode 100644 .idea/OSimUnr-Generator.iml delete mode 100644 .idea/copyright/profiles_settings.xml delete mode 100644 .idea/inspectionProfiles/Project_Default.xml delete mode 100644 .idea/inspectionProfiles/profiles_settings.xml delete mode 100644 .idea/misc.xml delete mode 100644 .idea/modules.xml delete mode 100644 .idea/vcs.xml delete mode 100644 todos.txt diff --git a/.gitignore b/.gitignore index 6f131d4..2bddf65 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /resources/studies/ -__pycache__/ \ No newline at end of file +__pycache__/ +.idea \ No newline at end of file diff --git a/.idea/.gitignore b/.idea/.gitignore deleted file mode 100644 index 26d3352..0000000 --- a/.idea/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml diff --git a/.idea/OSimUnr-Generator.iml b/.idea/OSimUnr-Generator.iml deleted file mode 100644 index 9710855..0000000 --- a/.idea/OSimUnr-Generator.iml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/copyright/profiles_settings.xml b/.idea/copyright/profiles_settings.xml deleted file mode 100644 index e7bedf3..0000000 --- a/.idea/copyright/profiles_settings.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml deleted file mode 100644 index 60fa728..0000000 --- a/.idea/inspectionProfiles/Project_Default.xml +++ /dev/null @@ -1,238 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml deleted file mode 100644 index c60c33b..0000000 --- a/.idea/inspectionProfiles/profiles_settings.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml deleted file mode 100644 index 1bbb183..0000000 --- a/.idea/misc.xml +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - - - - - - - - - Android - - - Android Lint - - - Java language level migration aids - - - - - - - \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml deleted file mode 100644 index d00bbcf..0000000 --- a/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index 94a25f7..0000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/src/Run.py b/src/Run.py index f3b983f..ed5a8d9 100644 --- a/src/Run.py +++ b/src/Run.py @@ -4,7 +4,6 @@ from src.Core import Generator from src.Core.Generator import GenerateDataset, SetContext - from src.Core.Languages.LinguisticContext import LinguisticContext from src.Core.Morphology.POSTypes import POSTypes from src.Core.OSimUnrPipeline.EnglishPipeline import EnglishPipeline @@ -34,18 +33,4 @@ ) logp("Dataset generation completed.",True) - #QueryLanguages() - -# with 3.6 - # $env:PYTHONPATH = "L:\Projects\OSimUnr-Generator" - # C:/Users/gokhan/AppData/Local/Programs/Python/Python36/python.exe -m pip install pandas (pip kurulum için) - # C:/Users/gokhan/AppData/Local/Programs/Python/Python36/python.exe src\Run.py - # C:/Users/gokhan/AppData/Local/Programs/Python/Python36/python.exe test\UnitTestsRunner.py - -# with TEST2 (conda activate'ten sonra path'e gerek yok.) - # conda activate TEST2 - # $env:PYTHONPATH = "L:\TEST" - # pip install pip-tools - # pip install -r requirements.txt - # python src\Run.py - # python test\UnitTestsRunner.py + #QueryLanguages() \ No newline at end of file diff --git a/todos.txt b/todos.txt deleted file mode 100644 index 02f8992..0000000 --- a/todos.txt +++ /dev/null @@ -1,54 +0,0 @@ -OK * Replace PPRJ1 to study. -OK * Rename 'textuals' to orthographic -OK * Translate Turkish comments to English -OK * Check for problematic keywords: islam**, kuran -OK * Replace 'txtsim' texts to osim -OK * Add FastText c++ code FastTestNgramSegmentorWrapper !!! -OK * Remove all TODOs. and #TO: -OK * Setup requirements.txt -OK * Run on linux, github workflow -OK * Make 'Resources' path globally accessible - OK * path.join instead of Windows \\ paths. -OK * Get rid of 'Paper' path thing. -OK Add cython equivalent code - * Generator - * Distance fuctions - * SegmentedWord -OK * Dependencies - OK - fix pandas version - OK - Make sure NLTK version - OK - Replace goto statement with something else. Load existing ds case. - OK - Add nltk install -* Provide a readme - * how to run unit tests - * how to run for English using NLTK and MorphoLex - * add cyton and C++ codes are excluded - * NLTK wordnet installation. - * Note that dependencies are very limited such as Pandas, NLTK, etc. Most imports are part or Python standard library such as statistics, collections, pathlib, etc. - * EditDistance is copied form string-sim package. - * Document dataset run -* Check that I'm exposing the correct functions - * should I expose the root detection functions for English? - * Remove unused functions -* NLTKWordNetWrapper elden geçir. -* fix: the bug in WordNet.py file when generating the paper pipeline -* Highlight critical constants - * Generator: minRootlength, typeDepthRatio etc. - -README NOTES - * Run in src folder to gen requirements.txt: - pipreqs . --force - -AbstractFactory Types - * WordNet (default NLTK) - * Language - Grammar - * RootDetection Stack - * OrthographicSimilarity alg. - * Settings/Thresholds -* EditDistance interface ?? -* Check final dataset, highlight in readme - -IPipelineLanguageProvider: - factories and parameters. - -C:\Users\gokhan\miniconda3\envs\TEST38\python --version \ No newline at end of file