Return-Path: X-Original-To: apmail-lucene-commits-archive@www.apache.org Delivered-To: apmail-lucene-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 113D8101CA for ; Fri, 18 Oct 2013 08:24:34 +0000 (UTC) Received: (qmail 4168 invoked by uid 500); 18 Oct 2013 08:24:33 -0000 Mailing-List: contact commits-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list commits@lucene.apache.org Received: (qmail 3666 invoked by uid 99); 18 Oct 2013 08:24:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Oct 2013 08:24:32 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Oct 2013 08:24:30 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 128CF23888A6; Fri, 18 Oct 2013 08:24:09 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1533358 - /lucene/dev/branches/lucene4956/lucene/analysis/arirang/src/java/org/apache/lucene/analysis/ko/dic/DictionaryUtil.java Date: Fri, 18 Oct 2013 08:24:09 -0000 To: commits@lucene.apache.org From: uschindler@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20131018082409.128CF23888A6@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: uschindler Date: Fri Oct 18 08:24:08 2013 New Revision: 1533358 URL: http://svn.apache.org/r1533358 Log: LUCENE-4956: Reorder loading Modified: lucene/dev/branches/lucene4956/lucene/analysis/arirang/src/java/org/apache/lucene/analysis/ko/dic/DictionaryUtil.java Modified: lucene/dev/branches/lucene4956/lucene/analysis/arirang/src/java/org/apache/lucene/analysis/ko/dic/DictionaryUtil.java URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene4956/lucene/analysis/arirang/src/java/org/apache/lucene/analysis/ko/dic/DictionaryUtil.java?rev=1533358&r1=1533357&r2=1533358&view=diff ============================================================================== --- lucene/dev/branches/lucene4956/lucene/analysis/arirang/src/java/org/apache/lucene/analysis/ko/dic/DictionaryUtil.java (original) +++ lucene/dev/branches/lucene4956/lucene/analysis/arirang/src/java/org/apache/lucene/analysis/ko/dic/DictionaryUtil.java Fri Oct 18 08:24:08 2013 @@ -53,9 +53,6 @@ public class DictionaryUtil { try { List strList = DictionaryResources.readLines(DictionaryResources.FILE_DICTIONARY); strList.addAll(DictionaryResources.readLines(DictionaryResources.FILE_EXTENSION)); - List compounds = DictionaryResources.readLines(DictionaryResources.FILE_COMPOUNDS); - List abbrevs = DictionaryResources.readLines(DictionaryResources.FILE_ABBREV); - for(String str:strList) { String[] infos = str.split("[,]+"); if(infos.length!=2) continue; @@ -66,6 +63,7 @@ public class DictionaryUtil { dictionary.add(entry.getWord(), entry); } + List compounds = DictionaryResources.readLines(DictionaryResources.FILE_COMPOUNDS); for(String compound: compounds) { String[] infos = compound.split("[:]+"); @@ -81,6 +79,7 @@ public class DictionaryUtil { dictionary.add(entry.getWord(), entry); } + List abbrevs = DictionaryResources.readLines(DictionaryResources.FILE_ABBREV); for(String abbrev: abbrevs) { String[] infos = abbrev.split("[:]+");