Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/clips/pattern
/ 06-commonsense.py
File
06-commonsense.py
examples/06-graph/06-commonsense.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
os, sys; sys.path.insert(0, os.path.join(
".."
,
".."
))
2
3
from
pattern.graph.commonsense
import
Commonsense
4
Callers
nothing calls this directly
Calls
6
Commonsense
Class · 0.90
insert
Method · 0.45
add_node
Method · 0.45
add_edge
Method · 0.45
similarity
Method · 0.45
nearest_neighbors
Method · 0.45
Tested by
no test coverage detected