Skip to content
Browse files

corrected port number

  • Loading branch information...
1 parent e77a7a6 commit 7671dbeb7e6eead163e11daab7aafa84cc36adf7 @andersjo committed May 5, 2014
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/annotate.py
View
3 src/annotate.py
@@ -105,7 +105,6 @@ def annotate_sentence(id=None):
args = parser.parse_args()
- print >>sys.stderr, "Reading Framenet"
framenet_data = expanduser("~/nltk_data/corpora/framenet_v15/")
if not os.path.isdir(framenet_data):
nltk.download('framenet_v15')
@@ -116,7 +115,7 @@ def annotate_sentence(id=None):
if os.path.isfile(os.path.join(args.in_dir, fname))]
print >>sys.stderr, "Found {} sentences for annotation".format(len(sentence_ids))
- print >>sys.stderr, "Web server started. Navigate to http://127.0.0.1:0000/annotate/{} to get started".format(sentence_ids[0])
+ print >>sys.stderr, "Web server started. Navigate to\n\n\thttp://127.0.0.1:5000/annotate/{} \n\nto get started".format(sentence_ids[0])
# Start the web server

0 comments on commit 7671dbe

Please sign in to comment.
Something went wrong with that request. Please try again.