|
|
@@ -31,6 +31,8 @@ public final class EntityTypeConstants {
|
|
|
Map.entry("term", "术语"),
|
|
|
Map.entry("entity", "实体"),
|
|
|
Map.entry("project", "项目"),
|
|
|
+ Map.entry("method", "标准规范"),
|
|
|
+ Map.entry("doc_id", "文件编号"),
|
|
|
Map.entry("other", "其他")
|
|
|
);
|
|
|
|
|
|
@@ -51,6 +53,8 @@ public final class EntityTypeConstants {
|
|
|
Map.entry("term", "📝"),
|
|
|
Map.entry("entity", "🏷️"),
|
|
|
Map.entry("project", "📋"),
|
|
|
+ Map.entry("method", "📖"),
|
|
|
+ Map.entry("doc_id", "📄"),
|
|
|
Map.entry("other", "📌")
|
|
|
);
|
|
|
|
|
|
@@ -71,6 +75,8 @@ public final class EntityTypeConstants {
|
|
|
Map.entry("term", "#2f54eb"),
|
|
|
Map.entry("entity", "#1890ff"),
|
|
|
Map.entry("project", "#faad14"),
|
|
|
+ Map.entry("method", "#9254de"),
|
|
|
+ Map.entry("doc_id", "#597ef7"),
|
|
|
Map.entry("other", "#8c8c8c")
|
|
|
);
|
|
|
|
|
|
@@ -90,14 +96,16 @@ public final class EntityTypeConstants {
|
|
|
Map.entry("device", "Device"),
|
|
|
Map.entry("term", "Term"),
|
|
|
Map.entry("entity", "Entity"),
|
|
|
- Map.entry("project", "Project")
|
|
|
+ Map.entry("project", "Project"),
|
|
|
+ Map.entry("method", "Method"),
|
|
|
+ Map.entry("doc_id", "DocumentId")
|
|
|
);
|
|
|
|
|
|
/**
|
|
|
* 预定义的类型排序顺序
|
|
|
*/
|
|
|
public static final java.util.List<String> TYPE_ORDER = java.util.List.of(
|
|
|
- "entity", "concept", "project", "data", "number", "money",
|
|
|
+ "entity", "concept", "project", "method", "doc_id", "data", "number", "money",
|
|
|
"person", "org", "loc", "location", "date", "device", "term", "other"
|
|
|
);
|
|
|
|