.. | ||
MPQA | ||
features.py | ||
README.md |
Requirements
Python version - 3.6/3.7 with NLTK installed
Usage
python features.py <Path to the Data Directory>
Note: The Data Directory be one of the preprocessed folders created by the preprocessing script. Example directory structure of the data directory for SemEval Data:
Data_SemE_P
├── Atheism
| ├── test_clean.txt
| ├── test_preprocessed.csv
| ├── train_clean.txt
| └── train_preprocessed.csv
├── CC
| ├── test_clean.txt
| ├── test_preprocessed.csv
| ├── train_clean.txt
| └── train_preprocessed.csv
├── FM
| ├── test_clean.txt
| ├── test_preprocessed.csv
| ├── train_clean.txt
| └── train_preprocessed.csv
├── HC
| ├── test_clean.txt
| ├── test_preprocessed.csv
| ├── train_clean.txt
| └── train_preprocessed.csv
└── LA
├── test_clean.txt
├── test_preprocessed.csv
├── train_clean.txt
└── train_preprocessed.csv