summaryrefslogtreecommitdiff
path: root/python/pkg/cdec/sa
diff options
context:
space:
mode:
authorVictor Chahuneau <vchahune@cs.cmu.edu>2012-09-05 19:47:07 +0100
committerVictor Chahuneau <vchahune@cs.cmu.edu>2012-09-05 19:47:07 +0100
commit042a40c0005057cb26d2b5fa86e27c6de73d6927 (patch)
tree6980ea3f42f6bf2d32b1ad209e313fa3962473a2 /python/pkg/cdec/sa
parent2928b86c3972d705c76e04499f148854aa8588a8 (diff)
[pycdec.sa] Fix the -f option specification
Diffstat (limited to 'python/pkg/cdec/sa')
-rw-r--r--python/pkg/cdec/sa/extract.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/pkg/cdec/sa/extract.py b/python/pkg/cdec/sa/extract.py
index 3136c5a7..10a81556 100644
--- a/python/pkg/cdec/sa/extract.py
+++ b/python/pkg/cdec/sa/extract.py
@@ -45,7 +45,7 @@ def main():
help='number of parallel extractors')
parser.add_argument('-s', '--chunksize', type=int, default=10,
help='number of sentences / chunk')
- parser.add_argument('-f', '--features', action='append',
+ parser.add_argument('-f', '--features', nargs='*', default=[],
help='additional feature definitions')
args = parser.parse_args()