Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Notgnoshi/generative
/ tokenize
Function
tokenize
tests/test_production.py:172–173 ·
view source on GitHub ↗
(s: str)
Source
from the content-addressed store, hash-verified
170
171
172
def
tokenize(s: str):
173
return
tuple(Token(c)
for
c in s)
174
175
176
class
RuleParsingMappings(unittest.TestCase):
Callers
3
test_simple
Method · 0.70
test_simple_delimited
Method · 0.70
test_probability
Method · 0.70
Calls
1
Token
Class · 0.90
Tested by
no test coverage detected