/Authorship-Attribution-of-Short-Texts

Authorship Attribution of Tweets using Convolutional Neural Networks Over character n-grams

Primary LanguagePython

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