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:
Phil Williams 2013-03-04 21:02:50 +00:00
parent cf94b96afa
commit 6fa279fadb

View File

@ -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()