public final class LWSingleMalt extends java.lang.Object implements DependencyParserConfig
Modifier and Type | Field and Description |
---|---|
static java.lang.Class<?>[] |
paramTypes |
Constructor and Description |
---|
LWSingleMalt(int containerIndex,
DataFormatInstance dataFormatInstance,
McoModel _mcoModel,
PropagationManager _propagationManager,
FeatureModelManager _featureModelManager) |
Modifier and Type | Method and Description |
---|---|
java.io.OutputStreamWriter |
getAppendOutputStreamWriter(java.lang.String fileName) |
java.lang.String |
getClassitem_separator() |
java.lang.Object |
getConfigFileEntryObject(java.lang.String fileName) |
java.lang.String |
getConfigFileEntryString(java.lang.String fileName) |
java.net.URL |
getConfigFileEntryURL(java.lang.String fileName) |
DataFormatInstance |
getDataFormatInstance() |
java.lang.String |
getDataSplitColumn() |
java.lang.String |
getDataSplitStructure() |
LWDecisionModel |
getDecisionModel() |
java.lang.String |
getDecisionSettings() |
FeatureModelManager |
getFeatureModelManager() |
java.net.URL |
getFeatureModelURL() |
java.io.File |
getFile(java.lang.String fileName) |
java.io.InputStream |
getInputStreamFromConfigFileEntry(java.lang.String fileName) |
java.io.InputStreamReader |
getInputStreamReader(java.lang.String fileName) |
int |
getkBestSize() |
java.lang.Object |
getOptionValue(java.lang.String optiongroup,
java.lang.String optionname) |
java.lang.String |
getOptionValueString(java.lang.String optiongroup,
java.lang.String optionname) |
java.io.OutputStreamWriter |
getOutputStreamWriter(java.lang.String fileName) |
AbstractParserFactory |
getParserFactory() |
PropagationManager |
getPropagationManager() |
SymbolTableHandler |
getSymbolTables() |
boolean |
isExcludeNullValues() |
boolean |
isLoggerDebugEnabled() |
boolean |
isLoggerInfoEnabled() |
void |
logDebugMessage(java.lang.String message) |
void |
logErrorMessage(java.lang.String message) |
void |
logInfoMessage(char character) |
void |
logInfoMessage(java.lang.String message) |
void |
oracleParse(DependencyStructure goldGraph,
DependencyStructure oracleGraph) |
void |
parse(DependencyStructure graph) |
java.util.List<java.lang.String[]> |
parseSentences(java.util.List<java.lang.String[]> inputSentences,
java.lang.String defaultRootLabel,
int markingStrategy,
boolean coveredRoot,
SymbolTableHandler parentSymbolTableHandler,
org.maltparser.concurrent.graph.dataformat.DataFormat concurrentDataFormat) |
void |
terminate(java.lang.Object[] arguments) |
void |
writeInfoToConfigFile(java.lang.String message) |
public static final java.lang.Class<?>[] paramTypes
public LWSingleMalt(int containerIndex, DataFormatInstance dataFormatInstance, McoModel _mcoModel, PropagationManager _propagationManager, FeatureModelManager _featureModelManager) throws MaltChainedException
MaltChainedException
public FeatureModelManager getFeatureModelManager()
getFeatureModelManager
in interface DependencyParserConfig
public AbstractParserFactory getParserFactory()
getParserFactory
in interface DependencyParserConfig
public void parse(DependencyStructure graph) throws MaltChainedException
parse
in interface DependencyParserConfig
MaltChainedException
public java.util.List<java.lang.String[]> parseSentences(java.util.List<java.lang.String[]> inputSentences, java.lang.String defaultRootLabel, int markingStrategy, boolean coveredRoot, SymbolTableHandler parentSymbolTableHandler, org.maltparser.concurrent.graph.dataformat.DataFormat concurrentDataFormat) throws MaltChainedException
MaltChainedException
public void oracleParse(DependencyStructure goldGraph, DependencyStructure oracleGraph) throws MaltChainedException
oracleParse
in interface DependencyParserConfig
MaltChainedException
public void terminate(java.lang.Object[] arguments) throws MaltChainedException
MaltChainedException
public boolean isLoggerInfoEnabled()
isLoggerInfoEnabled
in interface Configuration
public boolean isLoggerDebugEnabled()
isLoggerDebugEnabled
in interface Configuration
public void logErrorMessage(java.lang.String message)
logErrorMessage
in interface Configuration
public void logInfoMessage(java.lang.String message)
logInfoMessage
in interface Configuration
public void logInfoMessage(char character)
logInfoMessage
in interface Configuration
public void logDebugMessage(java.lang.String message)
logDebugMessage
in interface Configuration
public void writeInfoToConfigFile(java.lang.String message) throws MaltChainedException
writeInfoToConfigFile
in interface Configuration
MaltChainedException
public java.io.OutputStreamWriter getOutputStreamWriter(java.lang.String fileName) throws MaltChainedException
getOutputStreamWriter
in interface Configuration
MaltChainedException
public java.io.OutputStreamWriter getAppendOutputStreamWriter(java.lang.String fileName) throws MaltChainedException
getAppendOutputStreamWriter
in interface Configuration
MaltChainedException
public java.io.InputStreamReader getInputStreamReader(java.lang.String fileName) throws MaltChainedException
getInputStreamReader
in interface Configuration
MaltChainedException
public java.io.InputStream getInputStreamFromConfigFileEntry(java.lang.String fileName) throws MaltChainedException
getInputStreamFromConfigFileEntry
in interface Configuration
MaltChainedException
public java.net.URL getConfigFileEntryURL(java.lang.String fileName) throws MaltChainedException
getConfigFileEntryURL
in interface Configuration
MaltChainedException
public java.lang.Object getConfigFileEntryObject(java.lang.String fileName) throws MaltChainedException
getConfigFileEntryObject
in interface Configuration
MaltChainedException
public java.lang.String getConfigFileEntryString(java.lang.String fileName) throws MaltChainedException
getConfigFileEntryString
in interface Configuration
MaltChainedException
public java.io.File getFile(java.lang.String fileName) throws MaltChainedException
getFile
in interface Configuration
MaltChainedException
public java.lang.Object getOptionValue(java.lang.String optiongroup, java.lang.String optionname) throws MaltChainedException
getOptionValue
in interface Configuration
MaltChainedException
public java.lang.String getOptionValueString(java.lang.String optiongroup, java.lang.String optionname) throws MaltChainedException
getOptionValueString
in interface Configuration
MaltChainedException
public SymbolTableHandler getSymbolTables()
getSymbolTables
in interface Configuration
public DataFormatInstance getDataFormatInstance()
getDataFormatInstance
in interface DependencyParserConfig
public PropagationManager getPropagationManager()
getPropagationManager
in interface DependencyParserConfig
public java.lang.String getDecisionSettings()
public int getkBestSize()
public java.lang.String getClassitem_separator()
public java.net.URL getFeatureModelURL()
public java.lang.String getDataSplitColumn()
public java.lang.String getDataSplitStructure()
public boolean isExcludeNullValues()
public LWDecisionModel getDecisionModel()
Copyright 2007-2017 Johan Hall, Jens Nilsson and Joakim Nivre.