summaryrefslogtreecommitdiff
path: root/native/annotator/collections.h
diff options
context:
space:
mode:
Diffstat (limited to 'native/annotator/collections.h')
-rw-r--r--native/annotator/collections.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/native/annotator/collections.h b/native/annotator/collections.h
index 417b447..becdcdb 100644
--- a/native/annotator/collections.h
+++ b/native/annotator/collections.h
@@ -144,6 +144,36 @@ class Collections {
*[]() { return new std::string("otp_code"); }();
return value;
}
+ static const std::string& Art() {
+ static const std::string& value =
+ *[]() { return new std::string("art"); }();
+ return value;
+ }
+ static const std::string& ConsumerGood() {
+ static const std::string& value =
+ *[]() { return new std::string("consumer_good"); }();
+ return value;
+ }
+ static const std::string& Event() {
+ static const std::string& value =
+ *[]() { return new std::string("event"); }();
+ return value;
+ }
+ static const std::string& Location() {
+ static const std::string& value =
+ *[]() { return new std::string("location"); }();
+ return value;
+ }
+ static const std::string& Organization() {
+ static const std::string& value =
+ *[]() { return new std::string("organization"); }();
+ return value;
+ }
+ static const std::string& Person() {
+ static const std::string& value =
+ *[]() { return new std::string("person"); }();
+ return value;
+ }
};
} // namespace libtextclassifier3