MCPcopy Create free account
hub / github.com/alexwarstadt/data_generation / string_beautify

Function string_beautify

utils/string_utils.py:16–25  ·  view source on GitHub ↗

:param string: the string of a generated sentence :return: the string with whitespace removed and the first character capitalized

(string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

generate_paradigmMethod · 0.90
generate_paradigmMethod · 0.90
generate_paradigmMethod · 0.90
generate_paradigmMethod · 0.90

Calls 1

remove_extra_whitespaceFunction · 0.85

Tested by

no test coverage detected