Skip to content

Commit

Permalink
清理 Predefine
Browse files Browse the repository at this point in the history
  • Loading branch information
hankcs committed Dec 28, 2024
1 parent e68be80 commit 03d3e63
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/main/java/com/hankcs/hanlp/utility/Predefine.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,6 @@ public class Predefine
"水库","隧道","特区","铁路","新村","雪峰","盐场","盐湖","渔场","直辖市",
"自治区","自治县","自治州"};

//Seperator type
public static String SEPERATOR_C_SENTENCE = "。!?:;…";
public static String SEPERATOR_C_SUB_SENTENCE = "、,()“”‘’";
public static String SEPERATOR_E_SENTENCE = "!?:;";
public static String SEPERATOR_E_SUB_SENTENCE = ",()*'";
//注释:原来程序为",()\042'","\042"为10进制42好ASC字符,为*
public static String SEPERATOR_LINK = "\n\r  ";

//Seperator between two words
public static String WORD_SEGMENTER = "@";

public static int MAX_SEGMENT_NUM = 10;

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

0 comments on commit 03d3e63

Please sign in to comment.