generator: word count fix
authorFrantišek Kučera <franta-hg@frantovo.cz>
Wed, 10 Jul 2013 14:32:45 +0200
changeset 20aecdfc3b1950
parent 19 89f9c8307dee
child 21 e7c9a8722f76
generator: word count fix
java/dictionary-generator/src/cz/frantovo/telco/dictionary/Generator.java
     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 {