Skip to content

Instantly share code, notes, and snippets.

View zahrafitrianti's full-sized avatar

Zahra Putri Fitrianti zahrafitrianti

  • Groningen, Netherlands
View GitHub Profile
@zahrafitrianti
zahrafitrianti / Glad-main.md
Last active March 8, 2017 14:37
Instructions to run glad-main.py program

The following are the instructions to run the glad-main.py program that has been modified for first iteration.

  • NOTE: This only works for testing. So we are using a pre-defined model.

1 Save the above code as a new script, e.g. glad-copy.py

2 Save the following into a new script, called run.py

  import os
  knownFile = "testing/pan15-authorship-verification-test-dataset2-english-2015-04-19/EN001/known01.txt" 
 unknownFile = "testing/pan15-authorship-verification-test-dataset2-english-2015-04-19/EN001/unknown.txt"