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

Function split

pattern/text/es/__init__.py:224–227  ·  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

222 return Text(parse(s, *args, **kwargs))
223
224def split(s, token=[WORD, POS, CHUNK, PNP]):
225 """ Returns a parsed Text from the given parsed string.
226 """
227 return Text(s, token)
228
229def tag(s, tokenize=True, encoding="utf-8"):
230 """ 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…