parameters: (a, b)
return_statement: return 1 - (float(distance) / float(length))
docstring: Return a gap and a percent that takes account of abrevations.
docstring_summary: Return a gap and a percent that takes account of abrevations.
docstring_tokens: Return a gap and a percent that takes account of abrevations .
function: def get_similarity(a, b):
      """
      Return a gap and a percent that takes account of abrevations.
      """
      length = max(len(a), len(b))
      distance = get_distance(a, b)
      return 1 - (float(distance) / float(length))
function_tokens: def get_similarity ( a , b ) : length = max ( len ( a ) , len ( b ) ) distance = get_distance ( a , b ) return 1 - ( float ( distance ) / float ( length ) )