Skip to content

ankushbhatia2/QuestionTypeClassification

Repository files navigation

QuestionTypeClassification

A question type classifier based in python 2.7.

Dependencies

  1. Pandas
  2. Sklearn(>=0.19.1)
  3. Numpy
  4. Spacy
To Download Spacy data write the following command in your terminal/command prompt
python -m spacy download en

Usage

Run the file "classify.py" from command line

python /path/to/classify.py

You can either give a full txt file or a single sentence to the get the question type.

All the tests will be saved in a csv in that same folder

To check the format of input txt file please open "test_final.txt"

To check the output csv check "test_final.csv"

Author

Ankush Bhatia

Username : asshatter

Portfolio link : Clik here

About

A question type classifier based in python.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages