package com.xiahao.lib;

import java.util.Set;

/**
 * Created by HankZhang on 2017/9/16.
 */
public class WordSegmentationUtil {
    /***
     *
     * @param targetStr webOrigins to be segmented.
     * @param helperStr package name from codeOrigins to help the segmentation.
     * @return
     */
    public static Set<String> segmentWord(String targetStr, String helperStr) {
        return null;
    }
}
@@ -20,16 +20,93 @@
 lib;%0D%0A%0D%0A
+import java.util.Arrays;%0D%0Aimport java.util.HashSet;%0D%0Aimport java.util.List;%0D%0A
 import j
@@ -427,22 +427,28 @@
 entWord(
+List%3C
 String
+%3E
  targetS
@@ -484,19 +484,103 @@
     
-return null
+Set%3CString%3E result = new HashSet%3C%3E();%0D%0A        result.addAll(targetStr);%0D%0A        return result
 ;%0D%0A 

modify the interface