Integrating Adaptive Translation Training in SDL – API & Workflow Guidance

Hello everyone,

I am looking to integrate the Adaptive Translation Training feature into SDL. Adaptive Translation refers to a system that dynamically learns from training data to improve translation quality over time.
I would appreciate guidance on:

  1. How to enable and integrate Adaptive Translation within SDL?
  2. Any available API endpoints that support this feature.
  3. Best practices or any documentation that explains the implementation in detail.
  4. If there is an official API reference or documentation, please share the links. Any insights or examples would be highly appreciated!

Thank you!

Parents Reply
  • Hi  ,

    If you're looking to implement functionality to capture edits made within the segment editor and send them back to your engine for learning purposes, you'll want to leverage the Integration API by subscribing to specific event handlers on the Editor document. Specifically:

    Active segment changes: You can subscribe to the `ActiveSegmentChanged` event to detect when the user moves to different segments. This lets you actively monitor changes and edits in real-time.

    Capturing Segment Content: To capture segment content after the translator/post-editor has applied changes, subscribe to events such as, `ContentChanged` etc...

    Send SegmentPair to your engine (Learn button?): Consider implementing your own custom button/action (like your described "Learn" button) in the Trados Studio UI that explicitly sends the updated segment data

    This is a rough outline of steps you'd take for implementation that I've interpreted from your comments:

    • Reference `Sdl.Desktop.IntegrationApi.dll` in your Visual Studio plugin solution.
    • Subscribe to the segment-level editing events (like `ActiveSegmentChanged`).
    • Capture the currently edited segment (`ActiveSegment`) and send it to your custom learning engine.

    You can make specific reference to the public documentation to understand how to implement features from the ISegmentDocument or make reference to the public sample api projects, here: https://github.com/RWS/studio-api-docs

    I would also recommend you clone our public RWS community github repo as it contains alot of projects with integrations with the Editor that provide you with some good examples of 'How To' subscribe to the various event handlers from the IStudioDocument, here: https://github.com/RWS/Sdl-Community

Children
No Data