Vu Anh commited on
Commit
5fb8014
·
1 Parent(s): 4624208

Rename scripts to shorter, more suitable names

Browse files

- dataset_statistics.py → stats.py
- preprocess_data.py → preprocess.py
- validate_dataset.py → validate.py
- Updated README.md import example
- Updated validate.py to check for new filenames

README.md CHANGED
@@ -164,7 +164,7 @@ dataset_aspect = load_dataset("undertheseanlp/UTS2017_Bank", "aspect_sentiment")
164
  A preprocessing script is available in the repository:
165
 
166
  ```python
167
- from preprocess_data import process_banking_data
168
 
169
  # Process raw data into three subsets
170
  process_banking_data("raw_data/train.txt", "data")
 
164
  A preprocessing script is available in the repository:
165
 
166
  ```python
167
+ from preprocess import process_banking_data
168
 
169
  # Process raw data into three subsets
170
  process_banking_data("raw_data/train.txt", "data")
preprocess_data.py → preprocess.py RENAMED
File without changes
dataset_statistics.py → stats.py RENAMED
File without changes
validate_dataset.py → validate.py RENAMED
@@ -24,8 +24,8 @@ def validate_file_structure():
24
  "raw_data/train.txt",
25
  "raw_data/test.txt",
26
  "README.md",
27
- "preprocess_data.py",
28
- "dataset_statistics.py"
29
  ]
30
 
31
  missing_files = []
 
24
  "raw_data/train.txt",
25
  "raw_data/test.txt",
26
  "README.md",
27
+ "preprocess.py",
28
+ "stats.py"
29
  ]
30
 
31
  missing_files = []