MCPcopy Index your code
hub / github.com/clips/pattern / split

Function split

pattern/text/de/__init__.py:244–247  ·  view source on GitHub ↗

Returns a parsed Text from the given parsed string.

(s, token=[WORD, POS, CHUNK, PNP])

Source from the content-addressed store, hash-verified

242 return Text(parse(s, *args, **kwargs))
243
244def split(s, token=[WORD, POS, CHUNK, PNP]):
245 """ Returns a parsed Text from the given parsed string.
246 """
247 return Text(s, token)
248
249def tag(s, tokenize=True, encoding="utf-8"):
250 """ Returns a list of (token, tag)-tuples from the given string.

Callers

nothing calls this directly

Calls 1

TextClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…