108109110111112113114115116117118
public boolean readSentence(TokenStructure syntaxGraph) throws MaltChainedException { if (syntaxGraph == null || dataFormatInstance == null) { return false; } Element node = null; Edge edge = null; input.setLength(0); int i = 0; int terminalCounter = 0; int nNewLines = 0;