Package | Description |
---|---|
org.maltparser.core.config |
Contains classes and an interface for handling parsing scenarios.
|
org.maltparser.core.feature |
Provides classes for handling feature models.
|
org.maltparser.core.feature.function |
Contains classes and interfaces for handling feature and address functions.
|
org.maltparser.core.feature.map |
Contains classes handling feature map functions.
|
org.maltparser.core.feature.spec |
Contains classes for storing the feature specification model.
|
org.maltparser.core.feature.spec.reader |
Contains classes for loading a feature specification.
|
org.maltparser.core.feature.system |
provides classes to handle the feature system.
|
org.maltparser.core.flow | |
org.maltparser.core.flow.item | |
org.maltparser.core.flow.spec | |
org.maltparser.core.flow.system | |
org.maltparser.core.flow.system.elem | |
org.maltparser.core.helper |
Provides classes of various kinds that not fit into another package.
|
org.maltparser.core.io.dataformat |
Contains classes for describing the data format, such as CoNLL shared task format and Malt-TAB format.
|
org.maltparser.core.lw.graph | |
org.maltparser.core.lw.helper | |
org.maltparser.core.lw.parser | |
org.maltparser.core.options |
Classes for management of all options used in the application and its plugins.
|
org.maltparser.core.options.option |
Contains classes for types of options.
|
org.maltparser.core.plugin |
Provides classes for loading and initializing plugins.
|
org.maltparser.core.pool | |
org.maltparser.core.propagation | |
org.maltparser.core.propagation.spec | |
org.maltparser.core.symbol |
Contains classes for handling different kinds of symbols (e.g., word forms, root labels and parser actions).
|
org.maltparser.core.symbol.hash | |
org.maltparser.core.symbol.nullvalue |
MaltParser has the possibility of distinguishing between different kinds of null-values when extracting the feature
vector.
|
org.maltparser.core.symbol.parse | |
org.maltparser.core.symbol.trie |
Provides classes for handling different kinds of symbols as trie data structure.
|
org.maltparser.core.syntaxgraph | |
org.maltparser.core.syntaxgraph.ds2ps | |
org.maltparser.core.syntaxgraph.edge | |
org.maltparser.core.syntaxgraph.feature | |
org.maltparser.core.syntaxgraph.headrules | |
org.maltparser.core.syntaxgraph.node | |
org.maltparser.core.syntaxgraph.reader | |
org.maltparser.core.syntaxgraph.writer | |
org.maltparser.ml |
Contains an interface and classes for creating an interface to an machine learning method.
|
org.maltparser.ml.lib | |
org.maltparser.parser |
The top package for Single Malt Parser.
|
org.maltparser.parser.algorithm.covington |
Implements the Covington deterministic parsing algorithms.
|
org.maltparser.parser.algorithm.nivre |
Implements the Nivre deterministic parsing algorithms.
|
org.maltparser.parser.algorithm.planar | |
org.maltparser.parser.algorithm.stack |
Implements the Stack parsing algorithms.
|
org.maltparser.parser.algorithm.twoplanar | |
org.maltparser.parser.guide |
Contains classes that implements the guide, which can be seen as an interface (or glue) between the parsing algorithm and the learner.
|
org.maltparser.parser.guide.decision |
Provides classes for different decision models.
|
org.maltparser.parser.guide.instance |
Provides classes for different instance models.
|
org.maltparser.parser.history |
Contains classes for managing the history feature model.
|
org.maltparser.parser.history.action |
Provides classes for different kinds of parser actions
|
org.maltparser.parser.history.container |
Contains classes for intermediate storing of the parser action
|
org.maltparser.parser.history.kbest |
Contains classes for managing the K-best list
|
org.maltparser.parser.transition |
Contains classes that all deterministic parsing algorithm use (e.g., parser action and transition).
|
org.maltparser.transform.pseudo |
Contains classes for performing pre-processing and post-processing transformations on dependency graphs.
|
Modifier and Type | Class and Description |
---|---|
class |
ConfigurationException
ConfigurationException extends the MaltChainedException class and is thrown by classes
within the configuration package.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ConfigurationDir.checkConfigDirectory() |
protected void |
ConfigurationDir.checkNConvertConfigVersion() |
void |
ConfigurationDir.copyConfigFile(java.io.File in,
java.io.File out,
Versioning versioning) |
java.lang.String |
ConfigurationDir.copyToConfig(java.io.File source)
Copies a file into the configuration directory.
|
java.lang.String |
ConfigurationDir.copyToConfig(java.lang.String fileUrl) |
java.lang.String |
ConfigurationDir.copyToConfig(java.net.URL url) |
void |
ConfigurationDir.createConfigDirectory()
Creates the configuration directory
|
void |
ConfigurationDir.createConfigFile()
Creates the malt configuration file (.mco).
|
protected void |
ConfigurationDir.createInfoFile() |
void |
ConfigurationDir.deleteConfigDirectory()
Removes the configuration directory, if it exists and it contains a .info file.
|
void |
ConfigurationDir.echoInfoFile()
Prints the content of the configuration information file to the system logger
|
java.io.OutputStreamWriter |
ConfigurationDir.getAppendOutputStreamWriter(java.lang.String fileName)
This method acts the same as getOutputStreamWriter with the difference that the writer append in the file
if it already exists instead of deleting the previous content before starting to write.
|
java.io.OutputStreamWriter |
Configuration.getAppendOutputStreamWriter(java.lang.String fileName) |
java.util.jar.JarEntry |
ConfigurationDir.getConfigFileEntry(java.lang.String fileName) |
java.lang.Object |
Configuration.getConfigFileEntryObject(java.lang.String fileName) |
java.lang.String |
Configuration.getConfigFileEntryString(java.lang.String fileName) |
java.net.URL |
ConfigurationDir.getConfigFileEntryURL(java.lang.String fileName) |
java.net.URL |
Configuration.getConfigFileEntryURL(java.lang.String fileName) |
java.util.jar.JarFile |
ConfigurationDir.getConfigJarfile() |
java.io.File |
ConfigurationDir.getFile(java.lang.String fileName)
Returns a file handler object of a file within the configuration directory
|
java.io.File |
Configuration.getFile(java.lang.String fileName) |
java.io.BufferedWriter |
ConfigurationDir.getInfoFileWriter()
Returns a writer to the configuration information file
|
java.io.InputStream |
ConfigurationDir.getInputStreamFromConfigFileEntry(java.lang.String fileName) |
java.io.InputStream |
Configuration.getInputStreamFromConfigFileEntry(java.lang.String fileName) |
java.io.InputStreamReader |
ConfigurationDir.getInputStreamReader(java.lang.String fileName)
Creates an input stream reader for reading a file within the configuration directory.
|
java.io.InputStreamReader |
Configuration.getInputStreamReader(java.lang.String fileName) |
java.io.InputStreamReader |
ConfigurationDir.getInputStreamReader(java.lang.String fileName,
java.lang.String charSet)
Creates an input stream reader for reading a file within the configuration directory
|
java.io.InputStreamReader |
ConfigurationDir.getInputStreamReaderFromConfigFile(java.lang.String fileName) |
java.io.InputStreamReader |
ConfigurationDir.getInputStreamReaderFromConfigFileEntry(java.lang.String fileName,
java.lang.String charSet) |
java.lang.Object |
Configuration.getOptionValue(java.lang.String optiongroup,
java.lang.String optionname) |
java.lang.String |
Configuration.getOptionValueString(java.lang.String optiongroup,
java.lang.String optionname) |
java.io.OutputStreamWriter |
ConfigurationDir.getOutputStreamWriter(java.lang.String fileName)
Creates an output stream writer, where the corresponding file will be included in the
configuration directory.
|
java.io.OutputStreamWriter |
Configuration.getOutputStreamWriter(java.lang.String fileName) |
java.io.OutputStreamWriter |
ConfigurationDir.getOutputStreamWriter(java.lang.String fileName,
java.lang.String charSet)
Creates an output stream writer, where the corresponding file will be included in the configuration directory
|
void |
ConfigurationDir.initCreatedByMaltParserVersionFromInfoFile() |
void |
ConfigurationDir.initDataFormat() |
void |
ConfigDirChartItem.initialize(FlowChartInstance flowChartinstance,
ChartItemSpecification chartItemSpecification) |
protected void |
ConfigurationDir.initNameNTypeFromInfoFile(java.net.URL url) |
void |
ConfigurationDir.initWorkingDirectory()
Initialize the working directory
|
void |
ConfigurationDir.initWorkingDirectory(java.lang.String pathPrefixString)
Initialize the working directory according to the path.
|
int |
ConfigDirChartItem.postprocess(int signal) |
int |
ConfigDirChartItem.preprocess(int signal) |
int |
ConfigDirChartItem.process(int signal) |
void |
ConfigurationDir.terminate()
Terminates the configuration directory
|
void |
ConfigDirChartItem.terminate() |
void |
ConfigurationDir.unpackConfigFile()
Unpacks the malt configuration file (.mco).
|
protected void |
ConfigurationDir.unpackConfigFile(java.util.jar.JarInputStream jis) |
void |
ConfigurationDir.versioning() |
void |
Configuration.writeInfoToConfigFile(java.lang.String message) |
Constructor and Description |
---|
ConfigurationDir(java.lang.String name,
java.lang.String type,
int containerIndex)
Creates a new configuration directory or a configuration directory from a mco-file
|
ConfigurationDir(java.net.URL url)
Creates a configuration directory from a mco-file specified by an URL.
|
Modifier and Type | Class and Description |
---|---|
class |
FeatureException
FeatureException extends the MaltChainedException class and is thrown by classes
within the feature package.
|
Modifier and Type | Method and Description |
---|---|
FeatureModel |
FeatureModelManager.getFeatureModel(SpecificationModel specModel,
FeatureRegistry registry,
java.lang.String dataSplitColumn,
java.lang.String dataSplitStructure) |
FeatureModel |
FeatureModelManager.getFeatureModel(java.net.URL specModelURL,
FeatureRegistry registry,
java.lang.String dataSplitColumn,
java.lang.String dataSplitStructure) |
FeatureModel |
FeatureModelManager.getFeatureModel(java.net.URL specModelURL,
int specModelUrlIndex,
FeatureRegistry registry,
java.lang.String dataSplitColumn,
java.lang.String dataSplitStructure) |
FeatureFunction |
FeatureModel.identifyFeature(java.lang.String spec) |
protected void |
FeatureModel.identifyFeatureFunction(java.util.Stack<java.lang.Object> objects) |
protected void |
FeatureModel.initializeFunction(Function function,
java.util.Stack<java.lang.Object> objects) |
void |
FeatureModelManager.loadParSpecification(java.net.URL specModelURL,
java.lang.String markingStrategy,
java.lang.String coveredRoot) |
void |
FeatureModelManager.loadSpecification(java.net.URL specModelURL) |
Function |
AbstractFeatureFactory.makeFunction(java.lang.String subFunctionName,
FeatureRegistry registry) |
void |
FeatureModel.update() |
void |
FeatureModel.update(java.lang.Object[] arguments) |
Constructor and Description |
---|
FeatureModel(SpecificationModel _specModel,
FeatureRegistry _registry,
FeatureEngine _engine,
java.lang.String dataSplitColumn,
java.lang.String dataSplitStructure) |
FeatureModelManager(FeatureEngine engine) |
FeatureVector(FeatureModel _featureModel,
SpecificationSubModel _specSubModel)
Constructs a feature vector
|
Modifier and Type | Method and Description |
---|---|
int |
FeatureFunction.getCode(java.lang.String symbol)
Returns the integer representation of the string
symbol according to the feature function. |
java.lang.String |
FeatureFunction.getSymbol(int code)
Returns the string representation of the integer
code according to the feature function. |
void |
Function.initialize(java.lang.Object[] arguments)
Initialize the feature function
|
void |
Modifiable.setFeatureValue(int code)
Override the feature value of the feature function.
|
void |
Modifiable.setFeatureValue(java.lang.String symbol)
Override the feature value of the feature function.
|
void |
Function.update()
Cause the feature function to update the feature value.
|
abstract void |
AddressFunction.update(java.lang.Object[] arguments) |
Modifier and Type | Method and Description |
---|---|
int |
SplitFeature.getCode(java.lang.String symbol) |
int |
MergeFeature.getCode(java.lang.String symbol) |
int |
PrefixFeature.getCode(java.lang.String symbol) |
int |
Merge3Feature.getCode(java.lang.String symbol) |
int |
SuffixFeature.getCode(java.lang.String symbol) |
java.lang.String |
SplitFeature.getSymbol(int code) |
java.lang.String |
MergeFeature.getSymbol(int code) |
java.lang.String |
PrefixFeature.getSymbol(int code) |
java.lang.String |
Merge3Feature.getSymbol(int code) |
java.lang.String |
SuffixFeature.getSymbol(int code) |
void |
SplitFeature.initialize(java.lang.Object[] arguments) |
void |
MergeFeature.initialize(java.lang.Object[] arguments) |
void |
PrefixFeature.initialize(java.lang.Object[] arguments) |
void |
Merge3Feature.initialize(java.lang.Object[] arguments) |
void |
SuffixFeature.initialize(java.lang.Object[] arguments) |
void |
SplitFeature.update() |
void |
MergeFeature.update() |
void |
PrefixFeature.update() |
void |
Merge3Feature.update() |
void |
SuffixFeature.update() |
Constructor and Description |
---|
Merge3Feature(SymbolTableHandler tableHandler) |
MergeFeature(SymbolTableHandler tableHandler) |
PrefixFeature(DataFormatInstance dataFormatInstance,
SymbolTableHandler tableHandler) |
SplitFeature(DataFormatInstance dataFormatInstance,
SymbolTableHandler tableHandler) |
SuffixFeature(DataFormatInstance dataFormatInstance,
SymbolTableHandler tableHandler) |
Modifier and Type | Method and Description |
---|---|
void |
SpecificationModels.add(int index,
java.lang.String featureSpec) |
void |
SpecificationModels.add(int index,
java.lang.String subModelName,
java.lang.String featureSpec) |
void |
SpecificationModel.add(java.lang.String featureSpec) |
void |
SpecificationModels.add(java.lang.String specModelName,
java.lang.String featureSpec) |
void |
SpecificationModel.add(java.lang.String subModelName,
java.lang.String featureSpec) |
void |
SpecificationModels.add(java.lang.String specModelName,
java.lang.String subModelName,
java.lang.String featureSpec) |
void |
SpecificationModels.load(java.net.URL specModelURL) |
void |
SpecificationModels.loadParReader(java.net.URL specModelURL,
java.lang.String markingStrategy,
java.lang.String coveredRoot) |
Constructor and Description |
---|
SpecificationModel() |
SpecificationModel(java.lang.String _specModelName) |
SpecificationModels() |
Modifier and Type | Method and Description |
---|---|
void |
XmlReader.load(java.net.URL specModelURL,
SpecificationModels featureSpecModels) |
void |
FeatureSpecReader.load(java.net.URL specModelURL,
SpecificationModels featureSpecModels) |
void |
ParReader.load(java.net.URL specModelURL,
SpecificationModels featureSpecModels) |
Constructor and Description |
---|
ParReader() |
Modifier and Type | Method and Description |
---|---|
void |
FeatureEngine.load(PluginLoader plugins) |
void |
FeatureEngine.load(java.lang.String urlstring) |
void |
FeatureEngine.load(java.net.URL specModelURL) |
Function |
FunctionDescription.newFunction(FeatureRegistry registry) |
Function |
FeatureEngine.newFunction(java.lang.String functionName,
FeatureRegistry registry) |
void |
FeatureEngine.readFeatureSystem(org.w3c.dom.Element system) |
void |
FeatureEngine.readFunction(org.w3c.dom.Element function) |
void |
FeatureEngine.readSubFunction(org.w3c.dom.Element subfunction,
java.lang.Class<?> clazz,
boolean hasFactory) |
Modifier and Type | Class and Description |
---|---|
class |
FlowException
FlowException extends the MaltChainedException class and is thrown by classes
within the flow package.
|
Modifier and Type | Method and Description |
---|---|
protected ChartItem |
FlowChartInstance.initChartItem(ChartItemSpecification chartItemSpecification) |
FlowChartInstance |
FlowChartManager.initialize(int optionContainerIndex,
java.lang.String flowChartName) |
void |
FlowChartManager.load(PluginLoader plugins) |
void |
FlowChartManager.load(java.lang.String urlstring) |
void |
FlowChartManager.load(java.net.URL url) |
int |
FlowChartInstance.postprocess() |
int |
FlowChartInstance.preprocess() |
int |
FlowChartInstance.process() |
void |
FlowChartInstance.terminate() |
Constructor and Description |
---|
FlowChartInstance(int optionContainerIndex,
ChartSpecification chartSpecification,
FlowChartManager flowChartManager) |
Modifier and Type | Method and Description |
---|---|
void |
ChartItem.initialize(FlowChartInstance flowChartinstance,
ChartItemSpecification chartItemSpecification)
Initialize the chart item
|
abstract int |
ChartItem.postprocess(int signal)
Cause the chart item to perform the postprocess tasks
|
abstract int |
ChartItem.preprocess(int signal)
Cause the chart item to perform the preprocess tasks
|
abstract int |
ChartItem.process(int signal)
Cause the chart item to perform the process task (for every sentence)
|
abstract void |
ChartItem.terminate()
Terminates and cleans up the chart item
|
Modifier and Type | Method and Description |
---|---|
void |
ChartSpecification.read(org.w3c.dom.Element chartElem,
FlowChartManager flowCharts) |
void |
ChartItemSpecification.read(org.w3c.dom.Element chartItemSpec,
FlowChartManager flowCharts) |
Modifier and Type | Method and Description |
---|---|
void |
FlowChartSystem.load(PluginLoader plugins) |
void |
FlowChartSystem.load(java.lang.String urlstring) |
void |
FlowChartSystem.load(java.net.URL specModelURL) |
void |
FlowChartSystem.readChartElements(org.w3c.dom.Element root) |
Modifier and Type | Method and Description |
---|---|
void |
ChartElement.read(org.w3c.dom.Element chartElem,
FlowChartSystem flowChartSystem) |
void |
ChartAttribute.read(org.w3c.dom.Element attrElem,
FlowChartSystem flowChartSystem) |
Modifier and Type | Method and Description |
---|---|
static void |
Util.copyfile(java.lang.String source,
java.lang.String destination) |
java.net.URL |
URLFinder.findURL(java.lang.String fileString)
Search for a file according the following priority:
The local file system
Specified as an URL (starting with http:, file:, ftp: or jar:
MaltParser distribution file (malt.jar)
MaltParser plugins
If the file string is found, an URL object is returned, otherwise null
|
java.net.URL |
URLFinder.findURLinJars(java.lang.String fileString) |
static void |
Malt04.loadAllMalt04Tagset(OptionManager om,
int containerIndex,
SymbolTableHandler symbolTableHandler,
org.apache.log4j.Logger logger) |
static void |
Malt04.loadMalt04Cposset(java.lang.String fileName,
java.lang.String charSet,
java.lang.String nullValueStrategy,
SymbolTableHandler symbolTableHandler,
org.apache.log4j.Logger logger) |
static void |
Malt04.loadMalt04Depset(java.lang.String fileName,
java.lang.String charSet,
java.lang.String nullValueStrategy,
SymbolTableHandler symbolTableHandler,
org.apache.log4j.Logger logger) |
static void |
Malt04.loadMalt04Posset(java.lang.String fileName,
java.lang.String charSet,
java.lang.String nullValueStrategy,
SymbolTableHandler symbolTableHandler,
org.apache.log4j.Logger logger) |
Modifier and Type | Class and Description |
---|---|
class |
DataFormatException
DataFormatException extends the MaltChainedException class and is thrown by classes
within the dataformat package.
|
Modifier and Type | Method and Description |
---|---|
ColumnDescription |
DataFormatInstance.addInternalColumnDescription(SymbolTableHandler symbolTables,
java.lang.String name,
ColumnDescription column) |
ColumnDescription |
DataFormatInstance.addInternalColumnDescription(SymbolTableHandler symbolTables,
java.lang.String name,
int category,
int type,
java.lang.String defaultOutput,
java.lang.String nullValueStrategy) |
ColumnDescription |
DataFormatInstance.addInternalColumnDescription(SymbolTableHandler symbolTables,
java.lang.String name,
java.lang.String category,
java.lang.String type,
java.lang.String defaultOutput,
java.lang.String nullValueStrategy) |
DataFormatInstance |
DataFormatSpecification.createDataFormatInstance(SymbolTableHandler symbolTables,
java.lang.String nullValueStrategy) |
protected void |
DataFormatInstance.createDependencyEdgeLabelSymbolTables(SymbolTableHandler symbolTables) |
protected void |
DataFormatInstance.createInputSymbolTables(SymbolTableHandler symbolTables) |
protected void |
DataFormatInstance.createPhraseStructureEdgeLabelSymbolTables(SymbolTableHandler symbolTables) |
protected void |
DataFormatInstance.createPhraseStructureNodeLabelSymbolTables(SymbolTableHandler symbolTables) |
protected void |
DataFormatInstance.createSecondaryEdgeLabelSymbolTables(SymbolTableHandler symbolTables) |
java.util.SortedMap<java.lang.String,SymbolTable> |
DataFormatInstance.getDependencyEdgeLabelSymbolTables(SymbolTableHandler symbolTables) |
java.util.SortedMap<java.lang.String,SymbolTable> |
DataFormatInstance.getInputSymbolTables(SymbolTableHandler symbolTables) |
java.util.SortedMap<java.lang.String,SymbolTable> |
DataFormatInstance.getPhraseStructureEdgeLabelSymbolTables(SymbolTableHandler symbolTables) |
java.util.SortedMap<java.lang.String,SymbolTable> |
DataFormatInstance.getPhraseStructureNodeLabelSymbolTables(SymbolTableHandler symbolTables) |
java.util.SortedMap<java.lang.String,SymbolTable> |
DataFormatInstance.getSecondaryEdgeLabelSymbolTables(SymbolTableHandler symbolTables) |
DataFormatSpecification |
DataFormatManager.loadDataFormat(java.net.URL dataFormatUrl) |
void |
DataFormatSpecification.parseDataFormatXMLfile(java.lang.String fileName) |
void |
DataFormatSpecification.parseDataFormatXMLfile(java.net.URL url) |
Constructor and Description |
---|
ColumnDescription(java.lang.String name,
int category,
int type,
java.lang.String defaultOutput,
java.lang.String nullValueStrategy,
boolean internal) |
DataFormatInstance(java.util.Map<java.lang.String,DataFormatEntry> entries,
SymbolTableHandler symbolTables,
java.lang.String nullValueStrategy,
DataFormatSpecification dataFormarSpec) |
DataFormatManager(java.net.URL inputFormatUrl,
java.net.URL outputFormatUrl) |
Modifier and Type | Class and Description |
---|---|
class |
LWGraphException
LWGraphException extends the MaltChainedException class and is thrown by classes
within the graph package.
|
Modifier and Type | Method and Description |
---|---|
void |
LWNode.addColumnLabels(java.lang.String[] columnLabels) |
void |
LWNode.addColumnLabels(java.lang.String[] columnLabels,
boolean addEdges) |
Edge |
LWDependencyGraph.addDependencyEdge(int headIndex,
int dependentIndex) |
DependencyNode |
LWDependencyGraph.addDependencyNode() |
DependencyNode |
LWDependencyGraph.addDependencyNode(int index) |
void |
LWNode.addHeadEdgeLabel(LabelSet labelSet) |
void |
LWNode.addHeadEdgeLabel(SymbolTable table,
int code) |
void |
LWNode.addHeadEdgeLabel(SymbolTable table,
java.lang.String symbol) |
void |
LWNode.addIncomingEdge(Edge in) |
void |
LWDependencyGraph.addLabel(Element element,
java.lang.String labelFunction,
java.lang.String label) |
void |
LWNode.addLabel(LabelSet labels)
Adds the labels of the label set to the label set of the graph element.
|
void |
LWEdge.addLabel(LabelSet labelSet)
Adds the labels of the label set to the label set of the graph element.
|
void |
LWNode.addLabel(SymbolTable table,
int code)
Adds a label (an integer value) to the symbol table and to the graph element.
|
void |
LWEdge.addLabel(SymbolTable table,
int code)
Adds a label (an integer value) to the symbol table and to the graph element.
|
void |
LWNode.addLabel(SymbolTable table,
java.lang.String symbol)
Adds a label (a string value) to the symbol table and to the graph element.
|
void |
LWEdge.addLabel(SymbolTable table,
java.lang.String symbol)
Adds a label (a string value) to the symbol table and to the graph element.
|
void |
LWNode.addOutgoingEdge(Edge out) |
Edge |
LWDependencyGraph.addSecondaryEdge(ComparableNode source,
ComparableNode target) |
TokenNode |
LWDependencyGraph.addTokenNode() |
TokenNode |
LWDependencyGraph.addTokenNode(int index) |
void |
LWDependencyGraph.checkInLabelSet(LabelSet labelSet) |
LabelSet |
LWDependencyGraph.checkOutNewLabelSet() |
void |
LWNode.clear()
Resets the graph element.
|
void |
LWDependencyGraph.clear() |
void |
LWEdge.clear()
Resets the graph element.
|
void |
LWDeprojectivizer.deprojectivize(DependencyStructure pdg,
int markingStrategy) |
DependencyNode |
LWNode.getAncestor() |
int |
LWDependencyGraph.getDefaultRootEdgeLabelCode(SymbolTable table) |
LabelSet |
LWDependencyGraph.getDefaultRootEdgeLabels() |
java.lang.String |
LWDependencyGraph.getDefaultRootEdgeLabelSymbol(SymbolTable table) |
DependencyNode |
LWDependencyGraph.getDependencyNode(int index) |
int |
LWNode.getDependencyNodeDepth() |
int |
LWNode.getHeadEdgeLabelCode(SymbolTable table) |
LabelSet |
LWNode.getHeadEdgeLabelSet() |
java.lang.String |
LWNode.getHeadEdgeLabelSymbol(SymbolTable table) |
java.util.Set<SymbolTable> |
LWNode.getHeadEdgeLabelTypes() |
java.util.SortedSet<Edge> |
LWNode.getIncomingSecondaryEdges() |
int |
LWNode.getLabelCode(SymbolTable table)
Returns the label code (an integer representation) of the symbol table if it exists, otherwise
an exception is thrown.
|
int |
LWEdge.getLabelCode(SymbolTable table)
Returns the label code (an integer representation) of the symbol table if it exists, otherwise
an exception is thrown.
|
java.lang.String |
LWNode.getLabelSymbol(SymbolTable table)
Returns the label symbol(a string representation) of the symbol table if it exists, otherwise
an exception is thrown.
|
java.lang.String |
LWEdge.getLabelSymbol(SymbolTable table)
Returns the label symbol(a string representation) of the symbol table if it exists, otherwise
an exception is thrown.
|
ComparableNode |
LWNode.getLeftmostDescendant() |
int |
LWNode.getLeftmostDescendantIndex() |
ComparableNode |
LWNode.getLeftmostProperDescendant() |
int |
LWNode.getLeftmostProperDescendantIndex() |
static DependencyStructure |
LWTest.getOldDependencyGraph(org.maltparser.concurrent.graph.dataformat.DataFormat dataFormat,
SymbolTableHandler symbolTableHandlers,
java.lang.String[] tokens) |
java.util.SortedSet<Edge> |
LWNode.getOutgoingSecondaryEdges() |
DependencyNode |
LWNode.getProperAncestor() |
ComparableNode |
LWNode.getRightmostDescendant() |
int |
LWNode.getRightmostDescendantIndex() |
ComparableNode |
LWNode.getRightmostProperDescendant() |
int |
LWNode.getRightmostProperDescendantIndex() |
boolean |
LWNode.hasAncestorInside(int left,
int right) |
boolean |
LWNode.hasHeadEdgeLabel(SymbolTable table) |
boolean |
LWNode.hasLabel(SymbolTable table)
Returns true if the graph element has a label for the symbol table, otherwise false.
|
boolean |
LWEdge.hasLabel(SymbolTable table)
Returns true if the graph element has a label for the symbol table, otherwise false.
|
boolean |
LWNode.isProjective() |
boolean |
LWDependencyGraph.isProjective() |
void |
LWDependencyGraph.linkAllTreesToRoot() |
Edge |
LWDependencyGraph.moveDependencyEdge(int newHeadIndex,
int dependentIndex) |
int |
LWDependencyGraph.nNonProjectiveEdges() |
void |
LWDependencyGraph.removeDependencyEdge(int headIndex,
int dependentIndex) |
void |
LWNode.removeIncomingEdge(Edge in) |
void |
LWNode.removeLabel(SymbolTable table) |
void |
LWEdge.removeLabel(SymbolTable table) |
void |
LWNode.removeLabels() |
void |
LWEdge.removeLabels() |
void |
LWNode.removeOutgoingEdge(Edge out) |
void |
LWDependencyGraph.removeSecondaryEdge(ComparableNode source,
ComparableNode target) |
void |
LWDependencyGraph.resetTokens(java.lang.String[] inputTokens,
java.lang.String defaultRootLabel,
boolean addEdges) |
void |
LWDependencyGraph.setDefaultRootEdgeLabel(SymbolTable table,
java.lang.String defaultRootSymbol) |
void |
LWDependencyGraph.setDefaultRootEdgeLabels(java.lang.String rootLabelOption,
java.util.SortedMap<java.lang.String,SymbolTable> edgeSymbolTables) |
void |
LWEdge.setEdge(Node source,
Node target,
int type) |
void |
LWNode.setIndex(int index) |
Constructor and Description |
---|
LWDependencyGraph(org.maltparser.concurrent.graph.dataformat.DataFormat _dataFormat,
SymbolTableHandler _symbolTables) |
LWDependencyGraph(org.maltparser.concurrent.graph.dataformat.DataFormat _dataFormat,
SymbolTableHandler _symbolTables,
java.lang.String[] inputTokens,
java.lang.String defaultRootLabel) |
LWDependencyGraph(org.maltparser.concurrent.graph.dataformat.DataFormat _dataFormat,
SymbolTableHandler _symbolTables,
java.lang.String[] inputTokens,
java.lang.String defaultRootLabel,
boolean addEdges) |
LWEdge(Node _source,
Node _target) |
LWEdge(Node _source,
Node _target,
java.util.SortedMap<org.maltparser.concurrent.graph.dataformat.ColumnDescription,java.lang.String> _labels) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String[] |
Utils.toStringArray(DependencyGraph graph,
DataFormatInstance dataFormatInstance,
SymbolTableHandler symbolTables) |
Modifier and Type | Method and Description |
---|---|
void |
LWDeterministicParser.clear() |
java.io.OutputStreamWriter |
LWSingleMalt.getAppendOutputStreamWriter(java.lang.String fileName) |
java.lang.Object |
LWSingleMalt.getConfigFileEntryObject(java.lang.String fileName) |
java.lang.String |
LWSingleMalt.getConfigFileEntryString(java.lang.String fileName) |
java.net.URL |
LWSingleMalt.getConfigFileEntryURL(java.lang.String fileName) |
GuideUserAction |
LWDeterministicParser.getEmptyGuideUserAction() |
java.io.File |
LWSingleMalt.getFile(java.lang.String fileName) |
java.io.InputStream |
LWSingleMalt.getInputStreamFromConfigFileEntry(java.lang.String fileName) |
java.io.InputStreamReader |
LWSingleMalt.getInputStreamReader(java.lang.String fileName) |
java.lang.Object |
LWSingleMalt.getOptionValue(java.lang.String optiongroup,
java.lang.String optionname) |
java.lang.String |
LWSingleMalt.getOptionValueString(java.lang.String optiongroup,
java.lang.String optionname) |
java.io.OutputStreamWriter |
LWSingleMalt.getOutputStreamWriter(java.lang.String fileName) |
void |
LWSingleMalt.oracleParse(DependencyStructure goldGraph,
DependencyStructure oracleGraph) |
void |
LWSingleMalt.parse(DependencyStructure graph) |
DependencyStructure |
LWDeterministicParser.parse(DependencyStructure parseDependencyGraph) |
java.util.List<java.lang.String[]> |
LWSingleMalt.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) |
boolean |
LWDecisionModel.predict(FeatureModel featureModel,
ComplexDecisionAction decision,
boolean one_prediction) |
boolean |
LWClassifier.predict(FeatureVector featureVector,
SingleDecision decision,
boolean one_prediction) |
boolean |
LWDecisionModel.predictFromKBestList(FeatureModel featureModel,
ComplexDecisionAction decision) |
void |
LWSingleMalt.terminate(java.lang.Object[] arguments) |
void |
LWSingleMalt.writeInfoToConfigFile(java.lang.String message) |
Constructor and Description |
---|
LWDeterministicParser(LWSingleMalt lwSingleMalt,
SymbolTableHandler symbolTableHandler) |
LWDeterministicParser(LWSingleMalt lwSingleMalt,
SymbolTableHandler symbolTableHandler,
FeatureModel _featureModel) |
LWSingleMalt(int containerIndex,
DataFormatInstance dataFormatInstance,
McoModel _mcoModel,
PropagationManager _propagationManager,
FeatureModelManager _featureModelManager) |
Modifier and Type | Class and Description |
---|---|
class |
OptionException
OptionException extends the MaltChainedException class and is thrown by classes
within the options package.
|
Modifier and Type | Method and Description |
---|---|
void |
OptionManager.addLegalValue(java.lang.String optiongroup,
java.lang.String optionname,
java.lang.String value,
java.lang.String desc,
java.lang.String target) |
void |
OptionManager.generateMaps()
Creates several option maps for fast access to individual options.
|
void |
OptionDescriptions.generateMaps()
Creates several option maps for fast access to individual options.
|
Option |
OptionDescriptions.getOption(java.lang.String optionflag)
Returns an option based on the option flag
|
Option |
OptionDescriptions.getOption(java.lang.String optiongroup,
java.lang.String optionname)
Returns an option based on the option name and/or the option group name
|
java.lang.Object |
OptionManager.getOptionDefaultValue(java.lang.String optiongroup,
java.lang.String optionname) |
java.lang.Object |
OptionManager.getOptionValue(int containerIndex,
java.lang.String optiongroup,
java.lang.String optionname)
Returns the option value for an option that is specified by the option group name and option name.
|
java.lang.Object |
OptionManager.getOptionValueNoDefault(int containerIndex,
java.lang.String optiongroup,
java.lang.String optionname) |
java.lang.String |
OptionManager.getOptionValueString(int containerIndex,
java.lang.String optiongroup,
java.lang.String optionname)
Returns a string representation of the option value for an option that is specified by the option group name and the option name.
|
java.lang.String |
OptionManager.getOptionValueStringNoDefault(int containerIndex,
java.lang.String optiongroup,
java.lang.String optionname) |
void |
OptionManager.loadOptionDescriptionFile()
Loads the option description file
/appdata/options.xml |
void |
OptionManager.loadOptionDescriptionFile(java.net.URL url)
Loads the option description file
|
void |
OptionManager.loadOptions(int containerIndex,
java.io.InputStreamReader isr)
Loads the saved options (options that are marked with
usage=Option.SAVE ). |
void |
OptionManager.loadOptions(int containerIndex,
java.lang.String fileName)
Loads the saved options (options that are marked with
usage=save ). |
void |
OptionManager.overloadOptionValue(int containerIndex,
int containerType,
java.lang.String optiongroup,
java.lang.String optionname,
java.lang.String value) |
void |
OptionManager.overloadOptionValue(int containerIndex,
java.lang.String optiongroup,
java.lang.String optionname,
java.lang.String value)
Overloads the option value specified by the container index, the option group name, the option name.
|
boolean |
OptionManager.parseCommandLine(java.lang.String[] args,
int containerIndex)
Parses the command line arguments.
|
boolean |
OptionManager.parseCommandLine(java.lang.String argString,
int containerIndex) |
void |
OptionDescriptions.parseOptionDescriptionXMLfile(java.net.URL url)
Parse a XML file that contains the options used for controlling the application.
|
void |
OptionManager.parseOptionInstanceXMLfile(java.lang.String fileName)
Parses the option file for option values.
|
void |
OptionManager.saveOptions(int containerIndex,
java.io.OutputStreamWriter osw)
Saves all options that are marked as usage=Option.SAVE for a particular option container.
|
void |
OptionManager.saveOptions(int containerIndex,
java.lang.String fileName)
Saves all options that are marked as usage=Option.SAVE for a particular option container.
|
void |
OptionManager.saveOptions(java.io.OutputStreamWriter osw)
Saves all options that are marked as
usage=Option.SAVE |
void |
OptionManager.saveOptions(java.lang.String fileName)
Saves all options that are marked as
usage=Option.SAVE |
java.lang.String |
OptionManager.toStringPrettyValues(int containerIndex,
java.util.Set<java.lang.String> excludeGroups)
Returns a string representation of all option value, except the options in a option group specified
by the excludeGroup argument.
|
Modifier and Type | Method and Description |
---|---|
void |
EnumOption.addLegalValue(java.lang.String value)
Adds a legal value without a description
|
void |
EnumOption.addLegalValue(java.lang.String value,
java.lang.String desc)
Adds a legal value
|
void |
StringEnumOption.addLegalValue(java.lang.String value,
java.lang.String desc,
java.lang.String mapto)
Adds a legal value that corresponds to another string
|
void |
ClassOption.addLegalValue(java.lang.String value,
java.lang.String desc,
java.lang.String classname)
Adds a legal value that corresponds to a class
|
java.lang.Object |
BoolOption.getDefaultValueObject() |
java.lang.Object |
StringOption.getDefaultValueObject() |
abstract java.lang.Object |
Option.getDefaultValueObject()
Returns the object for the default value for option.
|
java.lang.Object |
EnumOption.getDefaultValueObject() |
java.lang.Object |
UnaryOption.getDefaultValueObject() |
java.lang.Object |
StringEnumOption.getDefaultValueObject() |
java.lang.Object |
IntegerOption.getDefaultValueObject() |
java.lang.String |
StringEnumOption.getLegalValueMapToString(java.lang.String value)
Returns the mapped legal value
|
java.lang.String |
ClassOption.getLegalValueString(java.lang.Class<?> clazz)
Returns a string representation of particular class
|
java.lang.String |
StringEnumOption.getLegalValueString(java.lang.String value)
Returns the legal value identifier name (an enumerate string value)
|
java.lang.Object |
BoolOption.getValueObject(java.lang.String value) |
java.lang.Object |
StringOption.getValueObject(java.lang.String value) |
abstract java.lang.Object |
Option.getValueObject(java.lang.String value)
Returns the corresponding object for the option value (specified as a string value).
|
java.lang.Object |
EnumOption.getValueObject(java.lang.String value) |
java.lang.Object |
UnaryOption.getValueObject(java.lang.String value) |
java.lang.Object |
StringEnumOption.getValueObject(java.lang.String value) |
java.lang.Object |
ClassOption.getValueObject(java.lang.String value) |
java.lang.Object |
IntegerOption.getValueObject(java.lang.String value) |
void |
BoolOption.setDefaultValue(java.lang.String defaultValue) |
abstract void |
Option.setDefaultValue(java.lang.String defaultValue)
Sets the default value for the option.
|
void |
EnumOption.setDefaultValue(java.lang.String defaultValue) |
void |
UnaryOption.setDefaultValue(java.lang.String defaultValue) |
void |
StringEnumOption.setDefaultValue(java.lang.String defaultValue) |
void |
ClassOption.setDefaultValue(java.lang.String defaultValue) |
void |
IntegerOption.setDefaultValue(java.lang.String defaultValue) |
void |
Option.setFlag(java.lang.String flag)
Sets a character that is used as a flag for the command line input
|
void |
Option.setUsage(int usage)
Sets the usage of the option.
|
void |
Option.setUsage(java.lang.String usage)
Sets the usage of the option.
|
Constructor and Description |
---|
BoolOption(OptionGroup group,
java.lang.String name,
java.lang.String shortDescription,
java.lang.String flag,
java.lang.String usage,
java.lang.String defaultValue)
Creates a boolean option description
|
ClassOption(OptionGroup group,
java.lang.String name,
java.lang.String shortDescription,
java.lang.String flag,
java.lang.String usage)
Creates a class type option description
|
EnumOption(OptionGroup group,
java.lang.String name,
java.lang.String shortDescription,
java.lang.String flag,
java.lang.String usage)
Creates an enumerate option description
|
IntegerOption(OptionGroup group,
java.lang.String name,
java.lang.String shortDescription,
java.lang.String flag,
java.lang.String usage,
java.lang.String defaultValue)
Creates an integer option description
|
Option(OptionGroup group,
java.lang.String name,
java.lang.String shortDescription,
java.lang.String flag,
java.lang.String usage)
Creates an option description
|
StringEnumOption(OptionGroup group,
java.lang.String name,
java.lang.String shortDescription,
java.lang.String flag,
java.lang.String usage)
Creates a stringenum type option description
|
StringOption(OptionGroup group,
java.lang.String name,
java.lang.String shortDescription,
java.lang.String flag,
java.lang.String usage,
java.lang.String defaultValue)
Creates a string option description
|
UnaryOption(OptionGroup group,
java.lang.String name,
java.lang.String shortDescription,
java.lang.String flag,
java.lang.String usage)
Creates an unary option description
|
Modifier and Type | Class and Description |
---|---|
class |
PluginException
PluginException extends the MaltChainedException class and is thrown by classes
within the plugin package.
|
Modifier and Type | Method and Description |
---|---|
void |
PluginLoader.loadPlugins(java.io.File pluginDirectory)
Loads plug-ins from one directory
|
void |
PluginLoader.loadPlugins(java.io.File[] pluginDirectories)
Loads plug-ins from one or more directories
|
java.lang.Object |
PluginLoader.newInstance(java.lang.String classname,
java.lang.Class<?>[] argTypes,
java.lang.Object[] args)
Creates a new instance of a class within one of the plug-ins
|
boolean |
JarLoader.readJarFile(java.net.URL jarUrl)
Loads the content of a jar file that comply with a MaltParser Plugin
|
Constructor and Description |
---|
Plugin(java.io.File file)
Creates a plug-in container.
|
Plugin(java.lang.String filename)
Creates a plug-in container.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
ObjectPool.checkIn(T o) |
void |
ObjectPoolSet.checkIn(T t) |
void |
ObjectPoolList.checkIn(T o) |
abstract void |
ObjectPool.checkInAll() |
void |
ObjectPoolSet.checkInAll() |
void |
ObjectPoolList.checkInAll() |
abstract T |
ObjectPool.checkOut() |
T |
ObjectPoolSet.checkOut() |
T |
ObjectPoolList.checkOut() |
protected abstract T |
ObjectPool.create() |
protected abstract T |
ObjectPoolSet.create() |
protected abstract T |
ObjectPoolList.create() |
abstract void |
ObjectPool.resetObject(T o) |
abstract void |
ObjectPoolSet.resetObject(T o) |
abstract void |
ObjectPoolList.resetObject(T o) |
Modifier and Type | Class and Description |
---|---|
class |
PropagationException
PropagationException extends the MaltChainedException class and is thrown by classes
within the propagation package.
|
Modifier and Type | Method and Description |
---|---|
void |
PropagationManager.createPropagations(DataFormatInstance dataFormatInstance,
SymbolTableHandler tableHandler) |
void |
PropagationManager.loadSpecification(java.net.URL propagationSpecURL) |
void |
Propagation.propagate(Edge e)
Propagate columns according to the propagation specification
|
void |
PropagationManager.propagate(Edge e) |
void |
Propagations.propagate(Edge e) |
Constructor and Description |
---|
Propagation(PropagationSpec spec,
DataFormatInstance dataFormatInstance,
SymbolTableHandler tableHandler)
Creates a propagation object based on the propagation specification
|
Propagations(PropagationSpecs specs,
DataFormatInstance dataFormatInstance,
SymbolTableHandler tableHandler) |
Modifier and Type | Method and Description |
---|---|
void |
PropagationSpecsReader.load(java.net.URL url,
PropagationSpecs propagationSpecs) |
Modifier and Type | Class and Description |
---|---|
class |
SymbolException
SymbolException extends the MaltChainedException class and is thrown by classes
within the symbol package.
|
Modifier and Type | Method and Description |
---|---|
int |
Table.addSymbol(java.lang.String symbol) |
Table |
TableHandler.addSymbolTable(java.lang.String tableName) |
SymbolTable |
SymbolTableHandler.addSymbolTable(java.lang.String tableName) |
SymbolTable |
SymbolTableHandler.addSymbolTable(java.lang.String tableName,
int columnCategory,
int columnType,
java.lang.String nullValueStrategy) |
SymbolTable |
SymbolTableHandler.addSymbolTable(java.lang.String tableName,
SymbolTable parentTable) |
int |
TableFeature.getCode(java.lang.String value) |
int |
SymbolTable.getNullValueCode(NullValues.NullValueId nullValueIdentifier) |
java.lang.String |
SymbolTable.getNullValueSymbol(NullValues.NullValueId nullValueIdentifier) |
java.lang.String |
TableFeature.getSymbol(int value) |
java.lang.String |
Table.getSymbolCodeToString(int code) |
int |
Table.getSymbolStringToCode(java.lang.String symbol) |
double |
Table.getSymbolStringToValue(java.lang.String symbol) |
Table |
TableHandler.getSymbolTable(java.lang.String tableName) |
SymbolTable |
SymbolTableHandler.getSymbolTable(java.lang.String tableName) |
abstract void |
TableFeature.initialize(java.lang.Object[] arguments) |
boolean |
SymbolTable.isNullValue(int code) |
boolean |
SymbolTable.isNullValue(java.lang.String value) |
void |
SymbolTable.load(java.io.BufferedReader in) |
void |
SymbolTableHandler.load(java.io.InputStreamReader isr) |
void |
SymbolTableHandler.load(java.lang.String fileName,
java.lang.String charSet) |
SymbolTable |
SymbolTableHandler.loadTagset(java.lang.String fileName,
java.lang.String tableName,
java.lang.String charSet,
int columnCategory,
int columnType,
java.lang.String nullValueStrategy) |
void |
SymbolTable.save(java.io.BufferedWriter out) |
void |
SymbolTableHandler.save(java.io.OutputStreamWriter osw) |
void |
SymbolTableHandler.save(java.lang.String fileName,
java.lang.String charSet) |
void |
TableFeature.setFeatureValue(int indexCode) |
void |
TableFeature.setFeatureValue(java.lang.String symbol) |
abstract void |
TableFeature.update() |
Constructor and Description |
---|
TableFeature(SymbolTableHandler tableHandler) |
Modifier and Type | Method and Description |
---|---|
int |
HashSymbolTable.addSymbol(java.lang.String symbol) |
SymbolTable |
HashSymbolTableHandler.addSymbolTable(java.lang.String tableName) |
SymbolTable |
HashSymbolTableHandler.addSymbolTable(java.lang.String tableName,
int columnCategory,
int columnType,
java.lang.String nullValueStrategy) |
SymbolTable |
HashSymbolTableHandler.addSymbolTable(java.lang.String tableName,
SymbolTable parentTable) |
double |
HashSymbolTable.addSymbolValue(java.lang.String symbol) |
int |
HashSymbolTable.getNullValueCode(NullValues.NullValueId nullValueIdentifier) |
java.lang.String |
HashSymbolTable.getNullValueSymbol(NullValues.NullValueId nullValueIdentifier) |
java.lang.String |
HashSymbolTable.getSymbolCodeToString(int code) |
int |
HashSymbolTable.getSymbolStringToCode(java.lang.String symbol) |
double |
HashSymbolTable.getSymbolStringToValue(java.lang.String symbol) |
boolean |
HashSymbolTable.isNullValue(int code) |
boolean |
HashSymbolTable.isNullValue(java.lang.String symbol) |
void |
HashSymbolTable.load(java.io.BufferedReader in) |
void |
HashSymbolTableHandler.load(java.io.InputStreamReader isr) |
void |
HashSymbolTableHandler.load(java.lang.String fileName,
java.lang.String charSet) |
void |
HashSymbolTableHandler.loadHeader(java.io.BufferedReader bin) |
SymbolTable |
HashSymbolTableHandler.loadTagset(java.lang.String fileName,
java.lang.String tableName,
java.lang.String charSet,
int columnCategory,
int columnType,
java.lang.String nullValueStrategy) |
void |
HashSymbolTable.save(java.io.BufferedWriter out) |
void |
HashSymbolTableHandler.save(java.io.OutputStreamWriter osw) |
void |
HashSymbolTableHandler.save(java.lang.String fileName,
java.lang.String charSet) |
void |
HashSymbolTable.saveHeader(java.io.BufferedWriter out) |
Constructor and Description |
---|
HashSymbolTable(java.lang.String _name,
int _category,
int _type,
java.lang.String nullValueStrategy) |
Modifier and Type | Method and Description |
---|---|
int |
NullValues.nullvalueToCode(NullValues.NullValueId nullValueIdentifier) |
java.lang.String |
NullValues.nullvalueToSymbol(NullValues.NullValueId nullValueIdentifier) |
Modifier and Type | Method and Description |
---|---|
int |
ParseSymbolTable.addSymbol(java.lang.String symbol) |
SymbolTable |
ParseSymbolTableHandler.addSymbolTable(java.lang.String tableName) |
SymbolTable |
ParseSymbolTableHandler.addSymbolTable(java.lang.String tableName,
int columnCategory,
int columnType,
java.lang.String nullValueStrategy) |
SymbolTable |
ParseSymbolTableHandler.addSymbolTable(java.lang.String tableName,
SymbolTable parentTable) |
double |
ParseSymbolTable.addSymbolValue(java.lang.String symbol) |
int |
ParseSymbolTable.getNullValueCode(NullValues.NullValueId nullValueIdentifier) |
java.lang.String |
ParseSymbolTable.getNullValueSymbol(NullValues.NullValueId nullValueIdentifier) |
java.lang.String |
ParseSymbolTable.getSymbolCodeToString(int code) |
int |
ParseSymbolTable.getSymbolStringToCode(java.lang.String symbol) |
double |
ParseSymbolTable.getSymbolStringToValue(java.lang.String symbol) |
boolean |
ParseSymbolTable.isNullValue(int code) |
boolean |
ParseSymbolTable.isNullValue(java.lang.String symbol) |
void |
ParseSymbolTable.load(java.io.BufferedReader in) |
void |
ParseSymbolTableHandler.load(java.io.InputStreamReader isr) |
void |
ParseSymbolTableHandler.load(java.lang.String fileName,
java.lang.String charSet) |
void |
ParseSymbolTableHandler.loadHeader(java.io.BufferedReader bin) |
SymbolTable |
ParseSymbolTableHandler.loadTagset(java.lang.String fileName,
java.lang.String tableName,
java.lang.String charSet,
int columnCategory,
int columnType,
java.lang.String nullValueStrategy) |
void |
ParseSymbolTable.save(java.io.BufferedWriter out) |
void |
ParseSymbolTableHandler.save(java.io.OutputStreamWriter osw) |
void |
ParseSymbolTableHandler.save(java.lang.String fileName,
java.lang.String charSet) |
Constructor and Description |
---|
ParseSymbolTable(java.lang.String _name,
int _category,
int _type,
java.lang.String nullValueStrategy,
SymbolTableHandler parentSymbolTableHandler) |
ParseSymbolTable(java.lang.String name,
SymbolTableHandler parentSymbolTableHandler) |
ParseSymbolTable(java.lang.String _name,
SymbolTable parentTable,
SymbolTableHandler parentSymbolTableHandler) |
ParseSymbolTableHandler(SymbolTableHandler parentSymbolTableHandler) |
Modifier and Type | Method and Description |
---|---|
int |
TrieSymbolTable.addSymbol(java.lang.String symbol) |
TrieSymbolTable |
TrieSymbolTableHandler.addSymbolTable(java.lang.String tableName) |
TrieSymbolTable |
TrieSymbolTableHandler.addSymbolTable(java.lang.String tableName,
int columnCategory,
int columnType,
java.lang.String nullValueStrategy) |
TrieSymbolTable |
TrieSymbolTableHandler.addSymbolTable(java.lang.String tableName,
SymbolTable parentTable) |
int |
TrieSymbolTable.getNullValueCode(NullValues.NullValueId nullValueIdentifier) |
java.lang.String |
TrieSymbolTable.getNullValueSymbol(NullValues.NullValueId nullValueIdentifier) |
java.lang.String |
TrieSymbolTable.getSymbolCodeToString(int code) |
int |
TrieSymbolTable.getSymbolStringToCode(java.lang.String symbol) |
double |
TrieSymbolTable.getSymbolStringToValue(java.lang.String symbol) |
boolean |
TrieSymbolTable.isNullValue(int code) |
boolean |
TrieSymbolTable.isNullValue(java.lang.String symbol) |
void |
TrieSymbolTable.load(java.io.BufferedReader in) |
void |
TrieSymbolTableHandler.load(java.io.InputStreamReader isr) |
void |
TrieSymbolTableHandler.load(java.lang.String fileName,
java.lang.String charSet) |
void |
TrieSymbolTableHandler.loadHeader(java.io.BufferedReader bin) |
SymbolTable |
TrieSymbolTableHandler.loadTagset(java.lang.String fileName,
java.lang.String tableName,
java.lang.String charSet,
int columnCategory,
int columnType,
java.lang.String nullValueStrategy) |
void |
TrieSymbolTable.save(java.io.BufferedWriter out) |
void |
TrieSymbolTableHandler.save(java.io.OutputStreamWriter osw) |
void |
TrieSymbolTableHandler.save(java.lang.String fileName,
java.lang.String charSet) |
void |
TrieSymbolTable.saveHeader(java.io.BufferedWriter out) |
Constructor and Description |
---|
TrieSymbolTable(java.lang.String _name,
Trie _trie,
int _category,
java.lang.String nullValueStrategy) |
Modifier and Type | Class and Description |
---|---|
class |
SyntaxGraphException
GraphException extends the MaltChainedException class and is thrown by classes
within the graph package.
|
Modifier and Type | Method and Description |
---|---|
Edge |
MappablePhraseStructureGraph.addDependencyEdge(DependencyNode head,
DependencyNode dependent) |
protected Edge |
DependencyGraph.addDependencyEdge(DependencyNode head,
DependencyNode dependent) |
Edge |
MappablePhraseStructureGraph.addDependencyEdge(int headIndex,
int dependentIndex) |
Edge |
DependencyStructure.addDependencyEdge(int headIndex,
int dependentIndex)
Adds an edge from the head to the dependent identified by the indices of the dependency nodes.
|
Edge |
DependencyGraph.addDependencyEdge(int headIndex,
int dependentIndex) |
DependencyNode |
MappablePhraseStructureGraph.addDependencyNode() |
DependencyNode |
DependencyStructure.addDependencyNode() |
DependencyNode |
DependencyGraph.addDependencyNode() |
DependencyNode |
MappablePhraseStructureGraph.addDependencyNode(int index) |
DependencyNode |
DependencyStructure.addDependencyNode(int index) |
DependencyNode |
DependencyGraph.addDependencyNode(int index) |
void |
MappablePhraseStructureGraph.addLabel(Element element,
java.lang.String labelFunction,
java.lang.String label) |
void |
SyntaxGraph.addLabel(Element element,
java.lang.String labelFunction,
java.lang.String label) |
void |
LabeledStructure.addLabel(Element element,
java.lang.String tableName,
java.lang.String label)
Adds a label label to the graph element element
|
void |
Element.addLabel(LabelSet labelSet)
Adds the labels of the label set to the label set of the graph element.
|
void |
GraphElement.addLabel(LabelSet labels)
Adds the labels of the label set to the label set of the graph element.
|
void |
Element.addLabel(SymbolTable table,
int code)
Adds a label (an integer value) to the symbol table and to the graph element.
|
void |
GraphElement.addLabel(SymbolTable table,
int code)
Adds a label (an integer value) to the symbol table and to the graph element.
|
void |
Element.addLabel(SymbolTable table,
java.lang.String symbol)
Adds a label (a string value) to the symbol table and to the graph element.
|
void |
GraphElement.addLabel(SymbolTable table,
java.lang.String symbol)
Adds a label (a string value) to the symbol table and to the graph element.
|
PhraseStructureNode |
MappablePhraseStructureGraph.addNonTerminalNode() |
PhraseStructureNode |
PhraseStructureGraph.addNonTerminalNode() |
PhraseStructureNode |
PhraseStructure.addNonTerminalNode() |
PhraseStructureNode |
MappablePhraseStructureGraph.addNonTerminalNode(int index) |
PhraseStructureNode |
PhraseStructureGraph.addNonTerminalNode(int index) |
PhraseStructureNode |
PhraseStructure.addNonTerminalNode(int index) |
Edge |
MappablePhraseStructureGraph.addPhraseStructureEdge(PhraseStructureNode parent,
PhraseStructureNode child) |
Edge |
PhraseStructureGraph.addPhraseStructureEdge(PhraseStructureNode parent,
PhraseStructureNode child) |
Edge |
PhraseStructure.addPhraseStructureEdge(PhraseStructureNode source,
PhraseStructureNode target) |
Edge |
MappablePhraseStructureGraph.addSecondaryEdge(ComparableNode source,
ComparableNode target) |
Edge |
PhraseStructureGraph.addSecondaryEdge(ComparableNode source,
ComparableNode target) |
Edge |
DependencyGraph.addSecondaryEdge(ComparableNode source,
ComparableNode target) |
Edge |
SecEdgeStructure.addSecondaryEdge(ComparableNode source,
ComparableNode target) |
PhraseStructureNode |
MappablePhraseStructureGraph.addTerminalNode() |
PhraseStructureNode |
PhraseStructureGraph.addTerminalNode() |
PhraseStructureNode |
PhraseStructure.addTerminalNode() |
PhraseStructureNode |
MappablePhraseStructureGraph.addTerminalNode(int index) |
PhraseStructureNode |
PhraseStructureGraph.addTerminalNode(int index) |
PhraseStructureNode |
PhraseStructure.addTerminalNode(int index) |
TokenNode |
Sentence.addTokenNode() |
TokenNode |
TokenStructure.addTokenNode()
Adds a token node with index n + 1, where n is the index of the last token node.
|
TokenNode |
Sentence.addTokenNode(int index) |
TokenNode |
TokenStructure.addTokenNode(int index)
Adds a token node with index index.
|
void |
SyntaxGraph.checkInLabelSet(LabelSet labelSet) |
void |
LabeledStructure.checkInLabelSet(LabelSet labelSet)
Checks in a label set.
|
LabelSet |
SyntaxGraph.checkOutNewLabelSet() |
LabelSet |
LabeledStructure.checkOutNewLabelSet()
Checks out a new label set from the structure.
|
void |
Element.clear()
Resets the graph element.
|
void |
MappablePhraseStructureGraph.clear() |
void |
PhraseStructureGraph.clear() |
void |
SyntaxGraph.clear() |
void |
Sentence.clear() |
void |
DependencyGraph.clear() |
void |
LabeledStructure.clear()
Resets the structure.
|
void |
GraphElement.clear()
Resets the graph element.
|
void |
Structure.clear()
Resets the structure.
|
void |
CopyChartItem.copyPartialDependencyStructure(DependencyStructure sourceGraph,
DependencyStructure targetGraph) |
void |
CopyChartItem.copyTerminalStructure(TokenStructure sourceGraph,
TokenStructure targetGraph) |
int |
MappablePhraseStructureGraph.getDefaultRootEdgeLabelCode(SymbolTable table) |
int |
DependencyStructure.getDefaultRootEdgeLabelCode(SymbolTable table)
Returns the default edge label of the root as an integer value.
|
int |
DependencyGraph.getDefaultRootEdgeLabelCode(SymbolTable table) |
LabelSet |
MappablePhraseStructureGraph.getDefaultRootEdgeLabels() |
LabelSet |
DependencyStructure.getDefaultRootEdgeLabels() |
LabelSet |
DependencyGraph.getDefaultRootEdgeLabels() |
java.lang.String |
MappablePhraseStructureGraph.getDefaultRootEdgeLabelSymbol(SymbolTable table) |
java.lang.String |
DependencyStructure.getDefaultRootEdgeLabelSymbol(SymbolTable table)
Returns the default edge label of the root as a string value.
|
java.lang.String |
DependencyGraph.getDefaultRootEdgeLabelSymbol(SymbolTable table) |
java.lang.Integer |
RootLabels.getDefaultRootLabelCode(SymbolTable table) |
LabelSet |
RootLabels.getDefaultRootLabels() |
java.lang.String |
RootLabels.getDefaultRootLabelSymbol(SymbolTable table) |
DependencyNode |
MappablePhraseStructureGraph.getDependencyNode(int index) |
DependencyNode |
DependencyStructure.getDependencyNode(int index)
Returns the dependency node identified by index if it exists, otherwise null.
|
DependencyNode |
DependencyGraph.getDependencyNode(int index) |
int |
Element.getLabelCode(SymbolTable table)
Returns the label code (an integer representation) of the symbol table if it exists, otherwise
an exception is thrown.
|
int |
GraphElement.getLabelCode(SymbolTable table)
Returns the label code (an integer representation) of the symbol table if it exists, otherwise
an exception is thrown.
|
java.lang.String |
Element.getLabelSymbol(SymbolTable table)
Returns the label symbol(a string representation) of the symbol table if it exists, otherwise
an exception is thrown.
|
java.lang.String |
GraphElement.getLabelSymbol(SymbolTable table)
Returns the label symbol(a string representation) of the symbol table if it exists, otherwise
an exception is thrown.
|
PhraseStructureNode |
MappablePhraseStructureGraph.getNonTerminalNode(int index) |
PhraseStructureNode |
PhraseStructureGraph.getNonTerminalNode(int index) |
PhraseStructureNode |
PhraseStructure.getNonTerminalNode(int index) |
protected Token |
Sentence.getOrAddTerminalNode(int index) |
boolean |
Element.hasLabel(SymbolTable table)
Returns true if the graph element has a label for the symbol table, otherwise false.
|
boolean |
GraphElement.hasLabel(SymbolTable table)
Returns true if the graph element has a label for the symbol table, otherwise false.
|
boolean |
MappablePhraseStructureGraph.hasLabeledDependency(int index) |
boolean |
DependencyStructure.hasLabeledDependency(int index)
Returns true if the head edge of the dependency node with index is labeled, otherwise false.
|
boolean |
DependencyGraph.hasLabeledDependency(int index) |
void |
SyntaxGraphChartItem.initialize(FlowChartInstance flowChartinstance,
ChartItemSpecification chartItemSpecification) |
void |
GraphAnalyzerChartItem.initialize(FlowChartInstance flowChartinstance,
ChartItemSpecification chartItemSpecification) |
void |
CopyChartItem.initialize(FlowChartInstance flowChartinstance,
ChartItemSpecification chartItemSpecification) |
boolean |
MappablePhraseStructureGraph.isProjective() |
boolean |
DependencyStructure.isProjective()
Returns true if all edges in the dependency structure are projective, otherwise false.
|
boolean |
DependencyGraph.isProjective() |
protected DependencyNode |
MappablePhraseStructureGraph.link(DependencyNode x,
DependencyNode y) |
protected DependencyNode |
DependencyGraph.link(DependencyNode x,
DependencyNode y) |
void |
MappablePhraseStructureGraph.linkAllTerminalsToRoot() |
void |
MappablePhraseStructureGraph.linkAllTreesToRoot() |
void |
DependencyStructure.linkAllTreesToRoot()
Links all subtrees to the root of the dependency structure.
|
void |
DependencyGraph.linkAllTreesToRoot() |
Edge |
MappablePhraseStructureGraph.moveDependencyEdge(DependencyNode newHead,
DependencyNode dependent) |
protected Edge |
DependencyGraph.moveDependencyEdge(DependencyNode newHead,
DependencyNode dependent) |
Edge |
MappablePhraseStructureGraph.moveDependencyEdge(int newHeadIndex,
int dependentIndex) |
Edge |
DependencyStructure.moveDependencyEdge(int newHeadIndex,
int dependentIndex)
Replace the head of the dependent with a new head.
|
Edge |
DependencyGraph.moveDependencyEdge(int newHeadIndex,
int dependentIndex) |
int |
MappablePhraseStructureGraph.nNonProjectiveEdges() |
int |
DependencyStructure.nNonProjectiveEdges()
Returns the number of non-projective edges in the dependency structure.
|
int |
DependencyGraph.nNonProjectiveEdges() |
int |
SyntaxGraphChartItem.postprocess(int signal) |
int |
GraphAnalyzerChartItem.postprocess(int signal) |
int |
CopyChartItem.postprocess(int signal) |
int |
SyntaxGraphChartItem.preprocess(int signal) |
int |
GraphAnalyzerChartItem.preprocess(int signal) |
int |
CopyChartItem.preprocess(int signal) |
int |
SyntaxGraphChartItem.process(int signal) |
int |
GraphAnalyzerChartItem.process(int signal) |
int |
CopyChartItem.process(int signal) |
void |
MappablePhraseStructureGraph.removeDependencyEdge(int headIndex,
int dependentIndex) |
void |
DependencyStructure.removeDependencyEdge(int headIndex,
int dependentIndex)
Remove an edge from the head to the dependent identified by the indices of the dependency nodes.
|
void |
DependencyGraph.removeDependencyEdge(int headIndex,
int dependentIndex) |
protected void |
MappablePhraseStructureGraph.removeDependencyEdge(Node head,
Node dependent) |
protected void |
DependencyGraph.removeDependencyEdge(Node head,
Node dependent) |
void |
Element.removeLabel(SymbolTable table) |
void |
GraphElement.removeLabel(SymbolTable table) |
void |
Element.removeLabels() |
void |
GraphElement.removeLabels() |
void |
MappablePhraseStructureGraph.removePhraseStructureEdge(PhraseStructureNode parent,
PhraseStructureNode child) |
void |
PhraseStructureGraph.removePhraseStructureEdge(PhraseStructureNode parent,
PhraseStructureNode child) |
void |
PhraseStructure.removePhraseStructureEdge(PhraseStructureNode source,
PhraseStructureNode target) |
void |
MappablePhraseStructureGraph.removeSecondaryEdge(ComparableNode source,
ComparableNode target) |
void |
PhraseStructureGraph.removeSecondaryEdge(ComparableNode source,
ComparableNode target) |
void |
DependencyGraph.removeSecondaryEdge(ComparableNode source,
ComparableNode target) |
void |
SecEdgeStructure.removeSecondaryEdge(ComparableNode source,
ComparableNode target) |
void |
MappablePhraseStructureGraph.setDefaultRootEdgeLabel(SymbolTable table,
java.lang.String defaultRootSymbol) |
void |
DependencyStructure.setDefaultRootEdgeLabel(SymbolTable table,
java.lang.String defaultRootSymbol)
Sets the default edge label of the root.
|
void |
DependencyGraph.setDefaultRootEdgeLabel(SymbolTable table,
java.lang.String defaultRootSymbol) |
void |
MappablePhraseStructureGraph.setDefaultRootEdgeLabels(java.lang.String rootLabelOption,
java.util.SortedMap<java.lang.String,SymbolTable> edgeSymbolTables) |
void |
DependencyStructure.setDefaultRootEdgeLabels(java.lang.String rootLabelOption,
java.util.SortedMap<java.lang.String,SymbolTable> edgeSymbolTables)
Sets the default edge label of the root according to the default root label option
|
void |
DependencyGraph.setDefaultRootEdgeLabels(java.lang.String rootLabelOption,
java.util.SortedMap<java.lang.String,SymbolTable> edgeSymbolTables) |
void |
RootLabels.setDefaultRootLabel(SymbolTable table,
java.lang.String defaultRootSymbol) |
void |
RootLabels.setRootLabels(java.lang.String rootLabelOption,
java.util.SortedMap<java.lang.String,SymbolTable> edgeSymbolTables) |
void |
SyntaxGraphChartItem.terminate() |
void |
GraphAnalyzerChartItem.terminate() |
void |
CopyChartItem.terminate() |
Constructor and Description |
---|
DependencyGraph(SymbolTableHandler symbolTables) |
MappablePhraseStructureGraph(SymbolTableHandler symbolTables) |
PhraseStructureGraph(SymbolTableHandler symbolTables) |
Sentence(SymbolTableHandler symbolTables) |
SyntaxGraph(SymbolTableHandler symbolTables) |
Modifier and Type | Method and Description |
---|---|
void |
LosslessMapping.connectUnattachedSpines(MappablePhraseStructureGraph graph) |
void |
LosslessMapping.setHeadRules(java.lang.String headRulesURL) |
void |
LosslessMapping.update(MappablePhraseStructureGraph graph,
Edge e,
java.lang.Object arg) |
void |
LosslessMapping.updateDependenyGraph(MappablePhraseStructureGraph graph,
PhraseStructureNode top) |
void |
LosslessMapping.updatePhraseStructureGraph(MappablePhraseStructureGraph graph,
Edge depEdge,
boolean attachHeadSpineToRoot) |
Modifier and Type | Method and Description |
---|---|
void |
WeightedEdge.clear() |
void |
GraphEdge.clear() |
void |
Edge.setEdge(Node source,
Node target,
int type)
Sets the edge with a source node, a target node and a type (DEPENDENCY_EDGE, PHRASE_STRUCTURE_EDGE
or SECONDARY_EDGE).
|
void |
GraphEdge.setEdge(Node source,
Node target,
int type)
Sets the edge with a source node, a target node and a type (DEPENDENCY_EDGE, PHRASE_STRUCTURE_EDGE
or SECONDARY_EDGE).
|
Constructor and Description |
---|
GraphEdge(Node source,
Node target,
int type) |
WeightedEdge(Node source,
Node target,
int type) |
WeightedEdge(Node source,
Node target,
int type,
java.lang.Double weight) |
Modifier and Type | Method and Description |
---|---|
protected void |
ColumnFeature.castFeatureValue(java.lang.String symbol) |
int |
OutputArcFeature.getCode(java.lang.String symbol) |
int |
NumOfFeature.getCode(java.lang.String symbol)
Returns the integer representation of the string
symbol according to the numof feature function. |
int |
ExistsFeature.getCode(java.lang.String symbol)
Returns the integer representation of the string
symbol according to the exists feature function. |
int |
ArcDirFeature.getCode(java.lang.String symbol)
Returns the integer representation of the string
symbol according to the exists feature function. |
int |
InputArcFeature.getCode(java.lang.String symbol) |
int |
InputArcDirFeature.getCode(java.lang.String symbol) |
int |
ColumnFeature.getCode(java.lang.String value) |
int |
DistanceFeature.getCode(java.lang.String symbol)
Returns the integer representation of the string
symbol according to the distance feature function. |
java.lang.String |
OutputArcFeature.getSymbol(int code) |
java.lang.String |
NumOfFeature.getSymbol(int code)
Returns the string representation of the integer
code according to the numof feature function. |
java.lang.String |
ExistsFeature.getSymbol(int code)
Returns the string representation of the integer
code according to the exists feature function. |
java.lang.String |
ArcDirFeature.getSymbol(int code)
Returns the string representation of the integer
code according to the exists feature function. |
java.lang.String |
InputArcFeature.getSymbol(int code) |
java.lang.String |
InputArcDirFeature.getSymbol(int code) |
java.lang.String |
ColumnFeature.getSymbol(int value) |
java.lang.String |
DistanceFeature.getSymbol(int code)
Returns the string representation of the integer
code according to the distance feature function. |
void |
OutputArcFeature.initialize(java.lang.Object[] arguments) |
void |
InputColumnFeature.initialize(java.lang.Object[] arguments) |
void |
OutputTableFeature.initialize(java.lang.Object[] arguments) |
void |
OutputColumnFeature.initialize(java.lang.Object[] arguments) |
void |
InputTableFeature.initialize(java.lang.Object[] arguments) |
void |
DGraphAddressFunction.initialize(java.lang.Object[] arguments) |
void |
NumOfFeature.initialize(java.lang.Object[] arguments)
Initialize the distance feature function
|
void |
ExistsFeature.initialize(java.lang.Object[] arguments)
Initialize the exists feature function
|
void |
ArcDirFeature.initialize(java.lang.Object[] arguments)
Initialize the exists feature function
|
void |
InputArcFeature.initialize(java.lang.Object[] arguments) |
void |
InputArcDirFeature.initialize(java.lang.Object[] arguments) |
abstract void |
ColumnFeature.initialize(java.lang.Object[] arguments) |
void |
DistanceFeature.initialize(java.lang.Object[] arguments)
Initialize the distance feature function
|
void |
OutputArcFeature.setColumn(ColumnDescription column) |
void |
InputArcFeature.setColumn(ColumnDescription column) |
void |
InputArcDirFeature.setColumn(ColumnDescription column) |
void |
ColumnFeature.setFeatureValue(int indexCode) |
void |
ColumnFeature.setFeatureValue(java.lang.String symbol) |
void |
OutputArcFeature.update() |
void |
InputColumnFeature.update() |
void |
OutputTableFeature.update() |
void |
OutputColumnFeature.update() |
void |
InputTableFeature.update() |
void |
DGraphAddressFunction.update() |
void |
NumOfFeature.update()
Cause the feature function to update the feature value.
|
void |
ExistsFeature.update()
Cause the feature function to update the feature value.
|
void |
ArcDirFeature.update()
Cause the feature function to update the feature value.
|
void |
InputArcFeature.update() |
void |
InputArcDirFeature.update() |
abstract void |
ColumnFeature.update() |
void |
DistanceFeature.update()
Cause the feature function to update the feature value.
|
void |
DGraphAddressFunction.update(java.lang.Object[] arguments) |
void |
InputArcFeature.updateCardinality() |
Constructor and Description |
---|
ArcDirFeature(SymbolTableHandler tableHandler) |
ColumnFeature() |
DistanceFeature(SymbolTableHandler tableHandler) |
ExistsFeature(SymbolTableHandler tableHandler) |
InputArcDirFeature(DataFormatInstance dataFormatInstance,
SymbolTableHandler tableHandler) |
InputArcFeature(DataFormatInstance dataFormatInstance,
SymbolTableHandler tableHandler) |
InputColumnFeature(DataFormatInstance dataFormatInstance,
SymbolTableHandler tableHandler) |
InputTableFeature(DataFormatInstance dataFormatInstance,
SymbolTableHandler tableHandler) |
NumOfFeature(SymbolTableHandler tableHandler) |
OutputArcFeature(DataFormatInstance dataFormatInstance,
SymbolTableHandler tableHandler) |
OutputColumnFeature(DataFormatInstance dataFormatInstance,
SymbolTableHandler tableHandler) |
OutputTableFeature(DataFormatInstance dataFormatInstance,
SymbolTableHandler tableHandler) |
Modifier and Type | Class and Description |
---|---|
class |
HeadRuleException
HeadRuleException extends the MaltChainedException class and is thrown by classes
within the headrule package.
|
Modifier and Type | Method and Description |
---|---|
PrioSetMember |
PrioSet.addPrioSetMember(SymbolTable table,
ColumnDescription column,
int symbolCode,
PrioSetMember.RelationToPrevMember relationToPrevMember) |
PrioSetMember |
PrioSet.addPrioSetMember(SymbolTable table,
ColumnDescription column,
java.lang.String symbolString,
PrioSetMember.RelationToPrevMember relationToPrevMember) |
Direction |
HeadRules.getDefaultDirection(NonTerminalNode nt) |
PhraseStructureNode |
PrioList.getHeadChild(NonTerminalNode nt) |
PhraseStructureNode |
HeadRule.getHeadChild(NonTerminalNode nt) |
PhraseStructureNode |
HeadRules.getHeadChild(NonTerminalNode nt) |
PhraseStructureNode |
PrioSet.getHeadChild(NonTerminalNode nt,
Direction direction) |
java.lang.String |
HeadRule.getSymbolString() |
java.lang.String |
PrioSetMember.getSymbolString() |
void |
PrioSet.init(java.lang.String setSpec) |
void |
PrioList.init(java.lang.String listSpec) |
void |
HeadRule.init(java.lang.String ruleSpec) |
void |
HeadRules.parseHeadRules(java.lang.String fileName) |
void |
HeadRules.parseHeadRules(java.net.URL url) |
Constructor and Description |
---|
HeadRule(HeadRules headRules,
java.lang.String ruleSpec) |
HeadRules(org.apache.log4j.Logger logger,
DataFormatInstance dataFormatInstance,
SymbolTableHandler symbolTableHandler) |
PrioList(HeadRule headRule,
java.lang.String listSpec) |
PrioSet(PrioList prioList,
java.lang.String setSpec) |
PrioSetMember(PrioSet prioSet,
SymbolTable table,
ColumnDescription column,
java.lang.String symbolString,
PrioSetMember.RelationToPrevMember relationToPrevMember) |
Modifier and Type | Method and Description |
---|---|
void |
Root.addHeadEdgeLabel(LabelSet labelSet) |
void |
DependencyNode.addHeadEdgeLabel(LabelSet labelSet) |
void |
Token.addHeadEdgeLabel(LabelSet labelSet) |
void |
Root.addHeadEdgeLabel(SymbolTable table,
int code) |
void |
DependencyNode.addHeadEdgeLabel(SymbolTable table,
int code) |
void |
Token.addHeadEdgeLabel(SymbolTable table,
int code) |
void |
Root.addHeadEdgeLabel(SymbolTable table,
java.lang.String symbol) |
void |
DependencyNode.addHeadEdgeLabel(SymbolTable table,
java.lang.String symbol) |
void |
Token.addHeadEdgeLabel(SymbolTable table,
java.lang.String symbol) |
void |
Root.addIncomingEdge(Edge in) |
void |
GraphNode.addIncomingEdge(Edge in) |
void |
Node.addIncomingEdge(Edge in) |
void |
NonTerminal.addIncomingEdge(Edge in) |
void |
Token.addIncomingEdge(Edge in) |
void |
Root.addOutgoingEdge(Edge out) |
void |
GraphNode.addOutgoingEdge(Edge out) |
void |
Node.addOutgoingEdge(Edge out) |
void |
NonTerminal.addOutgoingEdge(Edge out) |
void |
Token.addOutgoingEdge(Edge out) |
void |
Root.clear() |
void |
GraphNode.clear() |
void |
NonTerminal.clear() |
void |
Token.clear() |
DependencyNode |
Root.getAncestor() |
DependencyNode |
DependencyNode.getAncestor() |
DependencyNode |
Token.getAncestor() |
int |
Root.getDependencyNodeDepth() |
int |
DependencyNode.getDependencyNodeDepth()
Returns the depth of the node.
|
int |
Token.getDependencyNodeDepth() |
DependencyNode |
Root.getHead() |
DependencyNode |
DependencyNode.getHead()
Returns the head dependency node if it exists, otherwise null.
|
DependencyNode |
Token.getHead() |
PhraseStructureNode |
Root.getHeadChild() |
PhraseStructureNode |
NonTerminal.getHeadChild() |
PhraseStructureNode |
NonTerminalNode.getHeadChild() |
PhraseStructureNode |
Root.getHeadChild(HeadRules headRules) |
PhraseStructureNode |
NonTerminal.getHeadChild(HeadRules headRules) |
PhraseStructureNode |
NonTerminalNode.getHeadChild(HeadRules headRules) |
Edge |
Root.getHeadEdge() |
Edge |
DependencyNode.getHeadEdge()
Returns the edge between the head and the node if it exists, otherwise null.
|
Edge |
Token.getHeadEdge() |
int |
Root.getHeadEdgeLabelCode(SymbolTable table) |
int |
DependencyNode.getHeadEdgeLabelCode(SymbolTable table) |
int |
Token.getHeadEdgeLabelCode(SymbolTable table) |
LabelSet |
Root.getHeadEdgeLabelSet() |
LabelSet |
DependencyNode.getHeadEdgeLabelSet() |
LabelSet |
Token.getHeadEdgeLabelSet() |
java.lang.String |
Root.getHeadEdgeLabelSymbol(SymbolTable table) |
java.lang.String |
DependencyNode.getHeadEdgeLabelSymbol(SymbolTable table) |
java.lang.String |
Token.getHeadEdgeLabelSymbol(SymbolTable table) |
java.util.Set<SymbolTable> |
Root.getHeadEdgeLabelTypes() |
java.util.Set<SymbolTable> |
DependencyNode.getHeadEdgeLabelTypes() |
java.util.Set<SymbolTable> |
Token.getHeadEdgeLabelTypes() |
java.util.Set<Edge> |
Root.getHeadEdges() |
java.util.Set<Edge> |
DependencyNode.getHeadEdges() |
java.util.Set<Edge> |
Token.getHeadEdges() |
java.util.Set<DependencyNode> |
Root.getHeads() |
java.util.Set<DependencyNode> |
DependencyNode.getHeads() |
java.util.Set<DependencyNode> |
Token.getHeads() |
java.util.SortedSet<Edge> |
ComparableNode.getIncomingSecondaryEdges()
Returns a sorted set of incoming secondary edges.
|
ComparableNode |
Root.getLeftmostDescendant() |
ComparableNode |
NonTerminal.getLeftmostDescendant() |
ComparableNode |
Token.getLeftmostDescendant() |
ComparableNode |
ComparableNode.getLeftmostDescendant()
Returns the left-most terminal descendant node.
|
int |
GraphNode.getLeftmostDescendantIndex() |
int |
ComparableNode.getLeftmostDescendantIndex()
Returns the index of the left-most terminal descendant node.
|
ComparableNode |
Root.getLeftmostProperDescendant() |
ComparableNode |
Token.getLeftmostProperDescendant() |
ComparableNode |
ComparableNode.getLeftmostProperDescendant()
Returns the left-most proper terminal descendant node (excluding itself).
|
int |
GraphNode.getLeftmostProperDescendantIndex() |
int |
ComparableNode.getLeftmostProperDescendantIndex()
Returns the index of the left-most proper terminal descendant node (excluding itself).
|
DependencyNode |
Root.getLeftSibling()
Returns the left sibling if it exists, otherwise
null |
DependencyNode |
DependencyNode.getLeftSibling()
Returns the left sibling if it exists, otherwise
null |
DependencyNode |
Token.getLeftSibling()
Returns the left sibling if it exists, otherwise
null |
TokenNode |
Root.getLexicalHead() |
TokenNode |
NonTerminal.getLexicalHead() |
TokenNode |
NonTerminalNode.getLexicalHead() |
TokenNode |
Root.getLexicalHead(HeadRules headRules) |
TokenNode |
NonTerminal.getLexicalHead(HeadRules headRules) |
TokenNode |
NonTerminalNode.getLexicalHead(HeadRules headRules) |
java.util.SortedSet<Edge> |
ComparableNode.getOutgoingSecondaryEdges()
Returns a sorted set of outgoing secondary edges.
|
Edge |
Root.getParentEdge() |
Edge |
PhraseStructureNode.getParentEdge() |
Edge |
NonTerminal.getParentEdge() |
Edge |
Token.getParentEdge() |
int |
Root.getParentEdgeLabelCode(SymbolTable table) |
int |
PhraseStructureNode.getParentEdgeLabelCode(SymbolTable table) |
int |
NonTerminal.getParentEdgeLabelCode(SymbolTable table) |
int |
Token.getParentEdgeLabelCode(SymbolTable table) |
java.lang.String |
Root.getParentEdgeLabelSymbol(SymbolTable table) |
java.lang.String |
PhraseStructureNode.getParentEdgeLabelSymbol(SymbolTable table) |
java.lang.String |
NonTerminal.getParentEdgeLabelSymbol(SymbolTable table) |
java.lang.String |
Token.getParentEdgeLabelSymbol(SymbolTable table) |
DependencyNode |
Root.getProperAncestor() |
DependencyNode |
DependencyNode.getProperAncestor() |
DependencyNode |
Token.getProperAncestor() |
ComparableNode |
Root.getRightmostDescendant() |
ComparableNode |
NonTerminal.getRightmostDescendant() |
ComparableNode |
Token.getRightmostDescendant() |
ComparableNode |
ComparableNode.getRightmostDescendant()
Returns the right-most terminal descendant node.
|
int |
GraphNode.getRightmostDescendantIndex() |
int |
ComparableNode.getRightmostDescendantIndex()
Returns the index of the right-most terminal descendant node.
|
ComparableNode |
Root.getRightmostProperDescendant() |
ComparableNode |
Token.getRightmostProperDescendant() |
ComparableNode |
ComparableNode.getRightmostProperDescendant()
Returns the right-most proper terminal descendant node (excluding itself).
|
int |
GraphNode.getRightmostProperDescendantIndex() |
int |
ComparableNode.getRightmostProperDescendantIndex()
Returns the index of the right-most proper terminal descendant node (excluding itself).
|
DependencyNode |
Root.getRightSibling()
Returns the right sibling if it exists, otherwise
null |
DependencyNode |
DependencyNode.getRightSibling()
Returns the right sibling if it exists, otherwise
null |
DependencyNode |
Token.getRightSibling()
Returns the right sibling if it exists, otherwise
null |
DependencyNode |
Root.getSameSideLeftSibling()
Returns the left sibling at the same side of head as the node it self.
|
DependencyNode |
DependencyNode.getSameSideLeftSibling()
Returns the left sibling at the same side of head as the node it self.
|
DependencyNode |
Token.getSameSideLeftSibling()
Returns the left sibling at the same side of head as the node it self.
|
DependencyNode |
Root.getSameSideRightSibling()
Returns the right sibling at the same side of head as the node it self.
|
DependencyNode |
DependencyNode.getSameSideRightSibling()
Returns the right sibling at the same side of head as the node it self.
|
DependencyNode |
Token.getSameSideRightSibling()
Returns the right sibling at the same side of head as the node it self.
|
boolean |
Root.hasAncestorInside(int left,
int right) |
boolean |
DependencyNode.hasAncestorInside(int left,
int right) |
boolean |
Token.hasAncestorInside(int left,
int right) |
boolean |
Root.hasHeadEdgeLabel(SymbolTable table) |
boolean |
DependencyNode.hasHeadEdgeLabel(SymbolTable table) |
boolean |
Token.hasHeadEdgeLabel(SymbolTable table) |
boolean |
Root.hasParentEdgeLabel(SymbolTable table) |
boolean |
PhraseStructureNode.hasParentEdgeLabel(SymbolTable table) |
boolean |
NonTerminal.hasParentEdgeLabel(SymbolTable table) |
boolean |
Token.hasParentEdgeLabel(SymbolTable table) |
TokenNode |
Root.identifyHead(HeadRules headRules) |
TokenNode |
NonTerminal.identifyHead(HeadRules headRules) |
TokenNode |
NonTerminalNode.identifyHead(HeadRules headRules) |
boolean |
Root.isHeadEdgeLabeled() |
boolean |
DependencyNode.isHeadEdgeLabeled() |
boolean |
Token.isHeadEdgeLabeled() |
boolean |
Root.isProjective() |
boolean |
DependencyNode.isProjective()
Returns true if the head edge is projective, otherwise false.
|
boolean |
Token.isProjective() |
int |
Root.nHeadEdgeLabels() |
int |
DependencyNode.nHeadEdgeLabels() |
int |
Token.nHeadEdgeLabels() |
void |
GraphNode.removeIncomingEdge(Edge in) |
void |
Node.removeIncomingEdge(Edge in) |
void |
NonTerminal.removeIncomingEdge(Edge in) |
void |
Token.removeIncomingEdge(Edge in) |
void |
Root.removeOutgoingEdge(Edge out) |
void |
GraphNode.removeOutgoingEdge(Edge out) |
void |
Node.removeOutgoingEdge(Edge out) |
void |
NonTerminal.removeOutgoingEdge(Edge out) |
void |
Token.removeOutgoingEdge(Edge out) |
void |
Root.setIndex(int index) |
abstract void |
GraphNode.setIndex(int index) |
void |
Node.setIndex(int index) |
void |
NonTerminal.setIndex(int index) |
void |
Token.setIndex(int index) |
Constructor and Description |
---|
GraphNode() |
NonTerminal() |
Root() |
Token() |
Modifier and Type | Method and Description |
---|---|
void |
TabReader.clear() |
void |
TigerXMLReader.close() |
void |
SyntaxGraphReader.close()
Closes the file or the input stream.
|
void |
TabReader.close() |
void |
NegraReader.close() |
void |
BracketReader.close() |
int |
SyntaxGraphReader.getSentenceCount()
Returns the current number of the sentence.
|
int |
TabReader.getSentenceCount() |
int |
BracketReader.getSentenceCount() |
void |
ReadChartItem.initialize(FlowChartInstance flowChartinstance,
ChartItemSpecification chartItemSpecification) |
void |
ReadChartItem.initInput(java.lang.String nullValueStategy) |
void |
ReadChartItem.initReader(java.lang.Class<? extends SyntaxGraphReader> syntaxGraphReader,
java.lang.String inputFile,
java.lang.String inputCharSet,
java.lang.String readerOptions,
int iterations) |
void |
TigerXMLReader.open(java.io.InputStream is,
java.lang.String charsetName) |
void |
SyntaxGraphReader.open(java.io.InputStream is,
java.lang.String charsetName)
Opens an input stream
|
void |
TabReader.open(java.io.InputStream is,
java.lang.String charsetName) |
void |
NegraReader.open(java.io.InputStream is,
java.lang.String charsetName) |
void |
BracketReader.open(java.io.InputStream is,
java.lang.String charsetName) |
void |
TigerXMLReader.open(java.lang.String fileName,
java.lang.String charsetName) |
void |
SyntaxGraphReader.open(java.lang.String fileName,
java.lang.String charsetName)
Opens a file for read only
|
void |
TabReader.open(java.lang.String fileName,
java.lang.String charsetName) |
void |
NegraReader.open(java.lang.String fileName,
java.lang.String charsetName) |
void |
BracketReader.open(java.lang.String fileName,
java.lang.String charsetName) |
void |
TigerXMLReader.open(java.net.URL url,
java.lang.String charsetName) |
void |
SyntaxGraphReader.open(java.net.URL url,
java.lang.String charsetName)
Opens an URL for read only
|
void |
TabReader.open(java.net.URL url,
java.lang.String charsetName) |
void |
NegraReader.open(java.net.URL url,
java.lang.String charsetName) |
void |
BracketReader.open(java.net.URL url,
java.lang.String charsetName) |
int |
ReadChartItem.postprocess(int signal) |
int |
ReadChartItem.preprocess(int signal) |
int |
ReadChartItem.process(int signal) |
void |
TigerXMLReader.readEpilog() |
void |
SyntaxGraphReader.readEpilog()
Reads the end of the file, after all sentences have been processed,
|
void |
TabReader.readEpilog() |
void |
NegraReader.readEpilog() |
void |
BracketReader.readEpilog() |
void |
TigerXMLReader.readProlog() |
void |
SyntaxGraphReader.readProlog()
Cause the syntax graph reader to read the beginning of the file (such as header information)
|
void |
TabReader.readProlog() |
void |
NegraReader.readProlog() |
void |
BracketReader.readProlog() |
boolean |
TigerXMLReader.readSentence(TokenStructure syntaxGraph) |
boolean |
SyntaxGraphReader.readSentence(TokenStructure syntaxGraph)
Reads a sentence (token structure, dependency structure or/and phrase structure)
|
boolean |
TabReader.readSentence(TokenStructure syntaxGraph) |
boolean |
NegraReader.readSentence(TokenStructure syntaxGraph) |
boolean |
BracketReader.readSentence(TokenStructure syntaxGraph) |
void |
TigerXMLReader.setOptions(java.lang.String optionString) |
void |
SyntaxGraphReader.setOptions(java.lang.String optionString)
Sets the reader specific options.
|
void |
TabReader.setOptions(java.lang.String optionString) |
void |
NegraReader.setOptions(java.lang.String optionString) |
void |
BracketReader.setOptions(java.lang.String optionString) |
void |
TabReader.setReader(java.io.BufferedReader reader) |
void |
ReadChartItem.setSyntaxGraphReaderClass(java.lang.Class<?> graphReaderClass) |
void |
ReadChartItem.terminate() |
Modifier and Type | Method and Description |
---|---|
void |
NegraWriter.close() |
void |
BracketWriter.close() |
void |
TigerXMLWriter.close() |
void |
TabWriter.close() |
void |
SyntaxGraphWriter.close()
Closes the file or the output stream.
|
void |
WriteChartItem.initialize(FlowChartInstance flowChartinstance,
ChartItemSpecification chartItemSpecification) |
void |
WriteChartItem.initOutput(java.lang.String nullValueStategy) |
void |
WriteChartItem.initWriter(java.lang.Class<? extends SyntaxGraphWriter> syntaxGraphWriterClass,
java.lang.String outputFile,
java.lang.String outputCharSet,
java.lang.String writerOption) |
void |
NegraWriter.open(java.io.OutputStream os,
java.lang.String charsetName) |
void |
BracketWriter.open(java.io.OutputStream os,
java.lang.String charsetName) |
void |
TigerXMLWriter.open(java.io.OutputStream os,
java.lang.String charsetName) |
void |
TabWriter.open(java.io.OutputStream os,
java.lang.String charsetName) |
void |
SyntaxGraphWriter.open(java.io.OutputStream os,
java.lang.String charsetName)
Opens an output stream
|
void |
NegraWriter.open(java.lang.String fileName,
java.lang.String charsetName) |
void |
BracketWriter.open(java.lang.String fileName,
java.lang.String charsetName) |
void |
TigerXMLWriter.open(java.lang.String fileName,
java.lang.String charsetName) |
void |
TabWriter.open(java.lang.String fileName,
java.lang.String charsetName) |
void |
SyntaxGraphWriter.open(java.lang.String fileName,
java.lang.String charsetName)
Opens a file for writing
|
int |
WriteChartItem.postprocess(int signal) |
int |
WriteChartItem.preprocess(int signal) |
int |
WriteChartItem.process(int signal) |
void |
NegraWriter.setOptions(java.lang.String optionString) |
void |
BracketWriter.setOptions(java.lang.String optionString) |
void |
TigerXMLWriter.setOptions(java.lang.String optionString) |
void |
TabWriter.setOptions(java.lang.String optionString) |
void |
SyntaxGraphWriter.setOptions(java.lang.String optionString)
Sets the writer specific options.
|
void |
WriteChartItem.setSyntaxGraphWriterClass(java.lang.Class<?> graphWriterClass) |
void |
BracketWriter.setWriter(java.io.BufferedWriter writer) |
void |
TabWriter.setWriter(java.io.BufferedWriter writer) |
void |
WriteChartItem.terminate() |
void |
TabWriter.writeComments(TokenStructure syntaxGraph,
int at_index) |
void |
NegraWriter.writeEpilog() |
void |
BracketWriter.writeEpilog() |
void |
TigerXMLWriter.writeEpilog() |
void |
TabWriter.writeEpilog() |
void |
SyntaxGraphWriter.writeEpilog()
Writes the end of the file
|
void |
TigerXMLWriter.writeNonTerminal(SymbolTableHandler symbolTables,
NonTerminalNode nt,
java.lang.String id) |
void |
TigerXMLWriter.writeNonTerminals(PhraseStructure phraseStructure) |
void |
NegraWriter.writeProlog() |
void |
BracketWriter.writeProlog() |
void |
TigerXMLWriter.writeProlog() |
void |
TabWriter.writeProlog() |
void |
SyntaxGraphWriter.writeProlog()
Cause the syntax graph writer to write the beginning of the file (such as header information)
|
void |
NegraWriter.writeSentence(TokenStructure syntaxGraph) |
void |
BracketWriter.writeSentence(TokenStructure syntaxGraph) |
void |
TigerXMLWriter.writeSentence(TokenStructure syntaxGraph) |
void |
TabWriter.writeSentence(TokenStructure syntaxGraph) |
void |
SyntaxGraphWriter.writeSentence(TokenStructure syntaxGraph)
Writes a sentence (token structure, dependency structure or/and phrase structure)
|
Modifier and Type | Method and Description |
---|---|
void |
LearningMethod.addInstance(SingleDecision decision,
FeatureVector featureVector) |
void |
LearningMethod.finalizeSentence(DependencyStructure dependencyGraph) |
void |
LearningMethod.moveAllInstances(LearningMethod method,
FeatureFunction divideFeature,
java.util.ArrayList<java.lang.Integer> divideFeatureIndexVector) |
void |
LearningMethod.noMoreInstances() |
boolean |
LearningMethod.predict(FeatureVector features,
SingleDecision decision) |
void |
LearningMethod.terminate() |
void |
LearningMethod.train() |
Modifier and Type | Class and Description |
---|---|
class |
LibException
LibException extends the MaltChainedException class and is thrown by classes
within the lib package.
|
Modifier and Type | Method and Description |
---|---|
void |
Lib.addInstance(SingleDecision decision,
FeatureVector featureVector) |
protected int |
Lib.binariesInstance(java.lang.String line,
FeatureList featureList) |
protected void |
Lib.binariesInstances2SVMFileFormat(java.io.InputStreamReader isr,
java.io.OutputStreamWriter osw) |
protected void |
Lib.closeInstanceWriter() |
void |
Lib.finalizeSentence(DependencyStructure dependencyGraph) |
protected java.lang.Object |
Lib.getConfigFileEntryObject(java.lang.String suffix) |
DependencyParserConfig |
Lib.getConfiguration()
Returns the current configuration
|
protected java.io.File |
Lib.getFile(java.lang.String suffix) |
protected java.io.InputStream |
Lib.getInputStreamFromConfigFileEntry(java.lang.String suffix) |
protected java.io.InputStreamReader |
Lib.getInstanceInputStreamReader(java.lang.String suffix) |
protected java.io.OutputStreamWriter |
Lib.getInstanceOutputStreamWriter(java.lang.String suffix) |
int |
Lib.getNumberOfInstances() |
protected FeatureMap |
Lib.loadFeatureMap(java.io.InputStream is) |
void |
Lib.moveAllInstances(LearningMethod method,
FeatureFunction divideFeature,
java.util.ArrayList<java.lang.Integer> divideFeatureIndexVector) |
void |
Lib.noMoreInstances() |
void |
Lib.parseParameters(java.lang.String paramstring,
java.util.LinkedHashMap<java.lang.String,java.lang.String> libOptions,
java.lang.String allowedLibOptionFlags) |
boolean |
Lib.predict(FeatureVector featureVector,
SingleDecision decision) |
protected void |
Lib.saveFeatureMap(java.io.OutputStream os,
FeatureMap map) |
void |
LibLinear.terminate() |
void |
Lib.terminate() |
void |
LibSvm.terminate() |
void |
Lib.train() |
protected void |
LibLinear.trainExternal(java.lang.String pathExternalTrain,
java.util.LinkedHashMap<java.lang.String,java.lang.String> libOptions) |
protected abstract void |
Lib.trainExternal(java.lang.String pathExternalTrain,
java.util.LinkedHashMap<java.lang.String,java.lang.String> libOptions) |
protected void |
LibSvm.trainExternal(java.lang.String pathExternalTrain,
java.util.LinkedHashMap<java.lang.String,java.lang.String> libOptions) |
protected void |
LibLinear.trainInternal(java.util.LinkedHashMap<java.lang.String,java.lang.String> libOptions) |
protected abstract void |
Lib.trainInternal(java.util.LinkedHashMap<java.lang.String,java.lang.String> libOptions) |
protected void |
LibSvm.trainInternal(java.util.LinkedHashMap<java.lang.String,java.lang.String> libOptions) |
Constructor and Description |
---|
Lib(InstanceModel owner,
java.lang.Integer learnerMode,
java.lang.String learningMethodName)
Constructs a Lib learner.
|
LibLinear(InstanceModel owner,
java.lang.Integer learnerMode) |
LibSvm(InstanceModel owner,
java.lang.Integer learnerMode) |
Modifier and Type | Class and Description |
---|---|
class |
ParsingException
ParsingException extends the MaltChainedException class and is thrown by classes
within the parser.algorithm package.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
TransitionSystem.addAvailableTransitionToTable(TransitionTable ttable) |
protected void |
TransitionSystem.addEdgeLabels(Edge e) |
void |
ParserState.apply(GuideUserAction currentAction) |
abstract void |
TransitionSystem.apply(GuideUserAction currentAction,
ParserConfiguration config) |
void |
SingleMalt.checkOptionDependency() |
abstract void |
ParserConfiguration.clear()
Clears the parser configuration
|
void |
ParserState.clear() |
void |
Diagnostics.closeDiaWriter() |
void |
TransitionSystem.copyAction(GuideUserAction source,
GuideUserAction target) |
protected void |
ParsingAlgorithm.copyDynamicInput(DependencyStructure source,
DependencyStructure target) |
protected void |
ParsingAlgorithm.copyEdges(DependencyStructure source,
DependencyStructure target)
Copies the edges of the source dependency structure to the target dependency structure
|
abstract GuideUserAction |
TransitionSystem.defaultAction(GuideUserHistory history,
ParserConfiguration configuration) |
java.lang.String |
TransitionSystem.getActionString(GuideUserAction action) |
java.io.OutputStreamWriter |
SingleMalt.getAppendOutputStreamWriter(java.lang.String fileName) |
java.lang.Object |
SingleMalt.getConfigFileEntryObject(java.lang.String fileName) |
java.lang.String |
SingleMalt.getConfigFileEntryString(java.lang.String fileName) |
java.net.URL |
SingleMalt.getConfigFileEntryURL(java.lang.String fileName) |
abstract GuideUserAction |
TransitionSystem.getDeterministicAction(GuideUserHistory history,
ParserConfiguration config) |
java.io.File |
SingleMalt.getFile(java.lang.String fileName) |
java.io.InputStream |
SingleMalt.getInputStreamFromConfigFileEntry(java.lang.String fileName) |
java.io.InputStreamReader |
SingleMalt.getInputStreamReader(java.lang.String fileName) |
OptionManager |
SingleMalt.getOptionManager() |
java.lang.Object |
SingleMalt.getOptionValue(java.lang.String optiongroup,
java.lang.String optionname) |
java.lang.String |
SingleMalt.getOptionValueString(java.lang.String optiongroup,
java.lang.String optionname) |
java.io.OutputStreamWriter |
SingleMalt.getOutputStreamWriter(java.lang.String fileName) |
org.apache.log4j.Logger |
SingleMalt.initConfigLogger(java.lang.String logfile,
java.lang.String level)
Initialize the configuration logger
|
protected void |
SingleMalt.initFeatureSystem() |
abstract void |
ParserConfiguration.initialize()
Initialize the parser configuration
|
void |
ParserState.initialize(DependencyStructure dependencyStructure) |
void |
SingleMaltChartItem.initialize(FlowChartInstance flowChartinstance,
ChartItemSpecification chartItemSpecification) |
void |
SingleMalt.initialize(int containerIndex,
DataFormatInstance dataFormatInstance,
SymbolTableHandler symbolTableHandler,
ConfigurationDir configDir,
int mode) |
protected void |
SingleMalt.initParsingAlgorithm()
Initialize the parsing algorithm
|
void |
TransitionSystem.initTableHandlers(java.lang.String[] decisionElements,
java.lang.String decisionSettings,
SymbolTableHandler symbolTableHandler) |
void |
TransitionSystem.initTableHandlers(java.lang.String decisionSettings,
SymbolTableHandler symbolTableHandler) |
void |
TransitionSystem.initTransitionSystem(GuideUserHistory history) |
protected abstract void |
TransitionSystem.initWithDefaultTransitions(GuideUserHistory history) |
abstract boolean |
ParserConfiguration.isTerminalState()
Returns true if the parser configuration is in a terminal state, otherwise false.
|
boolean |
ParserState.isTerminalState() |
OracleGuide |
AbstractParserFactory.makeOracleGuide(GuideUserHistory history)
Creates an oracle guide
|
ParserConfiguration |
AbstractParserFactory.makeParserConfiguration()
Creates a parser configuration
|
TransitionSystem |
AbstractParserFactory.makeTransitionSystem()
Creates a transition system
|
int |
ParserState.nConfigurations() |
void |
DependencyParserConfig.oracleParse(DependencyStructure goldGraph,
DependencyStructure oracleGraph) |
void |
SingleMalt.oracleParse(DependencyStructure goldGraph,
DependencyStructure oracleGraph) |
void |
DependencyParserConfig.parse(DependencyStructure graph) |
DependencyStructure |
DeterministicParser.parse(DependencyStructure parseDependencyGraph) |
abstract DependencyStructure |
Parser.parse(DependencyStructure parseDependencyGraph)
Parses the empty dependency graph
|
DependencyStructure |
DeterministicParserWithDiagnostics.parse(DependencyStructure parseDependencyGraph) |
void |
SingleMalt.parse(DependencyStructure graph) |
abstract DependencyStructure |
Trainer.parse(DependencyStructure goldDependencyGraph,
DependencyStructure parseDependencyGraph)
Trains a parser using the gold-standard dependency graph and returns a parsed dependency graph
|
DependencyStructure |
BatchTrainerWithDiagnostics.parse(DependencyStructure goldDependencyGraph,
DependencyStructure parseDependencyGraph) |
DependencyStructure |
BatchTrainer.parse(DependencyStructure goldDependencyGraph,
DependencyStructure parseDependencyGraph) |
boolean |
ParserState.permissible(GuideUserAction currentAction) |
abstract boolean |
TransitionSystem.permissible(GuideUserAction currentAction,
ParserConfiguration config) |
int |
SingleMaltChartItem.postprocess(int signal) |
int |
SingleMaltChartItem.preprocess(int signal) |
int |
SingleMaltChartItem.process(int signal) |
void |
SingleMalt.process(java.lang.Object[] arguments) |
abstract void |
ParserConfiguration.setDependencyGraph(DependencyStructure dependencyStructure)
Sets the dependency structure
|
void |
DeterministicParser.terminate() |
abstract void |
ParsingAlgorithm.terminate() |
void |
DeterministicParserWithDiagnostics.terminate() |
void |
BatchTrainerWithDiagnostics.terminate() |
void |
SingleMaltChartItem.terminate() |
void |
BatchTrainer.terminate() |
void |
SingleMalt.terminate(java.lang.Object[] arguments) |
abstract void |
Trainer.train() |
void |
SingleMalt.train() |
void |
BatchTrainerWithDiagnostics.train() |
void |
BatchTrainer.train() |
protected GuideUserAction |
TransitionSystem.updateActionContainers(GuideUserHistory history,
int transition,
LabelSet arcLabels) |
protected GuideUserAction |
Oracle.updateActionContainers(int transition,
LabelSet arcLabels) |
void |
SingleMalt.writeInfoToConfigFile(java.lang.String message) |
void |
Diagnostics.writeToDiaFile(java.lang.String message) |
Modifier and Type | Method and Description |
---|---|
protected void |
NonProjective.addAvailableTransitionToTable(TransitionTable ttable) |
protected void |
Projective.addAvailableTransitionToTable(TransitionTable ttable) |
void |
NonProjective.apply(GuideUserAction currentAction,
ParserConfiguration config) |
void |
Projective.apply(GuideUserAction currentAction,
ParserConfiguration config) |
void |
CovingtonConfig.clear() |
GuideUserAction |
NonProjective.defaultAction(GuideUserHistory history,
ParserConfiguration configuration) |
GuideUserAction |
Projective.defaultAction(GuideUserHistory history,
ParserConfiguration configuration) |
void |
CovingtonOracle.finalizeSentence(DependencyStructure dependencyGraph) |
GuideUserAction |
NonProjective.getDeterministicAction(GuideUserHistory history,
ParserConfiguration config) |
GuideUserAction |
Projective.getDeterministicAction(GuideUserHistory history,
ParserConfiguration config) |
DependencyNode |
CovingtonConfig.getLeftContextNode(int index) |
DependencyNode |
CovingtonConfig.getLeftNode(int index) |
DependencyNode |
CovingtonConfig.getRightContextNode(int index) |
DependencyNode |
CovingtonConfig.getRightNode(int index) |
void |
CovingtonConfig.initialize() |
void |
CovingtonAddressFunction.initialize(java.lang.Object[] arguments) |
void |
CovingtonConfig.initialize(ParserConfiguration parserConfiguration) |
protected void |
NonProjective.initWithDefaultTransitions(GuideUserHistory history) |
protected void |
Projective.initWithDefaultTransitions(GuideUserHistory history) |
Function |
CovingtonFactory.makeFunction(java.lang.String subFunctionName,
FeatureRegistry registry) |
OracleGuide |
CovingtonProjFactory.makeOracleGuide(GuideUserHistory history) |
OracleGuide |
CovingtonNonProjFactory.makeOracleGuide(GuideUserHistory history) |
ParserConfiguration |
CovingtonFactory.makeParserConfiguration() |
TransitionSystem |
CovingtonProjFactory.makeTransitionSystem() |
TransitionSystem |
CovingtonNonProjFactory.makeTransitionSystem() |
boolean |
NonProjective.permissible(GuideUserAction currentAction,
ParserConfiguration config) |
boolean |
Projective.permissible(GuideUserAction currentAction,
ParserConfiguration config) |
GuideUserAction |
CovingtonOracle.predict(DependencyStructure gold,
ParserConfiguration config) |
void |
CovingtonConfig.setDependencyGraph(DependencyStructure source) |
void |
CovingtonOracle.terminate() |
void |
CovingtonAddressFunction.update() |
void |
CovingtonAddressFunction.update(java.lang.Object[] arguments) |
Constructor and Description |
---|
CovingtonConfig(boolean cr,
boolean cs) |
CovingtonOracle(DependencyParserConfig manager,
GuideUserHistory history) |
NonProjective(PropagationManager propagationManager) |
Projective(PropagationManager propagationManager) |
Constructor and Description |
---|
ArcEager(PropagationManager propagationManager) |
ArcEagerOracle(DependencyParserConfig manager,
GuideUserHistory history) |
ArcStandard(PropagationManager propagationManager) |
ArcStandardOracle(DependencyParserConfig manager,
GuideUserHistory history) |
NivreConfig(boolean allowRoot,
boolean allowReduce,
boolean enforceTree) |
Modifier and Type | Method and Description |
---|---|
protected void |
Planar.addAvailableTransitionToTable(TransitionTable ttable) |
void |
Planar.apply(GuideUserAction currentAction,
ParserConfiguration config) |
void |
PlanarConfig.clear() |
GuideUserAction |
Planar.defaultAction(GuideUserHistory history,
ParserConfiguration configuration) |
void |
PlanarArcEagerOracle.finalizeSentence(DependencyStructure dependencyGraph) |
GuideUserAction |
Planar.getDeterministicAction(GuideUserHistory history,
ParserConfiguration config) |
DependencyNode |
PlanarConfig.getInputNode(int index) |
DependencyNode |
PlanarConfig.getStackNode(int index) |
void |
PlanarConfig.initialize() |
void |
PlanarAddressFunction.initialize(java.lang.Object[] arguments) |
void |
PlanarConfig.initialize(ParserConfiguration parserConfiguration) |
protected void |
Planar.initWithDefaultTransitions(GuideUserHistory history) |
Function |
PlanarFactory.makeFunction(java.lang.String subFunctionName,
FeatureRegistry registry) |
OracleGuide |
NivrePlanarArcEagerFactory.makeOracleGuide(GuideUserHistory history) |
ParserConfiguration |
PlanarFactory.makeParserConfiguration() |
TransitionSystem |
NivrePlanarArcEagerFactory.makeTransitionSystem() |
boolean |
Planar.permissible(GuideUserAction currentAction,
ParserConfiguration config) |
GuideUserAction |
PlanarArcEagerOracle.predict(DependencyStructure gold,
ParserConfiguration config) |
protected void |
PlanarConfig.setConnectedness(java.lang.String conn) |
void |
PlanarConfig.setDependencyGraph(DependencyStructure source) |
protected void |
PlanarConfig.setRootHandling(java.lang.String rh) |
void |
PlanarArcEagerOracle.terminate() |
void |
PlanarAddressFunction.update() |
void |
PlanarAddressFunction.update(java.lang.Object[] arguments) |
Constructor and Description |
---|
Planar(PropagationManager propagationManager) |
PlanarArcEagerOracle(DependencyParserConfig manager,
GuideUserHistory history) |
PlanarConfig(java.lang.String noCoveredRoots,
java.lang.String acyclicity,
java.lang.String connectedness,
java.lang.String rootHandling) |
Constructor and Description |
---|
NonProjective(PropagationManager propagationManager) |
Projective(PropagationManager propagationManager) |
ProjectiveOracle(DependencyParserConfig manager,
GuideUserHistory history) |
StackConfig() |
SwapEagerOracle(DependencyParserConfig manager,
GuideUserHistory history) |
SwapLazyOracle(DependencyParserConfig manager,
GuideUserHistory history) |
Modifier and Type | Method and Description |
---|---|
protected void |
TwoPlanar.addAvailableTransitionToTable(TransitionTable ttable) |
void |
TwoPlanar.apply(GuideUserAction currentAction,
ParserConfiguration config) |
void |
TwoPlanarConfig.clear() |
GuideUserAction |
TwoPlanar.defaultAction(GuideUserHistory history,
ParserConfiguration configuration) |
void |
TwoPlanarArcEagerOracle.finalizeSentence(DependencyStructure dependencyGraph) |
DependencyNode |
TwoPlanarConfig.getActiveStackNode(int index) |
GuideUserAction |
TwoPlanar.getDeterministicAction(GuideUserHistory history,
ParserConfiguration config) |
DependencyNode |
TwoPlanarConfig.getInactiveStackNode(int index) |
DependencyNode |
TwoPlanarConfig.getInputNode(int index) |
void |
TwoPlanarConfig.initialize() |
void |
TwoPlanarAddressFunction.initialize(java.lang.Object[] arguments) |
void |
TwoPlanarConfig.initialize(ParserConfiguration parserConfiguration) |
protected void |
TwoPlanar.initWithDefaultTransitions(GuideUserHistory history) |
Function |
TwoPlanarFactory.makeFunction(java.lang.String subFunctionName,
FeatureRegistry registry) |
OracleGuide |
TwoPlanarArcEagerFactory.makeOracleGuide(GuideUserHistory history) |
ParserConfiguration |
TwoPlanarFactory.makeParserConfiguration() |
TransitionSystem |
TwoPlanarArcEagerFactory.makeTransitionSystem() |
boolean |
TwoPlanar.permissible(GuideUserAction currentAction,
ParserConfiguration config) |
GuideUserAction |
TwoPlanarArcEagerOracle.predict(DependencyStructure gold,
ParserConfiguration config) |
void |
TwoPlanarConfig.setDependencyGraph(DependencyStructure source) |
protected void |
TwoPlanarConfig.setRootHandling(java.lang.String rh) |
void |
TwoPlanarArcEagerOracle.terminate() |
void |
TwoPlanarAddressFunction.update() |
void |
TwoPlanarAddressFunction.update(java.lang.Object[] arguments) |
Constructor and Description |
---|
TwoPlanar(PropagationManager propagationManager) |
TwoPlanarArcEagerOracle(DependencyParserConfig manager,
GuideUserHistory history) |
TwoPlanarConfig(java.lang.String noCoveredRoots,
java.lang.String acyclicity,
java.lang.String reduceAfterSwitch,
java.lang.String rootHandling) |
Modifier and Type | Class and Description |
---|---|
class |
GuideException
GuideException extends the MaltChainedException class and is thrown by classes
within the guide package.
|
Modifier and Type | Method and Description |
---|---|
void |
SingleGuide.addInstance(FeatureModel featureModel,
GuideDecision decision) |
void |
ClassifierGuide.addInstance(FeatureModel featureModel,
GuideDecision decision) |
FeatureVector |
SingleGuide.extract(FeatureModel featureModel) |
FeatureVector |
ClassifierGuide.extract(FeatureModel featureModel) |
void |
Guide.finalizeSentence(DependencyStructure dependencyGraph) |
void |
SingleGuide.finalizeSentence(DependencyStructure dependencyGraph) |
void |
Model.finalizeSentence(DependencyStructure dependencyGraph) |
static java.net.URL |
SingleGuide.findURL(java.lang.String specModelFileName,
DependencyParserConfig config) |
java.lang.String |
Model.getModelName() |
protected void |
SingleGuide.initDecisionModel(SingleDecision decision) |
void |
SingleGuide.noMoreInstances() |
void |
ClassifierGuide.noMoreInstances() |
void |
Model.noMoreInstances(FeatureModel featureModel) |
GuideUserAction |
OracleGuide.predict(DependencyStructure gold,
ParserConfiguration config) |
void |
SingleGuide.predict(FeatureModel featureModel,
GuideDecision decision) |
void |
ClassifierGuide.predict(FeatureModel featureModel,
GuideDecision decision) |
void |
Guidable.predict(GuideUserAction action) |
FeatureVector |
SingleGuide.predictExtract(FeatureModel featureModel,
GuideDecision decision) |
FeatureVector |
ClassifierGuide.predictExtract(FeatureModel featureModel,
GuideDecision decision) |
boolean |
SingleGuide.predictFromKBestList(FeatureModel featureModel,
GuideDecision decision) |
boolean |
ClassifierGuide.predictFromKBestList(FeatureModel featureModel,
GuideDecision decision) |
boolean |
Guidable.predictFromKBestList(GuideUserAction action) |
void |
Guidable.setInstance(GuideUserAction action) |
void |
Guide.terminate() |
void |
SingleGuide.terminate() |
void |
Model.terminate() |
Constructor and Description |
---|
SingleGuide(AlgoritmInterface algorithm,
ClassifierGuide.GuideMode guideMode) |
Modifier and Type | Method and Description |
---|---|
void |
DecisionModel.addInstance(FeatureModel featureModel,
GuideDecision decision) |
void |
BranchedDecisionModel.addInstance(FeatureModel featureModel,
GuideDecision decision) |
void |
OneDecisionModel.addInstance(FeatureModel featureModel,
GuideDecision decision) |
void |
SeqDecisionModel.addInstance(FeatureModel featureModel,
GuideDecision decision) |
FeatureVector |
DecisionModel.extract(FeatureModel featureModel) |
FeatureVector |
BranchedDecisionModel.extract(FeatureModel featureModel) |
FeatureVector |
OneDecisionModel.extract(FeatureModel featureModel) |
FeatureVector |
SeqDecisionModel.extract(FeatureModel featureModel) |
void |
BranchedDecisionModel.finalizeSentence(DependencyStructure dependencyGraph) |
void |
OneDecisionModel.finalizeSentence(DependencyStructure dependencyGraph) |
void |
SeqDecisionModel.finalizeSentence(DependencyStructure dependencyGraph) |
void |
BranchedDecisionModel.noMoreInstances(FeatureModel featureModel) |
void |
OneDecisionModel.noMoreInstances(FeatureModel featureModel) |
void |
SeqDecisionModel.noMoreInstances(FeatureModel featureModel) |
boolean |
DecisionModel.predict(FeatureModel featureModel,
GuideDecision decision) |
boolean |
BranchedDecisionModel.predict(FeatureModel featureModel,
GuideDecision decision) |
boolean |
OneDecisionModel.predict(FeatureModel featureModel,
GuideDecision decision) |
boolean |
SeqDecisionModel.predict(FeatureModel featureModel,
GuideDecision decision) |
FeatureVector |
DecisionModel.predictExtract(FeatureModel featureModel,
GuideDecision decision) |
FeatureVector |
BranchedDecisionModel.predictExtract(FeatureModel featureModel,
GuideDecision decision) |
FeatureVector |
OneDecisionModel.predictExtract(FeatureModel featureModel,
GuideDecision decision) |
FeatureVector |
SeqDecisionModel.predictExtract(FeatureModel featureModel,
GuideDecision decision) |
boolean |
DecisionModel.predictFromKBestList(FeatureModel featureModel,
GuideDecision decision) |
boolean |
BranchedDecisionModel.predictFromKBestList(FeatureModel featureModel,
GuideDecision decision) |
boolean |
OneDecisionModel.predictFromKBestList(FeatureModel featureModel,
GuideDecision decision) |
boolean |
SeqDecisionModel.predictFromKBestList(FeatureModel featureModel,
GuideDecision decision) |
void |
BranchedDecisionModel.terminate() |
void |
OneDecisionModel.terminate() |
void |
SeqDecisionModel.terminate() |
Constructor and Description |
---|
BranchedDecisionModel(ClassifierGuide _guide) |
BranchedDecisionModel(ClassifierGuide _guide,
DecisionModel _parentDecisionModel,
java.lang.String _branchedDecisionSymbol) |
OneDecisionModel(ClassifierGuide _guide) |
OneDecisionModel(ClassifierGuide _guide,
DecisionModel _prevDecisionModel,
java.lang.String _branchedDecisionSymbol) |
SeqDecisionModel(ClassifierGuide _guide) |
SeqDecisionModel(ClassifierGuide _guide,
DecisionModel _prevDecisionModel,
java.lang.String _branchedDecisionSymbol) |
Modifier and Type | Method and Description |
---|---|
void |
InstanceModel.addInstance(FeatureVector featureVector,
SingleDecision decision) |
void |
AtomicModel.addInstance(FeatureVector featureVector,
SingleDecision decision) |
void |
FeatureDivideModel.addInstance(FeatureVector featureVector,
SingleDecision decision) |
FeatureVector |
InstanceModel.extract(FeatureVector featureVector) |
FeatureVector |
AtomicModel.extract(FeatureVector featureVector) |
FeatureVector |
FeatureDivideModel.extract(FeatureVector featureVector) |
void |
AtomicModel.finalizeSentence(DependencyStructure dependencyGraph) |
void |
FeatureDivideModel.finalizeSentence(DependencyStructure dependencyGraph) |
java.lang.String |
FeatureDivideModel.getModelName() |
Model |
AtomicModel.getParent()
Returns the parent guide model
|
protected void |
FeatureDivideModel.load() |
void |
AtomicModel.moveAllInstances(AtomicModel model,
FeatureFunction divideFeature,
java.util.ArrayList<java.lang.Integer> divideFeatureIndexVector)
Moves all instance from this atomic model into the destination atomic model and add the divide feature.
|
void |
AtomicModel.noMoreInstances(FeatureModel featureModel) |
void |
FeatureDivideModel.noMoreInstances(FeatureModel featureModel) |
boolean |
InstanceModel.predict(FeatureVector featureVector,
SingleDecision decision) |
boolean |
AtomicModel.predict(FeatureVector featureVector,
SingleDecision decision) |
boolean |
FeatureDivideModel.predict(FeatureVector featureVector,
SingleDecision decision) |
FeatureVector |
InstanceModel.predictExtract(FeatureVector featureVector,
SingleDecision decision) |
FeatureVector |
AtomicModel.predictExtract(FeatureVector featureVector,
SingleDecision decision) |
FeatureVector |
FeatureDivideModel.predictExtract(FeatureVector featureVector,
SingleDecision decision) |
protected void |
FeatureDivideModel.save()
Saves the feature divide model settings .dsm file.
|
void |
AtomicModel.terminate() |
void |
FeatureDivideModel.terminate() |
void |
InstanceModel.train() |
void |
AtomicModel.train()
Invokes the train() of the learning method
|
void |
FeatureDivideModel.train() |
Constructor and Description |
---|
AtomicModel(int index,
Model parent)
Constructs an atomic model.
|
FeatureDivideModel(Model parent)
Constructs a feature divide model.
|
Modifier and Type | Class and Description |
---|---|
class |
HistoryException
HistoryException extends the MaltChainedException class and is thrown by classes
within the history package.
|
Modifier and Type | Method and Description |
---|---|
void |
History.clear() |
void |
HistoryTree.clear() |
void |
HistoryNode.clear() |
void |
HistoryTreeNode.clear() |
abstract void |
HistoryStructure.clear() |
void |
HistoryListNode.clear() |
void |
GuideUserHistory.clear() |
void |
HistoryList.clear() |
GuideDecision |
History.getEmptyGuideDecision() |
GuideUserAction |
History.getEmptyGuideUserAction() |
GuideUserAction |
GuideUserHistory.getEmptyGuideUserAction() |
HistoryNode |
HistoryTree.getNewHistoryNode(HistoryNode previousNode,
GuideUserAction action) |
abstract HistoryNode |
HistoryStructure.getNewHistoryNode(HistoryNode previousNode,
GuideUserAction action) |
HistoryNode |
HistoryList.getNewHistoryNode(HistoryNode previousNode,
GuideUserAction action) |
Constructor and Description |
---|
History(java.lang.String _decisionSettings,
java.lang.String _separator,
HashMap<java.lang.String,TableHandler> _tableHandlers,
int _kBestSize) |
HistoryList() |
Modifier and Type | Method and Description |
---|---|
void |
GuideUserAction.addAction(ActionContainer[] actionContainers) |
void |
ComplexDecisionAction.addAction(ActionContainer[] actionContainers) |
void |
GuideUserAction.addAction(java.util.ArrayList<ActionContainer> actionContainers) |
void |
ComplexDecisionAction.addAction(java.util.ArrayList<ActionContainer> actionContainers) |
void |
SingleDecision.addDecision(int code) |
void |
SimpleDecisionAction.addDecision(int code) |
void |
SingleDecision.addDecision(java.lang.String symbol) |
void |
SimpleDecisionAction.addDecision(java.lang.String symbol) |
boolean |
SingleDecision.continueWithNextDecision() |
boolean |
SimpleDecisionAction.continueWithNextDecision() |
void |
GuideUserAction.getAction(ActionContainer[] actionContainers) |
void |
ComplexDecisionAction.getAction(ActionContainer[] actionContainers) |
void |
GuideUserAction.getAction(java.util.ArrayList<ActionContainer> actionContainers) |
void |
ComplexDecisionAction.getAction(java.util.ArrayList<ActionContainer> actionContainers) |
int |
SingleDecision.getDecisionCode() |
int |
SimpleDecisionAction.getDecisionCode() |
int |
SingleDecision.getDecisionCode(java.lang.String symbol) |
int |
SimpleDecisionAction.getDecisionCode(java.lang.String symbol) |
java.lang.String |
SingleDecision.getDecisionSymbol() |
java.lang.String |
SimpleDecisionAction.getDecisionSymbol() |
KBestList |
SingleDecision.getKBestList() |
KBestList |
SimpleDecisionAction.getKBestList() |
void |
ComplexDecisionAction.getKBestLists(java.util.ArrayList<ScoredKBestList> kbestListContainers) |
void |
ComplexDecisionAction.getKBestLists(ScoredKBestList[] kbestListContainers) |
SingleDecision |
ComplexDecisionAction.getSingleDecision(int decisionIndex) |
SingleDecision |
MultipleDecision.getSingleDecision(int decisionIndex) |
boolean |
SingleDecision.updateFromKBestList() |
boolean |
SimpleDecisionAction.updateFromKBestList() |
Constructor and Description |
---|
ComplexDecisionAction(GuideUserHistory history) |
SimpleDecisionAction(int kBestSize,
TableContainer _tableContainer) |
Modifier and Type | Method and Description |
---|---|
int |
CombinedTableContainer.addSymbol(java.lang.String value) |
boolean |
CombinedTableContainer.containCode(int code) |
boolean |
TableContainer.containCode(int code) |
boolean |
CombinedTableContainer.containSymbol(java.lang.String symbol) |
boolean |
TableContainer.containSymbol(java.lang.String symbol) |
boolean |
DecisionPropertyTable.continueWithNextDecision(int code) |
boolean |
TableContainer.continueWithNextDecision(int code) |
boolean |
DecisionPropertyTable.continueWithNextDecision(java.lang.String symbol) |
boolean |
TableContainer.continueWithNextDecision(java.lang.String symbol) |
int |
CombinedTableContainer.getCode(java.lang.String symbol) |
int |
TableContainer.getCode(java.lang.String symbol) |
int |
CombinedTableContainer.getCombinedCode(ActionContainer[] codesToCombine,
int start) |
int |
CombinedTableContainer.getCombinedCode(java.util.List<ActionContainer> codesToCombine) |
java.lang.String |
CombinedTableContainer.getSymbol(int code) |
java.lang.String |
TableContainer.getSymbol(int code) |
java.lang.String |
CombinedTableContainer.getSymbolCodeToString(int code) |
int |
CombinedTableContainer.getSymbolStringToCode(java.lang.String symbol) |
double |
CombinedTableContainer.getSymbolStringToValue(java.lang.String symbol) |
Table |
DecisionPropertyTable.getTableForNextDecision(int code) |
Table |
DecisionPropertyTable.getTableForNextDecision(java.lang.String symbol) |
protected void |
CombinedTableContainer.initSymbolTable() |
java.lang.String |
ActionContainer.setAction(int code) |
int |
ActionContainer.setAction(java.lang.String symbol) |
void |
CombinedTableContainer.setActionContainer(ActionContainer[] actionContainers,
int start,
int decision) |
void |
CombinedTableContainer.setActionContainer(java.util.List<ActionContainer> actionContainers,
int decision) |
protected void |
CombinedTableContainer.split() |
Constructor and Description |
---|
CombinedTableContainer(TableHandler _tableHandler,
java.lang.String _separator,
java.util.List<TableContainer> _containers,
char decisionSeparator) |
Modifier and Type | Method and Description |
---|---|
void |
KBestList.add(int actionCode)
Adds a candidate to the k-best list
|
void |
ScoredKBestList.add(int actionCode,
float score) |
void |
KBestList.add(java.lang.String symbol)
Adds a candidate to the k-best list
|
void |
ScoredKBestList.add(java.lang.String symbol,
float score) |
void |
KBestList.addList(int[] predictionList) |
boolean |
KBestList.updateActionWithNextKBest()
Updates the corresponding single decision with the next value in the k-best list.
|
Modifier and Type | Method and Description |
---|---|
int |
TransitionTable.addSymbol(java.lang.String symbol) |
Table |
TransitionTableHandler.addSymbolTable(java.lang.String tableName) |
boolean |
TransitionTable.continueWithNextDecision(int code) |
boolean |
TransitionTable.continueWithNextDecision(java.lang.String symbol) |
java.lang.String |
TransitionTable.getSymbolCodeToString(int code) |
int |
TransitionTable.getSymbolStringToCode(java.lang.String symbol) |
double |
TransitionTable.getSymbolStringToValue(java.lang.String symbol) |
Table |
TransitionTableHandler.getSymbolTable(java.lang.String tableName) |
Table |
TransitionTable.getTableForNextDecision(int code) |
Table |
TransitionTable.getTableForNextDecision(java.lang.String symbol) |
Modifier and Type | Class and Description |
---|---|
class |
TransformationException
TransformationException extends the MaltChainedException class and is thrown by classes
within the transform package.
|
Modifier and Type | Method and Description |
---|---|
void |
PseudoProjectivity.deprojectivize(DependencyStructure pdg) |
void |
PseudoProjChartItem.initialize(FlowChartInstance flowChartinstance,
ChartItemSpecification chartItemSpecification) |
void |
PseudoProjectivity.initialize(java.lang.String markingStrategyString,
java.lang.String coveredRoot,
java.lang.String liftingOrder,
org.apache.log4j.Logger configLogger,
DataFormatInstance dataFormatInstance,
SymbolTableHandler symbolTables) |
void |
PseudoProjectivity.mergeArclabels(DependencyStructure pdg) |
int |
PseudoProjChartItem.postprocess(int signal) |
int |
PseudoProjChartItem.preprocess(int signal) |
int |
PseudoProjChartItem.process(int signal) |
void |
PseudoProjectivity.projectivize(DependencyStructure pdg) |
void |
PseudoProjectivity.splitArclabels(DependencyStructure pdg) |
void |
PseudoProjChartItem.terminate() |
Copyright 2007-2017 Johan Hall, Jens Nilsson and Joakim Nivre.