(line)
return line + " ."
Adds a period to a line that is missing a period
Adds a period to a line that is missing a period
Adds a period to a line that is missing a period
def fix_missing_period(line):
  """Adds a period to a line that is missing a period"""
  if "@highlight" in line: return line
  if line == "": return line
  if line[-1] in END_TOKENS: return line
  return line + " ."
def fix_missing_period ( line ) : if "@highlight" in line : return line if line == "" : return line if line [ - 1 ] in END_TOKENS : return line return line + " ."