From d16563edaeb52f0b92b4e1f1cf6fa12f4eddb2ab Mon Sep 17 00:00:00 2001 From: jsshin Date: Mon, 5 Mar 2018 21:24:53 +0900 Subject: [PATCH] [issue-37] Resolve issue - Suggestion of a method accessibility link : https://github.com/shin285/KOMORAN/issues/37 --- .../kr/co/shineware/nlp/komoran/model/KomoranResult.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/kr/co/shineware/nlp/komoran/model/KomoranResult.java b/src/main/java/kr/co/shineware/nlp/komoran/model/KomoranResult.java index 26eee3ee..b502ce10 100644 --- a/src/main/java/kr/co/shineware/nlp/komoran/model/KomoranResult.java +++ b/src/main/java/kr/co/shineware/nlp/komoran/model/KomoranResult.java @@ -1,12 +1,12 @@ package kr.co.shineware.nlp.komoran.model; -import java.util.*; - import kr.co.shineware.nlp.komoran.constant.SYMBOL; import kr.co.shineware.nlp.komoran.core.model.LatticeNode; import kr.co.shineware.nlp.komoran.parser.KoreanUnitParser; import kr.co.shineware.util.common.model.Pair; +import java.util.*; + public class KomoranResult { @@ -27,7 +27,7 @@ public List getMorphesByTags(String... str) { return this.getMorphesByTags(Arrays.asList(str)); } - private List getMorphesByTags(Collection targetPosCollection) { + public List getMorphesByTags(Collection targetPosCollection) { Set targetPosSet = new HashSet<>(targetPosCollection);