Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LHRLAB/ChatKBQA
/ extract_entities
Function
extract_entities
components/expr_parser.py:10–12 ·
view source on GitHub ↗
(expr)
Source
from the content-addressed store, hash-verified
8
return
toks
9
10
def
extract_entities(expr):
11
toks = tokenize_s_expr(expr)
12
return
[x
for
x in toks
if
x.startswith(
'm.'
)]
13
14
15
def
extract_relations(expr):
Callers
nothing calls this directly
Calls
1
tokenize_s_expr
Function · 0.70
Tested by
no test coverage detected