Machine translation segment origin?

Hi,

We have developed a machine translation plugin for Studio 2019 and 2020.

The user can select our MT plugin during project creation, which translates the project. When a user opens the pre-translated project and selects a segment in the editor, it sends it to the MT server.  In addition to the selected segments, it sends next 2 segments for the translation.

  1. Is there any way to access cache, so that rather than sending the segments for the translation again, use the cache instead?
  2. Is it possible to send only selected segment for the translation?
  3. The https://community.sdl.com/developers-more/developers/language-developers/f/forum/3549/caching-of-machine-translation-segments/13122#13122 has some suggestions on getting the "Origin" of the translation unit. However, the "Origin” is always "Unknown". Is there a way to know if the Translation origin is Automated Translation
  1. When I tried getting, translationUnit.DocumentSegmentPair.Properties.ConfirmationLevel.ToString(); I am not able to find Sdl.FileTypeSupport.Framework.Core.dll? Is the dll not supported anymore?

  

Thanks