Training, crossvalidation and testing structural domain dataset
Showing
1 changed file
with
6 additions
and
0 deletions
... | @@ -118,6 +118,12 @@ if __name__ == "__main__": | ... | @@ -118,6 +118,12 @@ if __name__ == "__main__": |
118 | parser.add_argument("--removeStopWords", default=False, | 118 | parser.add_argument("--removeStopWords", default=False, |
119 | action="store_true", dest="removeStopWords", | 119 | action="store_true", dest="removeStopWords", |
120 | help="Remove stop words") | 120 | help="Remove stop words") |
121 | + parser.add_option("--ngrinitial", type="int", | ||
122 | + dest="ngrinitial", default=1, | ||
123 | + help="Initial n-gram", metavar="INTEGER") | ||
124 | + parser.add_option("--ngrfinal", type="int", | ||
125 | + dest="ngrfinal", default=1, | ||
126 | + help="Final n-gram", metavar="INTEGER") | ||
121 | 127 | ||
122 | args = parser.parse_args() | 128 | args = parser.parse_args() |
123 | 129 | ... | ... |
-
Please register or login to post a comment