W3C home > Mailing lists > Public > public-multilingualweb-lt@w3.org > February 2013

RE: ACTION-447: Make a batch transformation of the test suite to xliff

From: Mārcis Pinnis <marcis.pinnis@Tilde.lv>
Date: Tue, 19 Feb 2013 15:54:19 +0200
To: "Dr. David Filip" <David.Filip@ul.ie>
CC: Yves Savourel <ysavourel@enlaso.com>, Multilingual Web LT Public List Public List <public-multilingualweb-lt@w3.org>, "Dave Lewis (dave.lewis@cs.tcd.ie)" <dave.lewis@cs.tcd.ie>, "Felix Sasaki (fsasaki@w3.org)" <fsasaki@w3.org>
Message-ID: <AC6FD4BB9BB02540AC7322091A6C3B5472B0FA1C3C@postal.Tilde.lv>
Hi Yves and David,

Thank you for the response. It got a bit clearer. As I understand, the progress so far means that the mapping for the categories Terminology, Domain, and Locale Filter is not yet stable. The category Elements Within Text is structural. Language Information is expressed with "xml:lang" attributes.

Also ... the files in their current status do not represent how the data categories will be mapped/applicable to XLIFF. That was not clear to me at the beginning ... it is now.

So ... a follow-up question - can you guess when some sort of a stable draft of the mapping will be available? Is there a time-frame for the XLIFF mapping?

Best regards,
Mārcis ;o)

-----Original Message-----
From: Dr. David Filip [mailto:David.Filip@ul.ie] 
Sent: Tuesday, February 19, 2013 3:28 PM
To: Mārcis Pinnis
Cc: Yves Savourel; Multilingual Web LT Public List Public List; Dave Lewis (dave.lewis@cs.tcd.ie); Felix Sasaki (fsasaki@w3.org)
Subject: Re: ACTION-447: Make a batch transformation of the test suite to xliff

Just one point for now..
It was agreed and is documented here

That its term will be encoded in xliff using the native markup, not its:term <mrk mtype='term'></mrk>


Dr. David Filip
University of Limerick, Ireland
telephone: +353-6120-2781
cellphone: +353-86-0222-158
facsimile: +353-6120-2734
mailto: david.filip@ul.ie

On Tue, Feb 19, 2013 at 12:24 PM, Mārcis Pinnis <marcis.pinnis@tilde.lv> wrote:
> Hi Yves, all,
> I had a look at the examples. I believe that either I am missing something (not understanding where the ITS 2.0 data is in the XLIFF documents) or there is some backwards compatibility of content lost when converting from the HTML/XML examples to XLIFF.
> 1. I had a look at the Terminology part and I could not find ITS 2.0 related terminology annotation in the XLIFF documents. I have attached my findings to this e-mail.
> 2. With the Locale Filter I see that instead of having ITS 2.0 mark-up, the whole fragment has been removed and replaced with a placeholder (is that because it is not possible to add Locale Filter mark-up in XLIFF at all?). This does not preserve the content, but filters out fragments based on ITS 2.0 consumption/production Use Case scenarios (which is I guess an internal process and not for data exchange purposes). And ... it actually does not show an XLIFF document with the Locale Filter data category metadata in it (that was what we wanted to see, but the examples, I believe do not show that). Is this because XLIFF would not be able to handle ITS 2.0 annotation or because of some other reasons (I am a bit confused here ... so I would like to clarify)?
> Some other findings (more in the attached file) 3. The Language 
> Information as I understand it, will be fully passed on to xml:lang (that is clear).
> 4. The Domain metadata seems to be transformed from ITS into an OKAPI internal structure.
> 5. The Elements Within Text information as I understand it, is just structural, so no mark-up is necessary (that is clear).
> Maybe I have just misunderstood what the XLIFF examples would contain? I had the understanding that the transformation to XLIFF would preserve ITS 2.0 metadata. Did I understand it wrong?
> Then ... I had a look also at the files in the "roundtrip-example" directory. As I understand from Yves e-mail, these are not valid XLIFF files, right?!
> I still had a look at the examples that contained terminology annotation. I believe Terminology is used incorrectly:
> <mrk its:terminology="yes" its:termInfoRef="#ge1">Arizona</mrk>
> The attribute is its:term="yes" rather than terminology... (or am I 
> again missing out some information?)
> The files seemed not to have Domain and LocaleFilter metadata in them - it would be great to see these categories in action as well.
> Best regards,
> Mārcis ;o)
> -----Original Message-----
> From: Yves Savourel [mailto:ysavourel@enlaso.com]
> Sent: Monday, February 18, 2013 4:52 PM
> To: 'Multilingual Web LT Public List Public List'
> Subject: ACTION-447: Make a batch transformation of the test suite to 
> xliff
> Hi all,
> I've done this action item.
> A batch file as well as the XLIFF output have been added to GitHub:
> https://github.com/finnle/ITS-2.0-Testsuite/commit/294018ba576799dcbee

> 7b9566da83837dd69f4ae
> Notes:
> -- The XLIFF outputs are often identical because the test files are just different ways to markup the same content.
> -- The XLIFF output often make little sense because the input exercises only one data category. For example, a storage size limitation set on a span ("inline") element will not show up on an inline element in XLIFF because there is no information in the input file that says the span element is 'within text' (since the test case is about the storage size). IHMO the output are rather useless.
> -- Most data categories have output, but only when the extraction use them. For example there is no output for directionality because, while the Okapi ITS engine process and provides that data category, the filter does nothing with it.
> Cheers,
> -yves
Received on Tuesday, 19 February 2013 13:54:48 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:32:04 UTC