java/dictionary-generator/src/cz/frantovo/telco/dictionary/Generator.java
changeset 20 aecdfc3b1950
parent 18 7a2eb4cb6ff1
child 21 e7c9a8722f76
     1.1 --- a/java/dictionary-generator/src/cz/frantovo/telco/dictionary/Generator.java	Wed Jul 10 01:27:41 2013 +0200
     1.2 +++ b/java/dictionary-generator/src/cz/frantovo/telco/dictionary/Generator.java	Wed Jul 10 14:32:45 2013 +0200
     1.3 @@ -152,7 +152,7 @@
     1.4  			writeSynonyms(synonymOutputStream, synonymsEntries);
     1.5  			
     1.6  			indexOutputStream.flush();
     1.7 -			writeInfo(infoWriter, sourceDocument, conceptIndex + 1, synonymsEntries.size(), indexFile.length());
     1.8 +			writeInfo(infoWriter, sourceDocument, conceptIndex, synonymsEntries.size(), indexFile.length());
     1.9  		} catch (SAXException | IOException | TransformerException | XPathExpressionException e) {
    1.10  			log.log(Level.SEVERE, "unable to generate", e);
    1.11  		} finally {