Subject: RE: [Ltru] scored filtering demo...

From: "Addison Phillips" <[email-masked]>
Date: Sun, 20 Nov 2005 10:35:32 -0800

Hi Harald,

The differences are interesting, aren't they?

The first one follows the current text in the draft, in which missing fields in ranges and tags expand to wildcards like this:

en-US
   Tag:   (en, *, US, *, *)
   Range: (en, *, US, "", "")

The second variant reverses the expansion:

en-US
   Range: (en, *, US, *, *)
   Tag:   (en, *, US, "", "")

The third variation does *no* wildcard expansion:

en-US
   Tag:   (en, "", US, "", "")
   Range: (en, "", US, "", "")

Addison

Addison P. Phillips
Globalization Architect, Quest Software

Internationalization is not a feature.
It is an architecture. 

> -----Original Message-----
> From: Harald Tveit Alvestrand [mailto:[email-masked]]
> Sent: 2005年11月20日 6:19
> To: Addison Phillips; [email-masked]
> Subject: Re: [Ltru] scored filtering demo...
> 
> 
> 
> --On fredag, november 18, 2005 16:22:13 -0800 Addison Phillips
> <[email-masked]> wrote:
> 
> > There is a demo page for scored filtering on my website based on my
> > little Java implementation of the Scored Filtering in draft-06.
> >
> > http://www.inter-locale.com/langtags/index.jsp
> >
> > The demo has one quirk: grandfathered tags are not parsed properly, so
> > "en-boont" produces funny scores (it doesn't match the range 'en', for
> > example).
> >
> > There is a canned list of language tags that the range you enter is
> > compared to. There may be bugs as yet.
> >
> > Based on some light experimentation, we may wish to change aspects of
> the
> > algorithm (especially expansion of fields in either ranges or tags to
> the
> > wildcard).
> 
> hmm... very interesting!
> 
> de-CH gives zero distance to de, de-CH and de-Latn in the first variant,
> zero distance to de-CH and de-Latn-CH-1901 in the second variant, and de-
> CH
> only in the third variant.
> 
> It wasn't clear to me what the difference between the 3 variants was...

_______________________________________________
Ltru mailing list
[email-masked]
https://www1.ietf.org/mailman/listinfo/ltru