Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. When the input segment contains itself XML tags, like XLIFF tags, then these are ignored as the decoration is concerned. Firstly they are being parsed and removed from the segment. Then the decoration algorithm adds the translated terms to the segment and finally the removed XML tags are being added back to the decorated segment to the appropriate places. If the XML tags come in conflict with the <mrk> tags, then they get split. The <mrk> tags never get split, because one <mrk> tag always represent one translated term and splitting the <mrk> tags would affect the result of the decoration. Split XML tags, especially XLIFF tags with ids, might create inappropriate formats. This is why they should be handled by the user who receives the response.
    Example Segment: <g id=123>Terminology Management</g> Software
    Example Term: Management Software
    Decoration: <g id=123>Terminology </g><mrk><g id=123>Management<\g> Software</mrk>
  2. There are cases where multiple terms sharing common words are eligible to be included in the decoration. In this case not all of them can be included. Since TermWeb version 3.18.0.7 the longest one in characters is prioritized.
    Example Segment: Terminology Management Software
    Example Terms: Terminology Management (22 characters), Management Software (19 characters)
    Decoration: <mrk>Terminology Management</mrk> Software ('Terminology Management' is used instead of 'Management Software', because it is longer in characters)
  3. Homonyms are terms with exactly the same name, but different meaning. Homonyms are usually being created in different concepts. All homonyms are included in the decoration.
    Example Segment: Italian food is good.
    Example Terms: italian (the adjective), Italian (the language)
    Decoration: <mrk term:sourceTerm="italian"><mrk term:sourceTerm="Italian"/>Italian</mrk> food is good.
  4. Synonyms are also included in the decoration in the same manner.
    Example Segment: Italian food is good.
    Example Terms: food (eng), Essen (ger), Lebensmittel (ger)
  5. asdf