Does anyone know if there is a way to import an SDL TMS SRX file into a Studio (*.sdltm) for use as the segmentation rules? I want to make sure my jobs created on the desktop match my segmentation in SDL TMS.

I want to create jobs on my desktop using Studio that use the same segmentation rules that we use in SDL TMS which uses SRX. How can I import the SRX rules into an SDLTM for use in Studio?

Parents Reply Children
  • Additionally, I do not really need/want to apply any TM to my file. I am more concerned with the segmentation. The fact that I need to create a TM for each language I plan to work with to get the appropriate segmentation rules is a bit cumbersome. Maybe I am just used to how things worked in SDLX where I selected the SRX for all languages and it persisted for any future jobs.
  • Hi Octavio,

    Yes, I'd agree with you that the solution in Studio is a bit cumbersome.  The way it worked in SDLX and obviously TMS made a lot more sense in this regard.  You don't actually need a TM though, you can use a Language Resource Template to act as a template for future TMs but the very fact you need to use the TM for segmentation (created based on your template anyway) on your files as opposed to the Language Resource Template is where it loses its value I think.  Worth noting of course that if you just keep empty TMs for this purpose then it may provide a bit of a workaround as they would be fulfilling the same purpose.  You could create custom tasks in Studio to just prepare the project based on the TM rules rather than the SRX rules, but don't pretranslate or analyse.

    Maybe you can address this programatically?  There is a thread started by another customer who is constructing a way to use the SRX rules from WorldServer (I think):

    Maybe this would be a helpful approach for you?

    Regards

    Paul

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

  • Paul,
    I have not tried the API mentioned above but i see what you mean about the Language Resource Template. The sad part there is that I would have to create one per language, right? The same goes for a blank TM that I would have to maintain for any language that I wanted to test SRX with.

    I did also realize that I can copy and paste my SRX regx using Add... > Advanced View from the Segmentation Rules dialog. I had not noticed that before. It is a bit painful though since exceptions apply only to that one rule... and thus you would have to add exceptions to each segmentation rule you create which makes it even more cumbersome. Maybe I will have to look into that API.
    producthelp.sdl.com/.../AE_SegRul.htm
  • Hello Octavio,

    Unknown said:
    The sad part there is that I would have to create one per language, right?

    Yes.  This is a design decision, which occasionally comes under scrutiny, as you do need separate templates for each language instead of being able to create a single set of rules that could be applied to all TMs.  I'd like to see an improved, or rather more flexible, approach here too.

    Let us know if you do tackle the API and find a way to resolve this in a more practical way?

    Regards

    Paul

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

  • Hello,

    I have exactly the same problem described by Octavio.  SDLX has now been discontinued and all Studio training on language resources is based on Studio dialog boxes and I only have a .srx  file which is what TMS uses. I know I can edit the file with Notepad++ for example but then i need to know about RegEx rules and I'm not very good at that. Is there any app or plug-in that can be attached to Studio to edit SRX files for this purpose?