String function ( String arg0 ) { if ( arg0 == null || EMPTY . equalsIgnoreCase ( arg0 ) || SPACE . equalsIgnoreCase ( arg0 ) || arg0 . length ( ) == 1 ) { return EMPTY ; } arg0 = cleanName ( arg0 ) ; arg0 = removeVowels ( arg0 ) ; arg0 = removeDoubleConsonants ( arg0 ) ; arg0 = getFirst3Last3 ( arg0 ) ; return arg0 ; }
encodes a string using the match rating approach mra algorithm . concode_field_sep int EIGHT concode_elem_sep String PLAIN_ASCII concode_elem_sep int ONE concode_elem_sep int SEVEN concode_elem_sep int TWO concode_elem_sep int FOUR concode_elem_sep String[] DOUBLE_CONSONANT concode_elem_sep int FIVE concode_elem_sep String SPACE concode_elem_sep String EMPTY concode_elem_sep int SIX concode_elem_sep int TWELVE concode_elem_sep int ELEVEN concode_elem_sep int THREE concode_elem_sep String UNICODE concode_field_sep String cleanName concode_elem_sep boolean isVowel concode_elem_sep String removeAccents concode_elem_sep int leftToRightThenRightToLeftProcessing concode_elem_sep String getFirst3Last3 concode_elem_sep boolean isEncodeEquals concode_elem_sep String removeDoubleConsonants concode_elem_sep int getMinRating concode_elem_sep String removeVowels