summaryrefslogtreecommitdiff
path: root/src/runtime/python/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/python/test.py')
-rw-r--r--src/runtime/python/test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/python/test.py b/src/runtime/python/test.py
index ae0427d60..437c29776 100644
--- a/src/runtime/python/test.py
+++ b/src/runtime/python/test.py
@@ -19,7 +19,7 @@ while True:
break;
try:
- for (p,e) in gr.languages["ParseEng"].parse(gr.startCat,line):
+ for (p,e) in gr.languages["ParseEng"].parse(line, n=5):
sys.stdout.write("["+str(p)+"] "+str(e)+"\n")
print gr.languages["ParseEngBul"].linearize(e)
except pgf.ParseError as e: