Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/clips/pattern
/ 01-document.py
File
01-document.py
examples/05-vector/01-document.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
import
codecs
3
4
from
pattern.vector
import
Document, PORTER, LEMMA
Callers
nothing calls this directly
Calls
6
Document
Class · 0.90
open
Method · 0.80
keywords
Method · 0.80
insert
Method · 0.45
read
Method · 0.45
items
Method · 0.45
Tested by
no test coverage detected