文档模型 TMX 1.4b
TMX 1.4b | GALA Global (gala-global.org)
26 April 2005
根节点
<tmx>
二级节点
<header>
必要属性:
creationtool, creationtoolversion, segtype, o-tmf, adminlang, srclang, datatype.
可选属性:
o-encoding, creationdate, creationid, changedate, changeid.
二级节点
<body>
有数个<tu>构成
<tu creationdate="20210712T022259Z" creationid="AutoTool">
<prop type="Txt::Original">The.Worlds.End.2013</prop>
<tuv xml:lang="en-US">
<seg>He loved it.</seg>
</tuv>
<tuv xml:lang="zh-CN">
<seg>他喜欢</seg>
</tuv>
</tu>
TAG标记:
<bpt>, <ept>, <it>, <ph>, and <hi>.
<bpt>, <ept> 必须成对出现
Begin paired tag - <bpt>用于限定本机代码成对序列的开头
每个 <bpt>在片段中都有一个相应的 <ept>
End paired tag - <ept> 用于限定本机代码成对序列的结尾
每个 <ept> 在片段中都有一个相应的 <bpt>
必要属性:i.
可选属性:x, type.
<tuv xml:lang="en-US">
<seg>This conference presents the new <bpt i="1" type="1" x="1" />education programme<ept i="1" /> unveiled by the Minister for Education last year.</seg>
</tuv>
<tuv xml:lang="de-DE">
<seg>Auf dieser Tagung wird das neue <bpt i="1" type="1" x="1" />Erziehungsprogramm<ept i="1" /> präsentiert, welches letztes Jahr vom Bildungsminister vorgestellt wurde.</seg>
</tuv>
<ph>
Placeholder - <ph> 元素用于在段中划出一系列独立部分
<tuv xml:lang="en-US">
<seg>For proper ventilation<ph x="1" type="ph14" />, make sure the top and back of the photo printer are not blocked.</seg>
</tuv>
<tuv xml:lang="de-DE">
<seg>Für eine gute Belüftung stellen Sie sicher<ph x="1" type="ph14" />, dass die Oberseite und Rückseite des Fotodruckers nicht blockiert sind.</seg>
</tuv>
<hi>
Highlight - <hi> 元素限定文本中具有特殊含义的部分,例如术语单位、专有名称、不应修改的项等。它可用于各种处理任务。例如,向机器翻译工具指示不应翻译的专有名称;对于术语验证,在语法检查后标记可疑表达式。