# HG changeset patch # User František Kučera # Date 1373459565 -7200 # Node ID aecdfc3b19500db48d839994aaca57449f2daeda # Parent 89f9c8307dee32fdacec62138cb9aa560767581e generator: word count fix 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 {