added rule_cache_size = 10000 to packed grammars (is this a good default?)

Project: http://git-wip-us.apache.org/repos/asf/incubator-joshua/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-joshua/commit/008f2f4a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-joshua/tree/008f2f4a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-joshua/diff/008f2f4a

Branch: refs/heads/7_confsystem
Commit: 008f2f4ad26cf9745b74f7b9933838a616cc177f
Parents: ffd9c5a
Author: Matt Post <p...@cs.jhu.edu>
Authored: Sat Sep 17 17:03:23 2016 +0200
Committer: Matt Post <p...@cs.jhu.edu>
Committed: Sat Sep 17 17:03:23 2016 +0200

----------------------------------------------------------------------
 scripts/compat/sevenize_my_conf_plz.py | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/008f2f4a/scripts/compat/sevenize_my_conf_plz.py
----------------------------------------------------------------------
diff --git a/scripts/compat/sevenize_my_conf_plz.py 
b/scripts/compat/sevenize_my_conf_plz.py
index 6f6db47..abff53c 100755
--- a/scripts/compat/sevenize_my_conf_plz.py
+++ b/scripts/compat/sevenize_my_conf_plz.py
@@ -35,6 +35,7 @@ def parse_args(line):
             if type == 'thrax' or type == 'hiero':
                 if os.path.isdir(val):
                     type = 'PackedGrammar'
+                    found['rule_cache_size'] = 10000
                 else:
                     type = 'TextGrammar'
 

Reply via email to