-
Notifications
You must be signed in to change notification settings - Fork 0
/
Constants.py
23 lines (22 loc) · 1.64 KB
/
Constants.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import os
preprocessing_dataset_name = '61085-0.txt'
spellCorrection_dataset_train_name = "spell-testset.txt"
spellCorrection_dataset_train_spell_err_name = "spell-errors.txt"
project_dir = os.getcwd()
print(project_dir)
project_absolute_path = os.path.abspath(project_dir)
preprocessing_dataset_path = f'{project_dir}/preprocessing/datasets/{preprocessing_dataset_name}'
classification_main_dataset_path = f'{project_dir}/classification/datasets/'
classification_dataset_path = f'{project_dir}/classification/datasets/className/'
classification_test_set_path = f'{project_dir}/classification/datasets/className/test'
classification_dataset_test_path = f'{project_dir}/classification/datasets/className/test/'
spellCorrection_dataset_path = f'{project_dir}/spellCorrection/dataset/test/{spellCorrection_dataset_train_name}'
spellCorrection_dataset_spell_errors = f'{project_dir}/spellCorrection/dataset/{spellCorrection_dataset_train_spell_err_name}'
spellCorrection_channel_dataset_name = "Dataset.data"
spellCorrection_channel_dataset_path = f"{project_dir}/spellCorrection/dataset/Dictionary/{spellCorrection_channel_dataset_name}"
spellCorrection_channel_dictionary_path = f'{project_dir}/spellCorrection/dataset/test/Dictionary/dictionary.Data'
spellCorrection_confusion_matrix = f'{project_dir}/spellCorrection/dataset/test/Confusion Matrix/action-confusion.data'
output_preprocessing_stem = f"{project_dir}/out/preProcessing/stem_output.txt"
output_preprocessing_tokenizer = f"{project_dir}/out/preProcessing/tokenize.txt"
output_preprocessing_lowercase = f"{project_dir}/out/preProcessing/lowerCase.txt"
output_spellCorrection = f"{project_dir}/out/spellCorrection/out.txt"