Option | Flag | Type | Default | Usage | Description |
system |
---|
option_file | -f | string | | | Path to option file |
help | -h | unary | | | Show options |
verbosity | -v | enum | info | | Verbosity level off | Logging turned off | fatal | Logging of very severe error events | error | Logging of error events | warn | Logging of harmful situations | info | Logging of informational messages | debug | Logging of debugging messages |
|
config |
---|
name | -c | string | | both | Configuration name |
url | -u | string | | both | URL to configuration file |
flowchart | -m | enum | parse | both | Flow chart learn | Learn a Single MaltParser configuration | parse | Parse with a Single MaltParser configuration | info | Prints the info file of a configuration | unpack | Unpacks a configuration | convert | Simple format converter | analyze | | proj | Projectivizes input data using a configuration | deproj | Deprojectivizes input data using a configuration | learnwo | Same as learn, but also outputs the graphs to file specified by the flag -o | testdata | Generates test instances to run experiments with a learner outside MaltParser. Use for example the flag -li true to save instances. |
|
type | -t | class | singlemalt | both | Configuration type singlemalt | Single Malt Parser configuration |
|
workingdir | -w | string | user.dir | both | Working directory |
logging | -cl | enum | info | both | Configuration logging level off | Logging turned off | fatal | Logging of very severe error events | error | Logging of error events | warn | Logging of harmful situations | info | Logging of informational messages | debug | Logging of debugging messages |
|
logfile | -lfi | string | stdout | both | Log file name (default: standard output) |
singlemalt |
---|
mode | -sm | enum | parse | both | Single Malt Parser Configuration mode |
parsing_algorithm | -a | class | nivreeager | save | Parsing algorithm nivreeager | Nivre arc-eager | nivrestandard | Nivre arc-standard | covnonproj | Covington non-projective | covproj | Covington projective | stackproj | Stack projective | stackeager | Stack eager | stacklazy | Stack lazy | planar | Planar eager | 2planar | 2-Planar eager |
|
guide_model | -gm | class | single | save | Guide model type |
null_value | -nv | enum | one | save | The degree of differentiation of null-values none | Excludes all types of null values | one | Maps all kinds of null values to one symbol | rootnode | Distinguish between no node and root node | novalue | Distinguish between no node and root node, and no value for output column |
|
diagnostics | -di | bool | false | both | diagnostics |
diafile | -dif | string | stdout | both | Diagnostics file name (default: standard output) |
use_partial_tree | -up | bool | false | save | Use partial trees during parsing |
propagation | -fp | string | | save | Propagation specification file |
input |
---|
infile | -i | string | | both | Path to input file |
format | -if | stringenum | conllx | save | Path to format specification file conllx | CoNLL-X data format | conllu | CoNLL-U data format | malttab | MaltTAB data format |
|
reader | -ir | class | tab | both | Data reader |
charset | -ic | string | UTF-8 | save | Character set |
reader_options | -iro | string | | both | Specific reader options |
iterations | -it | integer | 1 | both | Number of iterations. |
output |
---|
outfile | -o | string | | both | Path to output file |
format | -of | stringenum | | both | Path to format specification file conllx | CoNLL-X data format | conllu | CoNLL-U data format | malttab | MaltTAB data format |
|
writer | -ow | class | tab | both | Data writer |
charset | -oc | string | UTF-8 | save | Character set |
writer_options | -owo | string | | both | Specific writer options |
graph |
---|
max_sentence_length | -gsl | integer | 256 | both | Max sentence length |
root_label | -grl | string | ROOT | save | Default label for root dependents |
head_rules | -ghr | string | | save | An URL or a file name to file that contains a list of head rules |
nivre |
---|
allow_root | -nr | bool | true | save | Allow root |
allow_reduce | -ne | bool | false | save | Allow reduce |
enforce_tree | -nt | bool | false | process | Enforce tree constraint |
multiplanar |
---|
planar_root_handling | -prh | enum | normal | save | Root handling relaxed | Root dependents not attached during parsing (attached with default label afterwards). | normal | Root dependents attached by RightArc transition during parsing (unattached tokens attached with default label afterwards). |
|
planar |
---|
connectedness | -pcon | enum | none | save | Enforce connectedness none | Don't enforce connectedness at all, words whose head the parser doesn't know will be linked to the root node. With this option, the parser will work with planar dependency forests. A forest may be seen as a tree by considering all the roots linked to the dummy root node, but it needn't be planar when seen this way. | reduceonly | The last node in a connected component cannot be reduced. No restrictions on shift transitions. This option guarantees that the dependency graph obtained counting links to the dummy root node is planar and connected. | full | Enforce full connectedness by not only not allowing to reduce the last node in a component, but not allowing to shift the last word if the graph is not connected. The produced graph will be connected and planar even without considering the dummy root node. |
|
acyclicity | -pacy | bool | true | save | Enforce acyclicity |
no_covered_roots | -pcov | bool | false | save | Disallow covered roots |
2planar |
---|
reduceonswitch | -2pr | bool | false | save | Force reduce after switch |
covington |
---|
allow_root | -cr | bool | true | save | Allow root |
allow_shift | -cs | bool | false | save | Allow shift transition |
lib |
---|
options | -lo | string | | save | LIBLINEAR options (see liblinear Documentation) |
external | -lx | string | | train | Path to train or svm-train |
save_instance_files | -li | bool | false | save | If save_instance_files=true, instance files are saved in the configuration. |
verbosity | -lv | enum | silent | train | Verbosity of the liblinear or the libsvm package silent | No output from the liblinear or the libsvm package is logged. | error | Only the error stream of the liblinear or the libsvm package is logged. | all | All output of the liblinear or the libsvm package is logged. |
|
guide |
---|
features | -F | stringenum | | save | Feature model specification nivreeager | Nivre arc-eager default model | nivrestandard | Nivre arc-standard default model | covnonproj | Covington non-projective default model | covproj | Covington projective default model | stackproj | Stack projective default model | stackeager | Stack projective default model | stacklazy | Stack projective default model | planar | Planar arc-eager default model | 2planar | 2-Planar arc-eager default model |
|
data_split_column | -d | string | | save | Data split input column |
data_split_structure | -s | string | | save | Data split data structure |
data_split_threshold | -T | integer | 50 | save | Data split threshold |
kbest | -k | integer | -1 | save | Number of items in k-best list |
kbest_type | -kt | class | rank | process | Type of k-best list |
learner | -l | class | liblinear | save | Learner libsvm | LIBSVM learner | liblinear | LIBLINEAR learner |
|
decision_settings | -gds | string | T.TRANS+A.DEPREL | save | Decision settings |
classitem_separator | -gcs | string | ~ | save | Class item separator |
pproj |
---|
marking_strategy | -pp | enum | none | save | Marking strategy for pseudo-projective transformation none | No pseudo-projective transformation | baseline | Projectivizes input data | head | Projectivizes input data with head encoding for labels | path | Projectivizes input data with path encoding for labels | head+path | Projectivizes input data with head and path encoding for labels |
|
covered_root | -pcr | enum | none | save | Attachment strategy for covered roots none | No covered root transformation; covered roots treated as any other node | ignore | No covered root transformation; covered roots ignored in projectivity tests (old implementation of none) | left | Attach covered roots to the left end of the shortest covering arc | right | Attach covered roots to the right end of the shortest covering arc | head | Attach covered roots to the head of the shortest covering arc |
|
lifting_order | -plo | enum | shortest | save | Lifting order, in case a dependency graph contains multiple non-projective arcs shortest | Lift the shortest arcs first (break ties from left to right) | deepest | Lift the most deeply nested arcs first (break ties from left to right) |
|