Does not work when there are empty lines in dictionary files:
Change this line: while((buf=in.readLine()) != null) { if (buf.charAt(0) == '%') continue;
to this: while((buf=in.readLine()) != null) { if (buf.length()==0 || buf.charAt(0) == '%') continue;
Log in to post a comment.