Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aboutcode-org/scancode-toolkit
/ get_tokens
Function
get_tokens
src/licensedcode/match_unknown.py:158–159 ·
view source on GitHub ↗
(_toks)
Source
from the content-addressed store, hash-verified
156
tokens_by_tid = idx.tokens_by_tid
157
158
def
get_tokens(_toks):
159
return
(
' '
.join(tokens_by_tid[t]
for
t in _toks))
160
161
print(
'match_unknowns: matched_ngrams'
)
162
Callers
1
match_unknowns
Function · 0.70
Calls
1
join
Method · 0.45
Tested by
no test coverage detected