GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — removed concept expansion service · einsnull/java-sdk@e649d0d

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • README.md
  • examples/java/com/ibm/watson/developer_cloud/concept_expansion/v1
    • ConceptExpansionExample.java
  • src
    • main/java/com/ibm/watson/developer_cloud/concept_expansion/v1
      • ConceptExpansion.java
      • model
        • Concept.java
        • Dataset.java
        • Job.java
        • package-info.java
      • package-info.java
    • test/java/com/ibm/watson/developer_cloud/concept_expansion/v1
      • ConceptExpansionIT.java
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎README.md‎

Copy file name to clipboardExpand all lines: README.md
-28Lines changed: 0 additions & 28 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ APIs and SDKs that use cognitive computing to solve complex problems.
1818
* [Alchemy Language](#alchemy-language)
1919
* [Alchemy Vision](#alchemy-vision)
2020
* [Alchemy Data News](#alchemy-data-news)
21-
* [Concept Expansion](#concept-expansion)
2221
* [Concept Insights](#concept-insights)
2322
* [Dialog](#dialog)
2423
* [Document Conversion](#document-conversion)
@@ -154,33 +153,6 @@ DocumentsResult result = service.getNewsDocuments(params);
154153
System.out.println(result);
155154
```
156155

157-
### Concept Expansion
158-
Map euphemisms or colloquial terms to more commonly understood phrases using
159-
the [Concept Expansion][concept_expansion] service.
160-
Example: Create a job, wait for it to finish, and then retrieve results.
161-
162-
```java
163-
ConceptExpansion service = new ConceptExpansion();
164-
service.setUsernameAndPassword("<username>", "<password>");
165-
166-
String[] seeds = new String[] {"nyc", "dc", "london", "big cities"};
167-
String label = "demo";
168-
169-
Job job = service.createJob(label, seeds);
170-
171-
while (service.getJobStatus(job) == Job.Status.AWAITING_WORK
172-
|| service.getJobStatus(job) == Job.Status.IN_FLIGHT) {
173-
try {
174-
Thread.sleep(4000);
175-
} catch (final InterruptedException e) {
176-
e.printStackTrace();
177-
}
178-
}
179-
180-
System.out.println(service.getJobResult(job));
181-
```
182-
183-
184156
### Concept Insights
185157
Use the [Concept Insights][concept_insights] service to identify words in the text that
186158
correspond to concepts in a Wikipedia graph.
Collapse file

‎examples/java/com/ibm/watson/developer_cloud/concept_expansion/v1/ConceptExpansionExample.java‎

Copy file name to clipboardExpand all lines: examples/java/com/ibm/watson/developer_cloud/concept_expansion/v1/ConceptExpansionExample.java
-40Lines changed: 0 additions & 40 deletions
This file was deleted.
Collapse file

‎src/main/java/com/ibm/watson/developer_cloud/concept_expansion/v1/ConceptExpansion.java‎

Copy file name to clipboardExpand all lines: src/main/java/com/ibm/watson/developer_cloud/concept_expansion/v1/ConceptExpansion.java
-196Lines changed: 0 additions & 196 deletions
This file was deleted.
Collapse file

‎src/main/java/com/ibm/watson/developer_cloud/concept_expansion/v1/model/Concept.java‎

Copy file name to clipboardExpand all lines: src/main/java/com/ibm/watson/developer_cloud/concept_expansion/v1/model/Concept.java
-65Lines changed: 0 additions & 65 deletions
This file was deleted.

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.