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

Function split

pattern/text/it/__init__.py:169–172  ·  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

167 return Text(parse(s, *args, **kwargs))
168
169def split(s, token=[WORD, POS, CHUNK, PNP]):
170 """ Returns a parsed Text from the given parsed string.
171 """
172 return Text(s, token)
173
174def tag(s, tokenize=True, encoding="utf-8"):
175 """ 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…