8000 kraftwerk · ez-max/stanford-corenlp-python@a72d88b · GitHub
[go: up one dir, main page]

Skip to content

Commit a72d88b

Browse files
committed
kraftwerk
1 parent 5b5b70b commit a72d88b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,10 @@ def __init__(self):
105105
self._server = pexpect.spawn("%s -Xmx3g -cp %s %s %s" % (javapath, ':'.join(jars), classname, props))
106106

107107
print "Starting the Stanford Core NLP parser."
108+
self.state = "plays hard to get, smiles from time to time"
108109
# show progress bar while loading the models
109110
widgets = ['Loading Models: ', Fraction(), ' ',
110111
Bar(marker=RotatingMarker()), ' ', self.state ]
111-
self.state = "plays hard to get, smiles from time to time"
112112
pbar = ProgressBar(widgets=widgets, maxval=5, force_update=True).start()
113113
self._server.expect("done.", timeout=20) # Load pos tagger model (~5sec)
114114
pbar.update(1)

0 commit comments

Comments
 (0)
0