aboutsummaryrefslogtreecommitdiffstats
path: root/linguistics/src/main/java/com/yahoo/language/process/Embedder.java
diff options
context:
space:
mode:
Diffstat (limited to 'linguistics/src/main/java/com/yahoo/language/process/Embedder.java')
-rw-r--r--linguistics/src/main/java/com/yahoo/language/process/Embedder.java10
1 files changed, 0 insertions, 10 deletions
diff --git a/linguistics/src/main/java/com/yahoo/language/process/Embedder.java b/linguistics/src/main/java/com/yahoo/language/process/Embedder.java
index d9d2256d0c1..fa141977d5d 100644
--- a/linguistics/src/main/java/com/yahoo/language/process/Embedder.java
+++ b/linguistics/src/main/java/com/yahoo/language/process/Embedder.java
@@ -88,7 +88,6 @@ public interface Embedder {
private Language language = Language.UNKNOWN;
private String destination;
private String embedderId = "unknown";
- private Map<String, String> contextValues;
public Context(String destination) {
this.destination = destination;
@@ -139,15 +138,6 @@ public interface Embedder {
this.embedderId = embedderId;
return this;
}
-
- /** Returns a read-only map of context key-values which can be looked up during conversion. */
- public Map<String, String> getContextValues() { return contextValues; }
-
- public Context setContextValues(Map<String, String> contextValues) {
- this.contextValues = Map.copyOf(contextValues);
- return this;
- }
-
}
class FailingEmbedder implements Embedder {