public class MergerProperties
extends org.corpus_tools.pepper.modules.PepperModuleProperties
| Modifier and Type | Field and Description |
|---|---|
static String |
ESCAPE_MAPPING_DEFAULT |
static String |
PROP_COPY_NODES |
static String |
PROP_ESCAPE_MAPPING |
static String |
PROP_FIRST_AS_BASE
If this property is set to 'true', the base document is always the one, which
belongs to the first SCorpusGraph (the first importer in Pepper workflow
description).
|
static String |
PROP_ONLY_MERGE_TEXTS_WITH_SAME_NAME |
static String |
PROP_PUNCTUATIONS |
static String |
PUNCTUATION_DEFAULT
Default punctuation characters
|
pepperModuleProperties, PROP_AFTER_ADD_SLAYER, PROP_AFTER_COPY_RES, PROP_AFTER_REMOVE_ANNOTATIONS, PROP_AFTER_RENAME_ANNOTATIONS, PROP_AFTER_REPORT_CORPUSGRAPH, PROP_AFTER_TOKENIZE, PROP_BEFORE_ADD_SLAYER, PROP_BEFORE_READ_META| Constructor and Description |
|---|
MergerProperties() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getEscapeMapping()
Returns a map of characters to be escaped and the corresponding replacement
String.
|
Set<Character> |
getPunctuations()
Returns all punctuation characters specified by the user.
|
Boolean |
isCopyNodes()
Determines if SSpan and SStructure nodes should be copied or merged.
|
Boolean |
isFirstAsBase()
If this property is set to 'true', the base document is always the one, which
belongs to the first SCorpusGraph (the first importer in Pepper workflow
description).
|
Boolean |
isOnlyMergeTextWithSameName() |
addProperties, addProperty, checkProperties, checkProperty, getProperties, getProperty, getPropertyDesctriptions, getPropertyNames, removePropertyValue, setPropertyValue, setPropertyValues, setPropertyValues, stringToCharList, toStringpublic static final String PROP_PUNCTUATIONS
public static final String PROP_ESCAPE_MAPPING
public static final String PROP_COPY_NODES
public static final String PROP_ONLY_MERGE_TEXTS_WITH_SAME_NAME
public static final String PROP_FIRST_AS_BASE
public static final String PUNCTUATION_DEFAULT
public static final String ESCAPE_MAPPING_DEFAULT
public Set<Character> getPunctuations()
public Map<String,String> getEscapeMapping()
PROP_ESCAPE_MAPPING,
which has the form: \"REPLACED_CHARACTER\" : \"REPLACEMENT\" (,
\"REPLACED_CHARACTER\" : \"REPLACEMENT\").public Boolean isFirstAsBase()
public Boolean isCopyNodes()
public Boolean isOnlyMergeTextWithSameName()
Copyright © 2014–2019 Humboldt-Universität zu Berlin. All rights reserved.