Uploaded image for project: 'Commons Codec'
  1. Commons Codec
  2. CODEC-161

Add Match Rating Approach (MRA) phonetic algorithm encoder

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: 1.8
    • Labels:

      Description

      I want to add MatchRatingApproach algorithm to the Lucene project via commons codec.
      What I have at the moment is a class called org.apache.lucene.analysis.phoenetic.MatchRatingApproach implementing StringEncoder
      I have a pretty comprehensive test file located at: org.apache.lucene.analysis.phonetic.MatchRatingApproachTests

      It's not exactly existing pattern so I'm going to need a bit of advice here. Thanks! Feel free to email.

      FYI: It my first contribution so be gentle C# is my native.
      I had incorrectly added this to Lucene solution as LUCENE-4494 but received some good advice to move it to here. I'm doing that now.

      Reference: http://en.wikipedia.org/wiki/Match_rating_approach

        Attachments

        1. CODEC-161-24Jan2013.patch
          2 kB
          Colm Rice
        2. MRA_Cobertura_Code_Coverage_DeMorganElseIfWorkaround.jpg
          125 kB
          Colm Rice
        3. CODEC-161-23Jan2013.patch
          6 kB
          Colm Rice
        4. CODEC-161-18Jan2013.patch
          5 kB
          Colm Rice
        5. MRA_Cobertura_CodeCoverage_18Jan2013.jpg
          162 kB
          Colm Rice
        6. MRA_Cobertura_ScreenShot_01Jan2013.jpg
          368 kB
          Colm Rice
        7. MRA_eCobertura_Output.jpg
          108 kB
          Colm Rice
        8. CODEC-161.patch
          1 kB
          Colm Rice
        9. CODEC-161.patch
          6 kB
          Colm Rice
        10. CODED-161.patch
          6 kB
          Colm Rice
        11. Code_Coverage_EclEmma_MRA_TargetAlgo_03Dec2012.jpg
          91 kB
          Colm Rice
        12. CODEC-161.patch
          6 kB
          Colm Rice
        13. CODEC-161.patch
          31 kB
          Colm Rice
        14. CODEC-161.patch
          1 kB
          Colm Rice
        15. CODEC-161-MatchRatingApproach.patch
          35 kB
          Colm Rice

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              crice Colm Rice
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 168h
                168h
                Remaining:
                Remaining Estimate - 168h
                168h
                Logged:
                Time Spent - Not Specified
                Not Specified