Commit b133aa30 by 王明范

增加从配add ignorewordå

parent e9aae63b
......@@ -41,6 +41,7 @@ public class SuggestTask {
private static Set<String> spWordSet = new HashSet<>();
private static Set<Set<String>> synonymList = new HashSet<>();
private static Set<String> ignoreWordSet = new HashSet<>(Arrays.asList("系列","型号","款式"));
public static void main(String[] args) {
startTime = System.currentTimeMillis();
......@@ -441,6 +442,9 @@ public class SuggestTask {
// 限制作为标签的长度
return true;
}
if (ignoreWordSet.contains(rightWord)) {
return true;
}
boolean isTShirt = false;
if (rightWord.length() >= 2 && rightWord.toLowerCase().startsWith("t恤")) {
isTShirt = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment