Re: Barbarism implementation proposal

From: Karl Ove Hufthammer (karl@huftis.org)
Date: Wed Sep 25 2002 - 12:05:04 EDT

  • Next message: Alan Horkan: "Re: FREE, Made With Abiword [was Re: logos?] webpage button"

    Dom Lachowicz <doml@appligent.com> wrote in news:36C308EC-CFFE-
    11D6-80C8-0003934B5C22@appligent.com:

    > 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
    


    This archive was generated by hypermail 2.1.4 : Wed Sep 25 2002 - 12:10:28 EDT