java-sdk

Java SDK to use the IBM Watson services.

APACHE-2.0 License

Stars
590
Committers
89

Bot releases are hidden (Show)

java-sdk - 3.7.2

Published by germanattanasio over 7 years ago

Version 3.7.2

2017-04-07

  • New: Provide a specific document Id when creating a document d581c3f
  • New: NLU: Add model for disambiguation and property in EntitiesResults 8acb411
  • New: Add test for disambiguation info 9328c5f
  • Fix: Discovery: create or update a document from an InputStream and optionally spec… … ab2f413
  • Fix: Add README.md for Natural Language Understanding 4e53c8f
  • Fix: 👕 Checkstyle Verified a95c68d
  • Fix: TTS Synthesize using POST, fixes #635 and #602 Verified 5ae0d24
  • Fix: Language translator, update service name Verified 37abc86
java-sdk - 3.6.0

Published by germanattanasio over 7 years ago

Version 3.6.0

2017-03-07

  • New: Automatic releases
  • Change: Update OkHttp to v3.6.0
  • New: Speech to Text: Add addCorpus() method, deprecate addTextToCustomizationCorpus() method
  • New: Speech to Text: Add getCorpus() method
  • New: Speech to Text: Add sort parameter to getWords() method
  • New: Speech to Text: Add SupportedFeatures for SpeechModel object
  • New: Speech to Text: Add and fix constructors for Word object
  • New: Speech to Text: Add count to WordData object
  • New: Speech to Text: Add confidence to SpeakerLabel object
  • New: Speech to Text: Add warnings to RecognitionJob object
  • Fix: Speech to Text: Enable customization_id for recognizeUsingWebSocket() method
  • Fix: Speech to Text: Fix allowOverwrite parameter of addTextToCustomizationCorpus() method
  • Fix: Speech to Text: Fix error field for WordData object
  • New: Text to Speech: Add createCustomVoiceModel() and updateCustomVoiceModel() methods, deprecate saveCustomVoiceModel() method
  • New: Text to Speech: Add addWords() and addWord() methods, deprecate saveWords() method
  • New: Text to Speech: Add getWord() method
  • New: Text to Speech: Add getCustomVoiceModel() method with CustomVoiceModel argument
  • New: Text to Speech: Add deleteWord() method with String argument
  • New: Text to Speech: Add words to CustomVoiceModel object
  • New: Text to Speech: Add part_of_speech to CustomTranslation object
  • Fix: Text to Speech: Enable customization results for getVoice() method
  • New: Tradeoff Analytics: Add findPreferableOptions parameter to dilemmas() method
  • New: Tradeoff Analytics: Add PreferableSolutions object to Resolution object
  • New: Tradeoff Analytics: Add DominatingOption object to Solution object
java-sdk - 3.7.0

Published by germanattanasio over 7 years ago

Version 3.7.0

2017-03-19

  • New: Added Natural Language Understanding
  • Fix: Text-to-Speech failed with combine of special characters, e.g Spanish + ";" bug text-to-speech #602
  • Fix: Alchemy Language - CombinedResults missing Emotion #545
java-sdk - 3.5.3

Published by germanattanasio almost 8 years ago

Version 3.5.3

2016-12-15

  • New: Added Discovery v1
java-sdk - 3.5.2

Published by germanattanasio almost 8 years ago

Version 3.5.2

2016-12-08

  • New: Added Speaker Labeling (diarization) added
  • New: Added Conversation + Tone Analyzer example
  • New: Added byte array support to classify an in memory image
  • Fix: Text to Speech: getPronunciation() and getVoice now accept a customizationId parameter.
java-sdk - 3.5.1

Published by germanattanasio almost 8 years ago

Version 3.5.1

2016-11-01

  • Fix: Remove limitation when creating a Solr cluster
java-sdk - 3.5.0

Published by germanattanasio almost 8 years ago

Change Log

Version 3.5.0

2016-10-19_20

  • New: Personality Insights v3
  • New: Speech to Text Customizations
  • New: Conversation version date 2016-09-19
  • Fix: Calling synthesize in Text to Speech now accepts a rate for PCM. #454
  • Fix: READMEs now point to the right maven dependency #459
  • Fix: AlchemyLanguage now has anchor dates for combine calls
  • Fix: Retrieve and Rank topAnswer bug #456
java-sdk - 3.4.0

Published by germanattanasio about 8 years ago

Change Log

Version 3.4.0

2016-09-29

The SDK 3.4.0 is the first step into moving from one maven module into a multi-module project.
This change will allow users to specify the service they want to use skipping the other services.
For example, in order to use Retrieve and Rank in Gradle you need:

 'com.ibm.watson.developer_cloud:retrieve-and-rank:3.4.0'
  • New: Move to a maven multi-module project
  • Fix: Send default headers in WebSocket connections #422
  • Fix: Skip token creation if skipAuthentication=true #440
java-sdk - 3.3.1

Published by germanattanasio about 8 years ago

Version 3.3.1

2016-09-07

  • New: AlchemyLanguage now returns the sourceText in the combined call.
  • New: Add french broadband model to Speech to Text
  • Fix: Add extracted dates to Alchemy Language combined call #436
  • Fix: Speech to text example closes the connection.
  • Fix: The extracted dates to Alchemy Language combined call #436
  • Fix: removed deprecated services: Concept Insights and Relationship Extraction.
  • Fix: Add missing parameter in document conversation. #428
  • Fix: Add smart_formatting to Speech to Text
java-sdk - 3.3.0

Published by germanattanasio about 8 years ago

Change Log

Version 3.3.0

2016-08-08

  • New: Tests are ignored if config.properties doesn't have valid credentials
  • New: Document Conversion can index documents directly into Retrieve and Rank
  • New: Visual Recognition Re-training
  • New: Conversation v1: MessageRequest now supports entities and intents
  • New: AlchemyLanguage typedRelations entities and intents
  • New: Speech to Text keyword_spotting
  • Fix: Remove Relationship extraction v1 Beta
  • Fix: Remove Tone Analyzer v3 Beta
  • Fix: 🔥 update version_date for Visual Recognition to be 2016-05-20
  • Fix: Remove warning when JDNI can't find credentials
java-sdk - v3.2.0

Published by germanattanasio about 8 years ago

CHANGES

  • New: Conversation v1
  • New: Text To Speech now supports audio/basic, audio/i16 and ogg/vorgis
  • New: AlchemyLanguage now has a TypedRelation method that extract relationships and entities from text
  • Fix: Speech to Text now returns the voice description when calling getVoices()
  • Fix: url from VCAP_SERVICES take presecent over the default url
  • Fix: Removed Relationship Extraction v1-beta
  • Fix: Removed Tone Analyzer v3-beta

🔆🔆🔆
🔆🔆🔆

java-sdk - v3.0.1

Published by germanattanasio over 8 years ago

The SDK 3.0.1 introduced support for react (use rx()). Services can now be combined using react in a synchronous or asynchronous calls and calls more efficiently.

CHANGES

  • New: The User-Agent can be customized
  • New: Services added:
    • Visual Recognition v3
    • Conversation v1-experimental
    • Tone Analyzer v3
  • New: profanity_filter added to Speech to Text
  • New: Introduce reactive API calls (use rx())
  • New: Added new voices to Speech to Text
  • New: getVoice() in Speech to Text and Text to Speech
  • New: keyword_spotting in Speech to Text
  • New: AlchemyLanguage now provides typedRelations() from Relationship Extraction
  • Fix: Error when running in Android and using JDNI
  • Fix: Error when loading ContentItems from a file in Personality Insights
  • Fix: Conceptual search in Concept Insights now return the user_fields
  • Fix: Content-Type in Speech to text when using flac files
  • Fix: Warning when calling Alchemy services regarding connections being leaked
  • Fix: Added missing fields in AlchemyDataNews
  • Fix: SSL certificate issues when running in Bluemix and using the IBM JDK

There were also important changes on how we test the services and lots of bug fixing. Here is the list with all the issues we close in this release
🔆🔆🔆
🔆🔆🔆

CONTRIBUTORS

This release was driven mainly by @max-vogler with some help from @GrapeBaBa. 🚀

java-sdk - java-sdk-3.0.0-RC1

Published by germanattanasio over 8 years ago

Breaking Changes for v3.0

The version 3.0.0-RC1 is a major release focused on simplicity and consistency. Several breaking changes were introduced.

Synchronous vs Asynchronous

Before 3.0 all the API calls were synchronous

List<Dialog> dialogs = dialogService.getDialogs();
System.out.println(dialogs);

Now to do synchronous call you need to add execute()

List<Dialog> dialogs = dialogService.getDialogs().execute();
System.out.println(dialogs);

To do asynchronous calls you need to specify a callback

service.getDialogs().enqueue(new ServiceCallback<List<Dialog>>() {
  @Override
  public void onResponse(List<Dialog> response) {
    System.out.println(response);
  }

  @Override
  public void onFailure(Exception e) {
  }}
);

For more information, take a look at the CHANGELOG.

Migration

To migrate to 3.0 from a previous version, simply add .execute() to the old methods.
For example if you previously had

List<Dialog> dialogs = dialogService.getDialogs();
System.out.println(dialogs);

Just add execute() on the end and your code will work exactly the same as before.

List<Dialog> dialogs = dialogService.getDialogs().execute();
System.out.println(dialogs);
java-sdk - v2.10.0

Published by germanattanasio over 8 years ago

CHANGES

@GrapeBaBa [java-sdk] Fix idea build and ignore idea .ipr file 768007a
@GrapeBaBa Merge branch 'master' of github.com:watson-developer-cloud/java-sdk e86d559
@GrapeBaBa [java-sdk] Refine some explicit small bad codes. 33b0f11
@germanattanasio Merge pull request #237 from watson-developer-cloud/2.10.0 … aa29192
@germanattanasio Merge branch 'master' of https://github.com/GrapeBaBa/java-sdk into G… … 557c177
@germanattanasio Merge branch 'GrapeBaBa-master' 8962c96
@germanattanasio merged pull requests 5c11dc6
@GrapeBaBa [Alchemy] Added set/get method for sentiment field #232. bec53ae
@GrapeBaBa Merge branch 'master' into master f66d84d
@germanattanasio Merge pull request #239 from GrapeBaBa/master … e1ab4b8
@tanmayb123 Update LanguageTranslation.java 76d6504
@tanmayb123 Create Language.java f433257
@tanmayb123 Update LanguageTranslationTest.java 5a60584
@tanmayb123 Update LanguageTranslationIT.java 5a927c2
@tanmayb123 Update Language.java 52b2830
@tanmayb123 Update LanguageTranslation.java 808adb4
@tanmayb123 Update Language.java 6229fb8
@tanmayb123 Update Language.java cb1f5b4
@tanmayb123 Update Language.java c42e68b
@tanmayb123 Update Language.java fe5689e
@GrapeBaBa [Language-translation] rename. d473507
@GrapeBaBa [Language-translation] rename. e3b00a5
@GrapeBaBa [Language-translation] fix issue #240. f97a1ca
@GrapeBaBa [Language-translation] cancel change import *. a9b10f2
@tanmayb123 Update Language.java 916c42e
@germanattanasio Merge pull request #244 from GrapeBaBa/master … 4871c0e
@germanattanasio Merge branch 'pr/241' 0c676db
@germanattanasio Merge changes and pull requests f658518
@germanattanasio Merge remote-tracking branch 'origin/master' … c52a0e1
@germanattanasio removed concept expansion service e649d0d
@GrapeBaBa [General-sdk] Unify file name and small polish. 7f1e620
@germanattanasio fixes #242 Closes the response stream. ad54e33
@germanattanasio Merge branch 'master' of git://github.com/GrapeBaBa/java-sdk into pr245 c026c3a
@germanattanasio Merge branch 'pr245' f14778d
@germanattanasio bump to 2.10.0 810f628
@germanattanasio [maven-release-plugin] prepare release java-sdk-2.10.0 70b51ef
@germanattanasio [maven-release-plugin] prepare for next development iteration 9d2da7d
🔆🔆🔆

CONTRIBUTORS

This release was driven mainly by @GrapeBaBa with some help from @tanmayb123. Two great :octocat:

@GrapeBaBa Fixed AlchemyLanguage and Language Translation issues, helped other contributors write pull request and work on standardizing the code style. 🎈 🚀 💯

@tanmayb123 Fixed an AlchemyLanguage issue related to language detection and added enumeration to Language Translation

java-sdk -

Published by germanattanasio over 8 years ago

CHANGES

This release introduces getImageSceneText() in AlchemyVision and fixes issues related to json serializer/deserializer and WebSockets in Speech to Text.

@germanattanasio [ci skip] bump up version to 2.9.0 54fff5d
@germanattanasio Update encrypted file for travis to run the integration tests b9a7a6a
@germanattanasio [tone-analyzer] update integration tests 94e96cd
@germanattanasio [tone-analyzer] remove Tone Analyzer v1 ad98a3c
@germanattanasio bump up son and nv-websocket-client versions 3ed6081
@germanattanasio cleanup the code ea38e6c
@germanattanasio [alchemy] added emotion analysis #197 d8b8699
@germanattanasio [alchemy] Number format exception when there is no tag returned by the… 69b3bb3
@germanattanasio [alchemy] Remove unused imports 7d36a0e
@germanattanasio [dialog] Added integration test to validate #206 7b84a67
@germanattanasio [dialog] Added integration test to check that the updateProfile method… 5756e6e
@germanattanasio [speech-to-text] Fix IndexOutOfBounds when result Index is greater than… 503bbc9
@germanattanasio Added a gson singleton without pretty printing. #209 de48467
@germanattanasio [alchemy] Added date extraction, fixes #210 70693b4
@germanattanasio [concept-insights] Allow corpus documents to be listed specifying only… c95a6d8
@germanattanasio [dialog] Fix for getConversationData son not being parsed #211 28f7849
@germanattanasio [Alchemy] Serialize Boolean using yes or no to fix #214 c4b2c27
@l2fprod [alchemy-vision] deeper testing of the json c6b333c
@l2fprod [alchemy-vision] adding support for scene text issue #200 7a3ff03
@germanattanasio added issue and pull request templates 35d7353
@gjs29 Update version of SolrJ used in RR example 14f583e
@germanattanasio Added some test cases for various servcies 918386c
@gjs29 Remove Java 7 elements from RR client... 804ea6e

🔆🔆🔆

CONTRIBUTORS

@l2fprod Added support for getImageSceneText() in AlchemyVision.

java-sdk -

Published by germanattanasio over 8 years ago

CHANGES

This release introduced Tone Analyzer V3 and fixes a issue when using InputStream in Visual Recognition.

@eddiezane [alchemy-vision] Fix example in README.md 266a771
@germanattanasio Merge pull request #188 from eddiezane/dev … 6429c3f
@herchu [tone-analyzer] First version for v3 wrapper de7e64e
@germanattanasio Merge pull request #193 from herchu/dev … 2a96d6a
@germanattanasio [tone-analyzer] Add support for v3 38a8e02
@germanattanasio [code formatting] d480ea2
@germanattanasio merge unit test and integration test results af5c7c6
@germanattanasio switch back to cobertura 093ee3f
@germanattanasio switch back to use cobertura.xml 9b7d287
@germanattanasio Fixes #190 eeebb1e
@germanattanasio Update coverage badge 6ab0471
@germanattanasio exclude model classes 7dd7dd7
@germanattanasio [tone-analyzer] v3 updated 98a6274
@germanattanasio 2.8.0 ae51e46
:bowtie::bowtie::bowtie:

CONTRIBUTORS

@eddiezane Fixed example in the README file

java-sdk -

Published by germanattanasio over 8 years ago

CHANGES

This release includes fixes for:

  • [speech-to-text] do not disconnect on interim results with final = true #182
  • [speech-to-text] UnknownHostException: Unable to resolve host "stream.watsonplatform.net" #176
  • [language-translation] forced glossary, monolingual corpus or parallel corpus should be allowed #172
  • Error: unknown tag (prallel_corpus_ct) #171
  • Add X-Watson-Opt-Out to opt out integration tests #169
  • [concept-insights] Corpus model doesn't support expiration date #168
  • java.lang.NoClassDefFoundError: Failed resolution of: Ljavax/naming/InitialContext; #167

COMMITS

@g-may fix typo in IDHelper (accoundId --> accountId) c464f18
@germanattanasio Update README.md d237d92
@germanattanasio Updated websocket dependency 0dc3bbc
@germanattanasio Get the http string from the http InputStream 1893993
@germanattanasio Fixed #171 wrong query parameter 6e84e5a
@germanattanasio [concept-insights] Add expires_on and ttl_hours fields to the corpus … 05b1f69
@germanattanasio Added X-Watson-Learning-Opt-Out to prevent payload from being use to … 9417177
@germanattanasio [language-translation] Allow more than one file to be used when … 43e5e51
@germanattanasio Fix for java.naming.InitialContext that was preventing android users … 140bfa4
@germanattanasio Updated authorizations keys in travis f43770c
@germanattanasio [dialog] Deprecate the old method in favor of #177 a75fab5
@germanattanasio Close the input stream for JSON HTTP responses after we read the json. e5fce41
@germanattanasio [language-translation] Sleep for 3 seconds after creating a model to be … bbb6e9a
@germanattanasio Fix default headers replacing existing headers in WatsonService 137131d
@tanmayb123 tanmayb123 Create REReturnType.java cc27cb9
@germanattanasio #184 make sure it runs in java 1.6 46c1441
@germanattanasio [speech-to-text] Fix for WebSocket being disconnected during final … d74517e
@tanmayb123 tanmayb123 Update REReturnType.java eca25cc
@tanmayb123 tanmayb123 Update REReturnType.java 1e45a23
@tanmayb123 tanmayb123 Update RelationshipExtraction.java 73b1e0c
@tanmayb123 tanmayb123 Update RelationshipExtraction.java abd876a
@tanmayb123 tanmayb123 Update REReturnType.java c2cb059
@tanmayb123 tanmayb123 Update RelationshipExtraction.java 850d4c5
@tanmayb123 tanmayb123 Rename REReturnType.java to ReturnType.java 88b27b4
@tanmayb123 tanmayb123 Update RelationshipExtraction.java 81e80b5
@tanmayb123 tanmayb123 Update RelationshipExtraction.java cbb5fd5
@germanattanasio Merge pull request #185 from tanmayb123/dev … c321fd3
@germanattanasio [speech-to-text] Send close message to the WebSocket once we get the … 5902df2
@germanattanasio Merge branch 'dev' of github.com:watson-developer-cloud/java-sdk into… … 4d06966
@germanattanasio [maven-release-plugin] prepare release java-sdk-2.7.1 322cbd7
@germanattanasio [maven-release-plugin] prepare for next development iteration e2b4041

:bowtie::bowtie::bowtie:

CONTRIBUTORS

@tanmayb123 Added support for returning JSON along with XML in Relationship Extraction
@g-may Fixed a misspelled word in Concept Insights

java-sdk - java-sdk-2.7.0

Published by germanattanasio over 8 years ago

CHANGES

This release includes fixes for concepts not being serialized #163 and Dates not being deserialized correctly #149.

@g-may [concept-insights] fix getDocumentRelationScores description 0c68446
@germanattanasio Merge pull request #162 from g-may/patch-2 … 715dda2
@sreya92 Add support for jndi API key lookup 4af269d
@germanattanasio Merge pull request #164 from sreya92/master … 4b0093d
@germanattanasio [concept-insights] fix for concepts not being correctly serialized #163 6102075
@germanattanasio Added codecov d31e3cf
@germanattanasio [retrieve-and-rank] Update example dependencies 17d2de6
@germanattanasio Fix for Date formatting not including timezone #149 3af47d8
@germanattanasio Added test for 409 Conflict Exceptions b76e2cc
@germanattanasio [speech-to-text] integration test code cleanup 424640d

🐎 🐎 🐎

CONTRIBUTORS

@jgawor and @sreya92 for the changes to support JNDI API lookup :octocat: :octocat:
@g-may for reporting a bug in the Concept Insights service 💬

java-sdk - java-sdk-2.6.0

Published by germanattanasio almost 9 years ago

This release includes support for WebSockets(#15) and the fix for Wave files not including the size in the header (#81)

CHANGES

@germanattanasio [text-to-speech] Add a WaveUtils class to fix the .wav header #81 0d929b3
@germanattanasio [text-to-speech] write data size in input streams #81 520a779
@germanattanasio [text-to-speech] Added test for the fix to write the wave header #81 41de597
@germanattanasio [document-conversion] fix example cc5bc8d
@germanattanasio [speech-to-text] WebSockets support for speech to text 34d305e
@germanattanasio [speech-to-text] Added web socket example and code review for web … 61a9909
@germanattanasio [speech-to-text] Added Websocket example #15 211ac07
@germanattanasio [concept-expansion] Removed label requirement f87a849
@germanattanasio [speech-to-text] Added CountDownLatch to show interim results when … 2f795b5
@germanattanasio [concept-insights] fixed create-delete corpus integration test bb11bf5

java-sdk - java-sdk-2.5.0

Published by germanattanasio almost 9 years ago

CHANGES

@germanattanasio Update CONTRIBUTING.md 316f427
@PranavSathy [speech-to-text] Added timestamps and word confidences to STT 19fcc72
@germanattanasio [concept-expansion] Added support for v1-beta 07d9e0e
@germanattanasio [personality-insights] Switch from “double” to “Double” in Trait #151 c0274e5
@germanattanasio [visual-recognition] Added support for v2 which includes training … ba59e63
@germanattanasio Switch to use Double instead of double to distinguish between null and … 44eae39
@germanattanasio bump up dependencies ece7610
@germanattanasio [visual-recognition] fix debugger issue by checking the first … 9fd50b3
@germanattanasio [tradeoff-analytics] update Solution 2dcede1
@germanattanasio [tradeoff-analytics] Fix models by adding statusCause to the Solution … 54d032b
@germanattanasio [tradeoff-analytics] Updated javadoc f0bed5d
@germanattanasio [tradeoff-analytics] remove “final” from variables in the integration … 4cfd195
@germanattanasio [alchemy] Added javadoc to the AlchemyVision service 71d5d5f
@germanattanasio [text-to-speech] Improved javadoc 7e0d1b1
@germanattanasio [visual-recognition] test the classifier delete call 85ebaa3
@germanattanasio Added Javadoc to language translation, relationship extraction, … a958256
@germanattanasio [speech-to-text] Detect the audio format automatically based on the … e2fd23e
@germanattanasio GSON Singleton Javadoc documentation 5fcb46c
@germanattanasio update build.grade dependencies 95a12ac
@germanattanasio [concept-expansion] updated example and README.md 85d997a

Package Rankings
Top 7.78% on Repo1.maven.org
Badges
Extracted from project README
Build and Test Deploy and Publish Maven Central CLA assistant Build Status
Related Projects