MCPcopy
hub / github.com/codemayq/chinese-chatbot-corpus / convert

Method convert

language/langconv.py:225–230  ·  view source on GitHub ↗
(self, string)

Source from the content-addressed store, hash-verified

223 self._clean()
224
225 def convert(self, string):
226 self.start()
227 for char in string:
228 self.feed(char)
229 self.end()
230 return self.get_result()
231
232 def get_result(self):
233 return self.final

Callers 3

runFunction · 0.95
simple2traditionFunction · 0.80
tradition2simpleFunction · 0.80

Calls 4

startMethod · 0.95
feedMethod · 0.95
endMethod · 0.95
get_resultMethod · 0.95

Tested by

no test coverage detected