RelpWriter
Synopsis
Writes the corpus in relp format.
Description
RelpWriter writes the corpus into outFile in relp format.
Snippet
<relpwriter class="RelpWriter">
<outFile></outFile>
</relpwriter>
Mandatory parameters
outFile
File where to write the dependencies.
Optional parameters
linkageNumberFeature
Feature containing the linkage number to which a dependency belongs.
dependencyLabelFeature
Feature containing the dependency label.
dependencyRelation
Name of the dependecy relation.
dependentForm
Expression evaluated as a string with the dependency dependent element as context. The result is the surface form of the dependent.
dependentRole
Name of the role of the dependent word.
documentFilter
Only process document that satisfy this expression.
headForm
Expression evaluated as a string with the dependency head element as context. The result is the surface form of the head.
headRole
Name of the role of the head word.
lemmaForm
Expression evaluated as a string with the word element as context. The result is the lemma of the word.
pmid
Expression evaluated as a string with the document as context. The result is the identifier of the document.
sectionFilter
Process only sections that satisfy this expression.
sentenceLayer
Name of the layer containing sentence annotations.
sentenceRole
Name of the role of the parsed sentence in the dependency relation.
wordForm
Expression evaluated as a string with the word element as context. The result is the surface form of the word.
wordLayer
Name of the layer containing word annotations.