Skip to content

Commit 09edc24

Browse files
committed
RD-2427: Update replacement data vars.
1 parent 22c70c6 commit 09edc24

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

examples/src/main/java/com/basistech/rosette/examples/SemanticVectorsExample.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2018 Basis Technology Corp.
2+
* Copyright 2019 Basis Technology Corp.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -36,7 +36,7 @@ public static void main(String[] args) {
3636
}
3737

3838
private void run() throws IOException {
39-
String embeddingsData = "Cambridge, Massachusetts";
39+
String semanticVectorsData = "Cambridge, Massachusetts";
4040

4141
HttpRosetteAPI rosetteApi = new HttpRosetteAPI.Builder()
4242
.key(getApiKeyFromSystemProperty())
@@ -46,7 +46,7 @@ private void run() throws IOException {
4646
//api.httpClient(CloseableHttpClient)
4747
// When no options, use <?>.
4848
DocumentRequest<SemanticVectorsOptions> request = DocumentRequest.<SemanticVectorsOptions>builder()
49-
.content(embeddingsData)
49+
.content(semanticVectorsData)
5050
.build();
5151
SemanticVectorsResponse response = rosetteApi.perform(HttpRosetteAPI.SEMANTIC_VECTORS_SERVICE_PATH, request, SemanticVectorsResponse.class);
5252
System.out.println(responseToJson(response));

examples/src/main/java/com/basistech/rosette/examples/SimilarTermsExample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2018 Basis Technology Corp.
2+
* Copyright 2019 Basis Technology Corp.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)