| Modifier and Type | Field and Description |
|---|---|
String |
algorithm |
Boolean |
convert |
Boolean |
convert_to_text |
Double |
cost |
Double |
eta |
Integer |
freq |
Boolean |
help |
Integer |
maxiter |
Integer |
shrinking_size |
Boolean |
textmodel |
Integer |
thread |
| Constructor and Description |
|---|
Option() |
@Argument(description="use features that occur no less than INT(default 1)", alias="f") public Integer freq
@Argument(description="set INT for max iterations in LBFGS routine(default 10k)", alias="m") public Integer maxiter
@Argument(description="set FLOAT for cost parameter(default 1.0)", alias="c") public Double cost
@Argument(description="set FLOAT for termination criterion(default 0.0001)", alias="e") public Double eta
@Argument(description="convert text model to binary model", alias="C") public Boolean convert
@Argument(description="convert binary model to text model", alias="T") public Boolean convert_to_text
@Argument(description="build also text model file for debugging", alias="t") public Boolean textmodel
@Argument(description="(CRF|CRF-L1|CRF-L2|MIRA)\", \"select training algorithm", alias="a") public String algorithm
@Argument(description="set INT for number of iterations variable needs to be optimal before considered for shrinking. (default 20)", alias="H") public Integer shrinking_size
@Argument(description="show this help and exit", alias="h") public Boolean help
@Argument(description="number of threads(default auto detect)") public Integer thread
Copyright © 2014–2021 码农场. All rights reserved.