[ 
https://issues.apache.org/jira/browse/LUCENE-1390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12635620#action_12635620
 ] 

steve_rowe edited comment on LUCENE-1390 at 9/29/08 5:24 PM:
--------------------------------------------------------------

Forgot to mention three additional change in ASCIIFoldingFilter.patch:

# Some of the added character mappings produce 3 or 4 characters - e.g. the 
character "⑾ " -- described as "PARENTHESIZED NUMBER ELEVEN" -- is mapped to 
'(' + '1' + '1' +')'. 
# As a result of the increased maximum length of each mapping, the output 
buffer length is set to 4 times the length of the input token.
# ArrayUtils.getNextSize() is used to resize the output buffer when it needs to 
grow.

      was (Author: steve_rowe):
    Forgot to mention three additional change in ASCIIFoldingFilter.patch:

# Some of the added character mappings produce 3 or 4 characters - e.g. the 
character "⑾ " -- described as "PARENTHESIZED NUMBER ELEVEN" -- is mapped to 
'('+'1'+'1'+')'. 
# As a result of the increased maximum length of each mapping, the output 
buffer length is set to 4 times the length of the input token.
# ArrayUtils.getNextSize() is used to resize the output buffer when it needs to 
grow.
  
> add ISOLatinAccentFilter and deprecate ISOLatin1AccentFilter
> ------------------------------------------------------------
>
>                 Key: LUCENE-1390
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1390
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Analysis
>         Environment: any
>            Reporter: Andi Vajda
>            Priority: Minor
>             Fix For: 2.9
>
>         Attachments: ASCIIFoldingFilter.patch, ISOLatinAccentFilter.java
>
>
> 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 blocks.
> See: http://en.wikipedia.org/wiki/Latin-1_Supplement_unicode_block
> See: http://en.wikipedia.org/wiki/Latin_Extended-A_unicode_block
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to