aboutsummaryrefslogtreecommitdiffstats
path: root/linguistics/abi-spec.json
diff options
context:
space:
mode:
authorLester Solbakken <lesters@oath.com>2022-03-21 14:13:12 +0100
committerLester Solbakken <lesters@oath.com>2022-03-21 14:13:12 +0100
commit24555fae4aac0dadde821cac0b7cf85321027bce (patch)
treee323a494f1c326929d940345fc822848475c110b /linguistics/abi-spec.json
parentd0f6d0105b1a21f4871bdd347487c267399327c3 (diff)
Add convenience function to represent embedder as map
Diffstat (limited to 'linguistics/abi-spec.json')
-rw-r--r--linguistics/abi-spec.json4
1 files changed, 4 insertions, 0 deletions
diff --git a/linguistics/abi-spec.json b/linguistics/abi-spec.json
index 910056286ec..76fc071f440 100644
--- a/linguistics/abi-spec.json
+++ b/linguistics/abi-spec.json
@@ -354,6 +354,7 @@
],
"methods": [
"public void <init>()",
+ "public void <init>(java.lang.String)",
"public java.util.List embed(java.lang.String, com.yahoo.language.process.Embedder$Context)",
"public com.yahoo.tensor.Tensor embed(java.lang.String, com.yahoo.language.process.Embedder$Context, com.yahoo.tensor.TensorType)"
],
@@ -368,10 +369,13 @@
"abstract"
],
"methods": [
+ "public java.util.Map asMap()",
+ "public java.util.Map asMap(java.lang.String)",
"public abstract java.util.List embed(java.lang.String, com.yahoo.language.process.Embedder$Context)",
"public abstract com.yahoo.tensor.Tensor embed(java.lang.String, com.yahoo.language.process.Embedder$Context, com.yahoo.tensor.TensorType)"
],
"fields": [
+ "public static final java.lang.String defaultEmbedderName",
"public static final com.yahoo.language.process.Embedder throwsOnUse"
]
},