TM API - TM object - tokenizerflags vs recognizer

Hello developer team,

we are preparing the migration of our TMs on Group Share 2020. We want to create TMs that are exactly set up like on the old server. For this, we export the TM properties and we import them on the new server.

In the list of properties of a TM, we have 2 similar objects: TokenizerFlags and Recognizers. In the user interface, we can see the recognizers (date, numbers, alphanumerics...) but we can't set any tokenizer flags. Can you explain what's the difference between tokenizerflags and recognizers is and how the tokenizerflags are set when a TM is created manually?

Thank you

Sébastien Desautel

Parents Reply
  • Hi Sébastien, 

           The TokinezerFlags are impacting the word count flags. The correct value that you need to set on the language resource template of the TM is DefaultFlags. Recognizer, tokenizer and word count flags need to be set on the template of the TM. In your case you can either create a template and use that across the TM's or create the TM save it in the server that will create a private TM template associated with the TM and set the flags. You can set the flags on the TM : ServerBasedTranslationMemory has all the flags that will update the private language resource template. 

           I hope that shared some light on your questions. 

    Best regards,

    Robert

Children