- Windows OS specific:
- Microsoft Excel
- Text Editor(preferably Notepad)
- Python 3.0+
- Jupiter Notebook
- Weka Machine Learning Tool.
- Follow this link to install Python along with Jupiter notebook in your system.
- Follow this link to download Weka machine learning tool.For further assistence refer to this video.
- Clone the repo or download it in zip format.
- If you followed the link to install Jupiter Notebook as mentioned above.Place the above code folder in opencv/scripts.
- Else place the folder wherever your Jupiter notebook Files are being saved.
- Change the directory to where your text is present and run the code.
- Once fetures for the whole corpus of an author are extracted, import the txt files like conjuction.txt etc to excel files.
- Refer to excel file above for viewing the name of features along with names of autor's stories.
- Convert these excel files into csv files.
- Convert thse files to arff format using this link in weka.
- once done load the arff files in explorer section and choose J48 in classifier section.
- Go to Select attributes section and click on start.Form a new dataser using these attributes.
- Run different algorithms on this dataset for determining the best algorithm.