[ 
https://issues.apache.org/jira/browse/CODEC-250?focusedWorklogId=203043&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-203043
 ]

ASF GitHub Bot logged work on CODEC-250:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 23/Feb/19 13:00
            Start Date: 23/Feb/19 13:00
    Worklog Time Spent: 10m 
      Work Description: DerXHelp commented on pull request #14: [CODEC-250] 
correcting handling of special character between equal letters for cologne 
phonetic
URL: https://github.com/apache/commons-codec/pull/14
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

            Worklog Id:     (was: 203043)
            Time Spent: 10m
    Remaining Estimate: 0h

> Wrong value calculated by Cologne Phonetic if a special character is placed 
> between equal letters
> -------------------------------------------------------------------------------------------------
>
>                 Key: CODEC-250
>                 URL: https://issues.apache.org/jira/browse/CODEC-250
>             Project: Commons Codec
>          Issue Type: Bug
>    Affects Versions: 1.5, 1.11
>            Reporter: Alex Volodko
>            Priority: Major
>             Fix For: 1.12
>
>         Attachments: CODEC250.patch, ColognePhonetic.java
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The algorith for cologne phonetic is (simpilied):
>  # Encode letter by letter from left to right according to the conversion 
> table.
>  # Remove all digits occurring more than once next to each other.
>  # Remove all code "0" except at the beginning.
> Characters which are not specified in conversion table (such as hyphens) are 
> ignored. See https://en.wikipedia.org/wiki/Cologne_phonetics
> If the input is "test-test" the step results will be:
>  # 20822082
>  # 2082082
>  # 28282
> The expected result for "test-test" is therefor 28282.
> The actual result for "test-test" is 282{color:#FF0000}2{color}82.
> This bug is caused by the fix from
> [https://github.com/apache/commons-codec/commit/72c8759a22c6552a2dfcdf61b29729f981752879]
> and is present since 1.5



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to