Skip to content

Commit 03d3e63

Browse files
committed
清理 Predefine
1 parent e68be80 commit 03d3e63

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/main/java/com/hankcs/hanlp/utility/Predefine.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,6 @@ public class Predefine
4242
"水库","隧道","特区","铁路","新村","雪峰","盐场","盐湖","渔场","直辖市",
4343
"自治区","自治县","自治州"};
4444

45-
//Seperator type
46-
public static String SEPERATOR_C_SENTENCE = "。!?:;…";
47-
public static String SEPERATOR_C_SUB_SENTENCE = "、,()“”‘’";
48-
public static String SEPERATOR_E_SENTENCE = "!?:;";
49-
public static String SEPERATOR_E_SUB_SENTENCE = ",()*'";
50-
//注释:原来程序为",()\042'","\042"为10进制42好ASC字符,为*
51-
public static String SEPERATOR_LINK = "\n\r  ";
52-
53-
//Seperator between two words
54-
public static String WORD_SEGMENTER = "@";
55-
5645
public static int MAX_SEGMENT_NUM = 10;
5746

5847
public static int TOTAL_FREQUENCY = 25146057; // 现在总词频25146057

0 commit comments

Comments
 (0)