Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/NeMo-Relay
/ _clean_text
Function
_clean_text
scripts/docs/generate_rust_library_reference.py:89–90 ·
view source on GitHub ↗
(value: str)
Source
from the content-addressed store, hash-verified
87
88
89
def
_clean_text(value: str) -> str:
90
return
re.sub(r
"[ \t\r\f\v]+"
,
" "
, _ascii(value)).replace(
"\n "
,
"\n"
).strip()
91
92
93
def
_clean_code(value: str) -> str:
Callers
5
_inline_markdown
Function · 0.85
_heading_text
Function · 0.85
_code_header_label
Function · 0.85
_sidebar_title
Function · 0.85
_description
Function · 0.85
Calls
1
_ascii
Function · 0.85
Tested by
no test coverage detected