float function ( ) { float loc0 ; float loc1 = lengthOfLong ; loc0 = 1f - ( ( float ) distance / loc1 ) ; return loc0 ; }
this method computes the normalized edit distance as ratio of edit distance to shorter string length concode_field_sep int lengthOfLong concode_elem_sep int distance concode_field_sep int computeDistance