We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c992713 commit a262f81Copy full SHA for a262f81
code/rnnslu.py
@@ -5,6 +5,7 @@
5
import os
6
import urllib
7
import random
8
+import stat
9
import subprocess
10
import sys
11
import time
@@ -102,7 +103,7 @@ def get_perf(filename):
102
103
if not os.path.isfile(_conlleval):
104
url = 'http://www-etud.iro.umontreal.ca/~mesnilgr/atis/conlleval.pl'
105
download(url)
- chmod('conlleval.pl', stat.S_IRWXU) # give the execute permissions
106
+ os.chmod('conlleval.pl', stat.S_IRWXU) # give the execute permissions
107
108
proc = subprocess.Popen(["perl",
109
_conlleval],
0 commit comments