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

Function split

pattern/text/en/__init__.py:146–149  ·  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

144 return Text(parse(s, *args, **kwargs))
145
146def split(s, token=[WORD, POS, CHUNK, PNP]):
147 """ Returns a parsed Text from the given parsed string.
148 """
149 return Text(s, token)
150
151def tag(s, tokenize=True, encoding="utf-8"):
152 """ 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…