<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 5: Error in Trainer.java</title><link>https://sourceforge.net/p/javaocr/bugs/5/</link><description>Recent changes to 5: Error in Trainer.java</description><atom:link href="https://sourceforge.net/p/javaocr/bugs/5/feed.rss" rel="self"/><language>en</language><lastBuildDate>Tue, 17 Sep 2013 07:43:32 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/javaocr/bugs/5/feed.rss" rel="self" type="application/rss+xml"/><item><title>#5 Error in Trainer.java</title><link>https://sourceforge.net/p/javaocr/bugs/5/?limit=25#5c8d</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;You can close this one. You have to set constant POSSIBLE in Trainer.java to your array of characters.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ep</dc:creator><pubDate>Tue, 17 Sep 2013 07:43:32 -0000</pubDate><guid>https://sourceforge.net9ba97caa1f715ad92454d65d38069d9f905bb9c1</guid></item><item><title>Error in Trainer.java</title><link>https://sourceforge.net/p/javaocr/bugs/5/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Trainer.java is not working. It fails with error:&lt;/p&gt;
&lt;p&gt;Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 0, Size: 0&lt;br /&gt;
    at java.util.ArrayList.RangeCheck(ArrayList.java:547)&lt;br /&gt;
    at java.util.ArrayList.get(ArrayList.java:322)&lt;br /&gt;
    at Trainer.main(Trainer.java:174)&lt;/p&gt;
&lt;p&gt;Line 174: final double[] vector = moments.get(i);&lt;/p&gt;
&lt;p&gt;But moments variable is only initialized and never filled. Something is missing?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ernest Pinter</dc:creator><pubDate>Thu, 08 Aug 2013 13:44:25 -0000</pubDate><guid>https://sourceforge.netd51bde9a415de17e359349ad1dc785e1d8123b72</guid></item></channel></rss>