MCPcopy Index your code
hub / github.com/clips/pattern / 06-optional.py

File 06-optional.py

examples/04-search/06-optional.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import os, sys; sys.path.insert(0, os.path.join("..", ".."))
2
3from pattern.search import search
4from pattern.en import parsetree

Callers

nothing calls this directly

Calls 4

parsetreeFunction · 0.90
searchFunction · 0.90
constraintMethod · 0.80
insertMethod · 0.45

Tested by

no test coverage detected