Skip to content

Commit

Permalink
Usefull printout
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Sedra committed Mar 30, 2013
1 parent efebb56 commit 4db2572
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions answer
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ def answer(question, article):


if __name__ == '__main__':
<<<<<<< HEAD
article_name = sys.argv[1]

for year in ("S08", "S09", "S10"):
Expand All @@ -73,6 +74,15 @@ if __name__ == '__main__':
print "Question:", question
print "Difficulty from answerer:", difficulty_answerer
print "Difficulty from questioner:", difficulty_questioner
=======

if(len(sys.argv)) < 3:
print 'Usage: <article path> <questions path>'
sys.exit(1)

path_to_article = sys.argv[1]
path_to_questions = sys.argv[2]
>>>>>>> Usefull printout

# Open the question file and start answering questions.
article = open(prefix+path_to_article+".txt").read()
Expand Down
Empty file added modules/naiveCoref.py
Empty file.

0 comments on commit 4db2572

Please sign in to comment.