Author identification - forensic stylometry

This is a deep learning model that predicts the most likely author of a passage of text, out of three contemporary authors: JK Rowling, Philip Pullman and Dan Brown. The model has been trained on two or three novels by each of the authors. The model works using a Convolutional Neural Network with pre-trained word embeddings, and some preprocessing such as removing proper nouns and pronouns.

For best results try entering at least two or three paragraphs of text. You can get some free writing samples by visiting the authors' websites (Pottermore, Dan Brown, Philip Pullman). JK Rowling wrote some books under the pseudonym Robert Galbraith. Try testing if the model can correctly identify the author.