Skip to content
Li Xu edited this page Mar 28, 2016 · 10 revisions

Critical Changes

These are modifications since the previous release that require changes in your calls to the binding.

1.0.0

  • Method matchName has been renamed to getNameSimilarity along with its corresponding request and response data model classes, from NameMatching to NameSimilarity
  • Method translateName has been renamed to getNameTranslation
  • The confidence score field has been removed from 'getEntities'
  • Method getSentiment now returns a sentiment for each resolved entity in addition to a document level sentiment
  • Method getSentiment can return neu (neutral) in addition to pos and neg
  • Enum MorphologicalFeature has been separated from the main API class
  • A new Label class has been added to represent sentiment and categories result elements, previously Sentiment and Category
  • Other removed data model classes:
    • InputUnit
    • ScriptResponse
    • PartOfSpeech
    • Lemma
    • HanReadings
    • CompoundComponents
    • CategoryTaxonomy
    • SentimentModel
    • NameMatchingResult
    • NameTranslationResult
    • SchemesResponse

Internal Changes

These changes should not require modifications to your bindings calls, but represent major internal changes, often correlating to Rosette API functional changes indicated here.

1.0.0

  • The unit, contentType, and contentBytes input parameters have been removed. Base64-encoded input should be sent in as an InputStream without any encoding.
  • The X-RosetteAPI-Request-Id and X-RosetteAPI-ProcessedLanguage values have been added as response headers.
  • Requests now use a builder pattern.

Clone this wiki locally