mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-11 03:58:14 +00:00
[improvement](Headless) Adding change event to tags and integrating tag into embeddings (#792)
This commit is contained in:
@@ -12,7 +12,7 @@ public enum DictWordType {
|
||||
|
||||
DIMENSION("dimension"),
|
||||
|
||||
VALUE("value"),
|
||||
VALUE("v"),
|
||||
|
||||
VIEW("view"),
|
||||
|
||||
@@ -20,7 +20,7 @@ public enum DictWordType {
|
||||
|
||||
NUMBER("m"),
|
||||
|
||||
TAG("tag"),
|
||||
TAG("t"),
|
||||
|
||||
SUFFIX("suffix");
|
||||
|
||||
@@ -45,7 +45,7 @@ public enum DictWordType {
|
||||
return dictWordType;
|
||||
}
|
||||
}
|
||||
//domain
|
||||
//view
|
||||
String[] natures = nature.split(DictWordType.NATURE_SPILT);
|
||||
if (natures.length == 2 && StringUtils.isNumeric(natures[1])) {
|
||||
return VIEW;
|
||||
|
||||
Reference in New Issue
Block a user