[ 
https://issues.apache.org/jira/browse/CODEC-125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthew Pocock updated CODEC-125:
---------------------------------

    Attachment: handleH.patch

I've added a little extra code to make it easier to track rules back to the 
file/line that they originated from. The rule that's causing the single letter 
'h' to fail is this:

gen_rules_any.txt:
#127: "h" "" "$" "" 

I think this is saying that an 'h' at the end of a word is silent. Now, I am 
guessing that "h" should encode to "h", but it's being treated as an 
end-of-word rather than a single letter. I have fixed this by modifying the 
rule to:

"h" "." "$" ""

> Implement a Beider-Morse phonetic matching codec
> ------------------------------------------------
>
>                 Key: CODEC-125
>                 URL: https://issues.apache.org/jira/browse/CODEC-125
>             Project: Commons Codec
>          Issue Type: New Feature
>            Reporter: Matthew Pocock
>            Priority: Minor
>         Attachments: acz.patch, bm-gg.diff, bmpm.patch, bmpm.patch, 
> bmpm.patch, bmpm.patch, bmpm.patch, bmpm.patch, bmpm.patch, bmpm.patch, 
> handleH.patch, majorFix.patch, testEncodeGna.patch
>
>
> I have implemented Beider Morse Phonetic Matching as a codec against the 
> commons-codec svn trunk. I would like to contribute this to commons-codec.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to