MaltParser - Available options
Description: MaltParser is a system for data-driven dependency parsing, which can be used to induce a parsing model from treebank data and to parse new data using an induced model.
Keywords: MaltParser, Dependency Parsing, Nivre, NLP, CoNLL, Treebank, Machine Learning, Data-driven

# MaltParser

Modified: July 15 2010

- Home

##### Get MaltParser

- Download
- Changes
- License

##### Documentation

- Introduction
- Installing MaltParser
- User guide
- Options (short version)
- Options (long version)
- JavaDoc

##### Resources

- Pre-trained models
- Plugin
- Publications
- CoNLL Shared Task

##### Contact

- Contact

## MaltParser 1.4.1 - Available options

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
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 -lsi truei> to save instances.
versioning | Converts an old parser model (mco-file) into the latest version (supports version 1.3 parser model or later)
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
learn |
parse |
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
single | Classic guide
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
rootlabel | Same as 'one', but null value for output column is mapped to the root label
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
malttab | MaltTAB data format
negraps | Negra phrase structure
negrads | Negra dependency structure
tal05ps | Talbanken05 phrase structure
tal05ds | Talbanken05 dependency structure
tigerps | Tiger phrase structure
tigerds | Tiger dependency structure
reader | -ir | class | tab | both | Data reader
tab | Tab-separated reader
negra | Negra reader
tiger | TigerXML 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
malttab | MaltTAB data format
negraps | Negra phrase structure
negrads | Negra dependency structure
tal05ps | Talbanken05 phrase structure
tal05ds | Talbanken05 dependency structure
tigerps | Tiger phrase structure
tigerds | Tiger dependency structure
writer | -ow | class | tab | both | Data writer
tab | Tab-separated writer
negra | Negra writer
tiger | TigerXML 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
root_handling | -r | enum | normal | save | Root handling
strict | Root dependents not attached during parsing (attached with default label afterwards), reduction of unattached tokens not permissible
relaxed | Root dependents not attached during parsing (attached with default label afterwards), reduction of unattached tokens permissible
normal | Root dependents attached by RightArc transition during parsing (unattached tokens attached with default label afterwards)
2planar
reduceonswitch | -2pr | bool | false | save | Force reduce after switch
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
covington
allow_root | -cr | bool | true | save | Allow root
allow_shift | -cs | bool | false | save | Allow shift transition
libsvm
libsvm_options | -lso | string | -s_0_-t_1_-d_2_-g_0.2_-c_1_-r_0_-e_1.0 | save | LIBSVM options (see LIBSVM Documentation)
libsvm_external | -lsx | string |  | train | Path to svm-train
save_instance_files | -lsi | bool | false | save | If save_instance_files=true, instance files are saved in the configuration.
verbosity | -lsv | enum | silent | train | Verbosity of LIBSVM
silent | No output from LIBSVM is logged
error | Only the error stream of LIBSVM is logged
all | All output of LIBSVM is logged
liblinear
liblinear_options | -llo | string | -s_4_-c_0.1 | save | LIBLINEAR options (see liblinear Documentation)
liblinear_external | -llx | string |  | train | Path to svm-train
save_instance_files | -lli | bool | false | save | If save_instance_files=true, instance files are saved in the configuration.
verbosity | -llv | enum | silent | train | Verbosity of LibLinear
silent | No output from LibLinear is logged
error | Only the error stream of LibLinear is logged
all | All output of LibLinear 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
rank | Only ranked list
score | Scored list, if the learner produce scores
learner | -l | class | libsvm | 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
left | Attach covered roots to the left end of the covering arc
right | Attach covered roots to the right end of the covering arc
head | Attach covered roots to the head of the 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)