Dom Lachowicz <[EMAIL PROTECTED]> wrote in news:36C308EC-CFFE-
[EMAIL PROTECTED]:

> It should look
> something like this instead:
>
> <barbarism word="tamany">
>      <suggestion word="mida" />
>      <suggestion word="grand�ria" />
>      <suggestion ... />
> </barbarism>

I suggest moving the original word to elements too (generally,
in XML it's a good idea to never use attributes for normal text -- 
only for codes and similar things). Also, it should be possible to
have several original words (with the same meaning), but with the
same suggestion. Norwegian example:

<barbarism>
  <original>
    <word>e-mail</word>
    <word>email</word>
    <word>mail</word>
  </original>
  <suggestions>
    <word>e-post</word>
    <word>e-brev</word>
  </suggestions>
</barbarism>

This is much more compact than having equal entries for each
original word ('e-mail', 'email', 'e-mail').

One more thing. This only works on individual words. Would it be
possible to support leading and trailing words/articles? For
example, in Norwegian, 'ein e-mail' should be changed to either
'ein e-post' or 'eit e-brev' (note 'eit', not 'ein' for 'e-brev').
Other languages use similar articles (e.g. 'la' and 'le' in
French).

-- 
Karl Ove Hufthammer

Reply via email to