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

Function parsetree

pattern/text/en/__init__.py:141–144  ·  view source on GitHub ↗

Returns a parsed Text from the given string.

(s, *args, **kwargs)

Source from the content-addressed store, hash-verified

139 return parser.parse(s, *args, **kwargs)
140
141def parsetree(s, *args, **kwargs):
142 """ Returns a parsed Text from the given string.
143 """
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.

Callers 8

05-multiple.pyFile · 0.90
02-constraint.pyFile · 0.90
08-web.pyFile · 0.90
04-taxonomy.pyFile · 0.90
03-lemmata.pyFile · 0.90
09-groups.pyFile · 0.90
06-optional.pyFile · 0.90
01-search.pyFile · 0.90

Calls 2

TextClass · 0.90
parseFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…