-
Notifications
You must be signed in to change notification settings - Fork 16
Command Line Other Option Tutorial
linfrank edited this page Aug 16, 2012
·
1 revision
To specify any parameter using the command line you can use the -other
option. The way to do this is specify the property name and what it should be set to. For example, to set history size:
-other learner.historySize=3
or to change the numberOfEpochs
variable in the SequenceClassifierLearner
:
-other learner.sequenceClassifierLearner.numberOfEpochs=10
Basically all one has to do is look in the GUI and see all the property names, and then every time you press the Edit
button you need to add the property you are editing to the path. So if you want to edit something in learner you can specify:
-other learner.PROPERTY_NAME
Also here is how to specify a class with the -other
option:
-other learner.spanFeatureExtractor="ui.Recommended.DocumentFE"
To find the correct class names look at the GUI or the API Javadoc to see the full class names and what variables/properties are available.