MCPcopy Create free account
hub / github.com/OpenBMB/BMTools / clean_str

Function clean_str

bmtools/tools/wikipedia/api.py:7–8  ·  view source on GitHub ↗
(p)

Source from the content-addressed store, hash-verified

5from uuid import UUID
6
7def clean_str(p):
8 return p.encode().decode("unicode-escape").encode("latin1").decode("utf-8")
9
10class WikiPage:
11 def __init__(self):

Callers 1

searchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected