* @return a dependency structure
* @throws MaltChainedException
*/
public DependencyStructure toDependencyStructure(String[] tokens) throws MaltChainedException {
if (!initialized) {
throw new MaltChainedException("No parser model has been initialized. Please use the method initializeParserModel() before invoking this method.");
}
if (tokens == null || tokens.length == 0) {
throw new MaltChainedException("Nothing to convert. ");
}
DependencyStructure outputGraph = new DependencyGraph(singleMalt.getSymbolTables());
for (int i = 0; i < tokens.length; i++) {
Iterator<ColumnDescription> columns = dataFormatInstance.iterator();