Skip to content

Latest commit

 

History

History
10 lines (9 loc) · 455 Bytes

File metadata and controls

10 lines (9 loc) · 455 Bytes

Authorship-Attribution-of-Short-Texts

This repository implements the paper published AUTHORSHIP ATTRIBUTION OF SHORT TEXTS in python. Requirements:

  1. Numpy
  2. Pandas
  3. Keras
  4. Sklearn.

To run Just run command python3 main.py in the folder. To use character Embedding modeule instead of directly converting characters into onehot encodings use model2 instead of model in main.py and change the encode_data to encode_data2 in predict_def.py