|
@@ -4,6 +4,7 @@ import org.diagbot.nlp.participle.word.Lexeme;
|
|
|
import org.diagbot.nlp.participle.word.LexemePath;
|
|
|
import org.diagbot.nlp.participle.word.Segment;
|
|
|
import org.diagbot.nlp.util.CharacterUtil;
|
|
|
+import org.diagbot.nlp.util.Constants;
|
|
|
|
|
|
import java.io.IOException;
|
|
|
import java.io.Reader;
|
|
@@ -44,9 +45,9 @@ public class ParticipleToken {
|
|
|
//标准词
|
|
|
private String concept;
|
|
|
//缺省词性
|
|
|
- private String DEFAULT_PROPERTY = "99";
|
|
|
+ private String DEFAULT_PROPERTY = Constants.word_property_other;
|
|
|
|
|
|
- private String ARABIC_PROPERTY = "35";
|
|
|
+ private String ARABIC_PROPERTY = Constants.word_property_number;
|
|
|
|
|
|
private LexemePath<Lexeme> lexemePath;
|
|
|
|