summaryrefslogtreecommitdiff
path: root/native/annotator/experimental
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2020-05-29 01:06:48 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2020-05-29 01:06:48 +0000
commit0d4718caea1b5825131379266caecb35b0e1817d (patch)
tree923ac7a59ecb6513948acb04c55e982dc6f4da47 /native/annotator/experimental
parent02ac32ed54cc201c553c3411724eca962df1ffe8 (diff)
parentd1a33389176cea2f14bd877ea983b5569ef0348a (diff)
downloadlibtextclassifier-0d4718caea1b5825131379266caecb35b0e1817d.tar.gz
Snap for 6538275 from d1a33389176cea2f14bd877ea983b5569ef0348a to rvc-d1-release
Change-Id: I4c7c012ed6fa18310d333ed6e5b01ad9f732791d
Diffstat (limited to 'native/annotator/experimental')
-rw-r--r--native/annotator/experimental/experimental-dummy.h3
-rwxr-xr-xnative/annotator/experimental/experimental.fbs16
2 files changed, 18 insertions, 1 deletions
diff --git a/native/annotator/experimental/experimental-dummy.h b/native/annotator/experimental/experimental-dummy.h
index 0d50bca..389aae1 100644
--- a/native/annotator/experimental/experimental-dummy.h
+++ b/native/annotator/experimental/experimental-dummy.h
@@ -33,7 +33,8 @@ class ExperimentalAnnotator {
// always disabled;
static constexpr bool IsEnabled() { return false; }
- explicit ExperimentalAnnotator(const FeatureProcessor& feature_processor,
+ explicit ExperimentalAnnotator(const ExperimentalModel* model,
+ const FeatureProcessor& feature_processor,
const UniLib& unilib) {}
bool Annotate(const UnicodeText& context,
diff --git a/native/annotator/experimental/experimental.fbs b/native/annotator/experimental/experimental.fbs
index fff2d9e..6e15d04 100755
--- a/native/annotator/experimental/experimental.fbs
+++ b/native/annotator/experimental/experimental.fbs
@@ -1,3 +1,19 @@
+//
+// Copyright (C) 2018 The Android Open Source Project
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
namespace libtextclassifier3;
table ExperimentalModel {
}