lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Rowe (JIRA)" <>
Subject [jira] Commented: (LUCENE-1390) add ISOLatinAccentFilter and deprecate ISOLatin1AccentFilter
Date Wed, 17 Sep 2008 20:33:44 GMT


Steven Rowe commented on LUCENE-1390:

I think that at a minimum, the Latin Extended Additional block [U+1E00-U+1EFF] should be added,
since it is included in Unicode v3.0 (the version of Unicode that Java 1.4.2 is conformant
with), and it consists mainly of characters which have exact diacritic-stripped ASCII versions.
 Wikipedia doesn't seem to have a page for this block, and I can't find a code chart PDF for
Unicode v3.0 on, so here's the PDF for Unicode v5.1 (the latest version):

Probably should check against the [Unicode 3.0 data file|]
to make sure there haven't been any changes to this block between v3.0 and v5.1.0 - i.e.,
to make sure that the above-linked PDF is accurate for Unicode v3.0.

There is one more Latin block listed in the [Unicode 3.0 blocks data file|]:
[Latin Extended-B|].  Since many
of the characters in this block don't have exact diacritic-stripped ASCII versions, maybe
it could be argued that they shouldn't be included in this filter.  A fair proportion of them
(maybe 40%), however, do.

> add ISOLatinAccentFilter and deprecate ISOLatin1AccentFilter
> ------------------------------------------------------------
>                 Key: LUCENE-1390
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Analysis
>         Environment: any
>            Reporter: Andi Vajda
>         Attachments:
> The ISOLatin1AccentFilter is removing accents from accented characters in the ISO Latin
1 character set.
> It does what it does and there is no bug with it.
> It would be nicer, though, if there was a more comprehensive version of this code that
included not just ISO-Latin-1 (ISO-8859-1) but the entire Latin 1 and Latin Extended A unicode
> See:
> See:
> That way, all languages using roman characters are covered.
> A new class, ISOLatinAccentFilter is attached. It is intended to supercede ISOLatin1AccentFilter
which should get deprecated.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message