diff -r 89f9c8307dee -r aecdfc3b1950 java/dictionary-generator/src/cz/frantovo/telco/dictionary/Generator.java --- a/java/dictionary-generator/src/cz/frantovo/telco/dictionary/Generator.java Wed Jul 10 01:27:41 2013 +0200 +++ b/java/dictionary-generator/src/cz/frantovo/telco/dictionary/Generator.java Wed Jul 10 14:32:45 2013 +0200 @@ -152,7 +152,7 @@ writeSynonyms(synonymOutputStream, synonymsEntries); indexOutputStream.flush(); - writeInfo(infoWriter, sourceDocument, conceptIndex + 1, synonymsEntries.size(), indexFile.length()); + writeInfo(infoWriter, sourceDocument, conceptIndex, synonymsEntries.size(), indexFile.length()); } catch (SAXException | IOException | TransformerException | XPathExpressionException e) { log.log(Level.SEVERE, "unable to generate", e); } finally {