mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-26 21:42:19 +03:00
filter-rule-table.py: change default pruning count from 1 to 0
Change the default pruning threshold from 1 to 0 to allow for Hiero-style fractional counts.
This commit is contained in:
parent
cf94b96afa
commit
6fa279fadb
@ -40,7 +40,8 @@ def printUsage():
|
||||
def main():
|
||||
parser = optparse.OptionParser()
|
||||
parser.add_option("-c", "--min-non-initial-rule-count",
|
||||
action="store", dest="minCount", type="int", default="1",
|
||||
action="store", dest="minCount",
|
||||
type="float", default="0.0",
|
||||
help="prune non-initial rules where count is below N",
|
||||
metavar="N")
|
||||
(options, args) = parser.parse_args()
|
||||
|
Loading…
Reference in New Issue
Block a user