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

Function parse

pattern/text/en/__init__.py:136–139  ·  view source on GitHub ↗

Returns a tagged Unicode string.

(s, *args, **kwargs)

Source from the content-addressed store, hash-verified

134 return parser.find_tokens(s, *args, **kwargs)
135
136def parse(s, *args, **kwargs):
137 """ Returns a tagged Unicode string.
138 """
139 return parser.parse(s, *args, **kwargs)
140
141def parsetree(s, *args, **kwargs):
142 """ Returns a parsed Text from the given string.

Callers 15

test_documentMethod · 0.90
test_matchMethod · 0.90
test_matchMethod · 0.90
test_searchMethod · 0.90
test_convergenceMethod · 0.90
test_match_functionMethod · 0.90
test_search_functionMethod · 0.90
test_matchMethod · 0.90
test_groupMethod · 0.90
07-exclude.pyFile · 0.90
04-KNN.pyFile · 0.90
04-tree.pyFile · 0.90

Calls 1

parseMethod · 0.45

Tested by 9

test_documentMethod · 0.72
test_matchMethod · 0.72
test_matchMethod · 0.72
test_searchMethod · 0.72
test_convergenceMethod · 0.72
test_match_functionMethod · 0.72
test_search_functionMethod · 0.72
test_matchMethod · 0.72
test_groupMethod · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…