{"action":"created","issue":{"url":"https://api.github.com/repos/morfologik/morfologik-stemming/issues/34","labels_url":"https://api.github.com/repos/morfologik/morfologik-stemming/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/morfologik/morfologik-stemming/issues/34/comments","events_url":"https://api.github.com/repos/morfologik/morfologik-stemming/issues/34/events","html_url":"https://github.com/morfologik/morfologik-stemming/issues/34","id":43435851,"number":34,"title":"ArrayIndexOutOfBoundsException with replacement-pairs","user":{"login":"danielnaber","id":857004,"avatar_url":"https://avatars.githubusercontent.com/u/857004?v=3","gravatar_id":"","url":"https://api.github.com/users/danielnaber","html_url":"https://github.com/danielnaber","followers_url":"https://api.github.com/users/danielnaber/followers","following_url":"https://api.github.com/users/danielnaber/following{/other_user}","gists_url":"https://api.github.com/users/danielnaber/gists{/gist_id}","starred_url":"https://api.github.com/users/danielnaber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielnaber/subscriptions","organizations_url":"https://api.github.com/users/danielnaber/orgs","repos_url":"https://api.github.com/users/danielnaber/repos","events_url":"https://api.github.com/users/danielnaber/events{/privacy}","received_events_url":"https://api.github.com/users/danielnaber/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-09-22T08:10:07Z","updated_at":"2015-01-29T12:25:38Z","closed_at":null,"body":"This exception happens only with master, not with the latest release:\r\n\r\n    Caused by: java.lang.ArrayIndexOutOfBoundsException: -1\r\n\tat morfologik.speller.HMatrix.get(HMatrix.java:81)\r\n\tat morfologik.speller.Speller.findRepl(Speller.java:484)\r\n\tat morfologik.speller.Speller.findRepl(Speller.java:525)\r\n\tat morfologik.speller.Speller.findReplacements(Speller.java:434)\r\n\tat org.languagetool.rules.spelling.morfologik.MorfologikSpeller.getSuggestions(MorfologikSpeller.java:90)\r\n\tat org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule.getRuleMatches(MorfologikSpellerRule.java:182)\r\n\tat org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule.match(MorfologikSpellerRule.java:119)\r\n\tat org.languagetool.JLanguageTool.checkAnalyzedSentence(JLanguageTool.java:601)\r\n\tat org.languagetool.JLanguageTool$TextCheckCallable.call(JLanguageTool.java:937)\r\n\r\nIt happens if you get suggestions for the word `you` with the recently added Dutch dictionary of LanguageTool, which contains:\r\n\r\n    fsa.dict.speller.replacement-pairs=y ij\r\n\r\nIf you remove that line, it works fine. Let me know if you need more details to reproduce this.\r\n"},"comment":{"url":"https://api.github.com/repos/morfologik/morfologik-stemming/issues/comments/72016027","html_url":"https://github.com/morfologik/morfologik-stemming/issues/34#issuecomment-72016027","issue_url":"https://api.github.com/repos/morfologik/morfologik-stemming/issues/34","id":72016027,"user":{"login":"danielnaber","id":857004,"avatar_url":"https://avatars.githubusercontent.com/u/857004?v=3","gravatar_id":"","url":"https://api.github.com/users/danielnaber","html_url":"https://github.com/danielnaber","followers_url":"https://api.github.com/users/danielnaber/followers","following_url":"https://api.github.com/users/danielnaber/following{/other_user}","gists_url":"https://api.github.com/users/danielnaber/gists{/gist_id}","starred_url":"https://api.github.com/users/danielnaber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielnaber/subscriptions","organizations_url":"https://api.github.com/users/danielnaber/orgs","repos_url":"https://api.github.com/users/danielnaber/repos","events_url":"https://api.github.com/users/danielnaber/events{/privacy}","received_events_url":"https://api.github.com/users/danielnaber/received_events","type":"User","site_admin":false},"created_at":"2015-01-29T12:25:38Z","updated_at":"2015-01-29T12:25:38Z","body":"@jaumeortola Is there a chance you're going to work on this soon? I'd like to start another try to switch the German spell checker to Morfologik but that only makes sense if it provides good suggestions."}}