Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DataArcTech/ToG
/ functions
Functions
133 in github.com/DataArcTech/ToG
⨍
Functions
133
◇
Types & classes
11
Method
get_wikipedia_page
(self, qid: str, section: str = None)
ToG/client.py:54
Function
half_stop
(question, cluster_chain_of_entities, depth, args)
ToG/freebase_func.py:213
Function
jsonl_generator
Returns generator for jsonl file
Wikidata/simple_wikidata_db/utils.py:8
Method
label2pid
(self, label: str)
ToG/client.py:19
Method
label2pid
(self, label: str)
Wikidata/simple_wikidata_db/db_deploy/client.py:19
Method
label2pid
(self, label: str)
Wikidata/simple_wikidata_db/db_deploy/server.py:130
Method
label2qid
(self, label: str)
ToG/client.py:16
Method
label2qid
(self, label: str)
Wikidata/simple_wikidata_db/db_deploy/client.py:16
Method
label2qid
(self, label: str)
Wikidata/simple_wikidata_db/db_deploy/server.py:127
Function
merge_defaultdicts
( dd1: DefaultDict[str, list], dd2: DefaultDict[str, list] )
Wikidata/simple_wikidata_db/db_deploy/build_index.py:66
Method
mid2qid
(self, mid: str)
ToG/client.py:94
Method
mid2qid
(self, mid: str)
Wikidata/simple_wikidata_db/db_deploy/client.py:54
Method
mid2qid
(self, mid: str)
Wikidata/simple_wikidata_db/db_deploy/server.py:139
Method
pid2label
(self, pid: str)
ToG/client.py:22
Method
pid2label
(self, pid: str)
Wikidata/simple_wikidata_db/db_deploy/client.py:22
Method
pid2label
(self, pid: str)
Wikidata/simple_wikidata_db/db_deploy/server.py:136
Function
process_data
(language_id: str, work_queue: Queue, out_queue: Queue)
Wikidata/simple_wikidata_db/preprocess_utils/worker_process.py:196
Method
qid2label
(self, qid: str)
ToG/client.py:25
Method
qid2label
(self, qid: str)
Wikidata/simple_wikidata_db/db_deploy/client.py:25
Method
qid2label
(self, qid: str)
Wikidata/simple_wikidata_db/db_deploy/server.py:133
Function
read_data
Reads the data from the input file and pushes it to the output queue. :param input_file: Path to the input file. :param num_lines_read: V
Wikidata/simple_wikidata_db/preprocess_utils/reader_process.py:15
Function
read_entity_label
(filename)
Wikidata/simple_wikidata_db/db_deploy/utils.py:46
Function
read_external_ids
(filename)
Wikidata/simple_wikidata_db/db_deploy/build_index.py:49
Function
read_relation_entities
(filename)
Wikidata/simple_wikidata_db/db_deploy/build_index.py:23
Function
read_relation_label
(filename)
Wikidata/simple_wikidata_db/db_deploy/utils.py:55
Function
read_tail_values
(filename)
Wikidata/simple_wikidata_db/db_deploy/build_index.py:36
Function
reasoning
(question, cluster_chain_of_entities, args)
ToG/freebase_func.py:244
Function
relation_search_prune
(entity_id, entity_name, pre_relations, pre_head, question, args)
ToG/freebase_func.py:109
Method
test_connections
(self)
ToG/client.py:113
Method
test_url
(client)
ToG/client.py:114
Method
test_url
(client)
Wikidata/simple_wikidata_db/db_deploy/client.py:74
Function
update_history
(entity_candidates, entity, scores, entity_candidates_id, total_candidates, total_scores, total_relations, tot
ToG/freebase_func.py:197
Function
write_data
(path: Path, batch_size: int, outout_queue: Queue)
Wikidata/simple_wikidata_db/preprocess_utils/writer_process.py:82
← previous
101–133 of 133, ranked by callers