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

Function split

pattern/text/nl/__init__.py:194–197  ·  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

192 return Text(parse(s, *args, **kwargs))
193
194def split(s, token=[WORD, POS, CHUNK, PNP]):
195 """ Returns a parsed Text from the given parsed string.
196 """
197 return Text(s, token)
198
199def tag(s, tokenize=True, encoding="utf-8"):
200 """ 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…