MCPcopy Create free account

hub / github.com/DataArcTech/ToG / functions

Functions133 in github.com/DataArcTech/ToG

Methodget_wikipedia_page
(self, qid: str, section: str = None)
ToG/client.py:54
Functionhalf_stop
(question, cluster_chain_of_entities, depth, args)
ToG/freebase_func.py:213
Functionjsonl_generator
Returns generator for jsonl file
Wikidata/simple_wikidata_db/utils.py:8
Methodlabel2pid
(self, label: str)
ToG/client.py:19
Methodlabel2pid
(self, label: str)
Wikidata/simple_wikidata_db/db_deploy/client.py:19
Methodlabel2pid
(self, label: str)
Wikidata/simple_wikidata_db/db_deploy/server.py:130
Methodlabel2qid
(self, label: str)
ToG/client.py:16
Methodlabel2qid
(self, label: str)
Wikidata/simple_wikidata_db/db_deploy/client.py:16
Methodlabel2qid
(self, label: str)
Wikidata/simple_wikidata_db/db_deploy/server.py:127
Functionmerge_defaultdicts
( dd1: DefaultDict[str, list], dd2: DefaultDict[str, list] )
Wikidata/simple_wikidata_db/db_deploy/build_index.py:66
Methodmid2qid
(self, mid: str)
ToG/client.py:94
Methodmid2qid
(self, mid: str)
Wikidata/simple_wikidata_db/db_deploy/client.py:54
Methodmid2qid
(self, mid: str)
Wikidata/simple_wikidata_db/db_deploy/server.py:139
Methodpid2label
(self, pid: str)
ToG/client.py:22
Methodpid2label
(self, pid: str)
Wikidata/simple_wikidata_db/db_deploy/client.py:22
Methodpid2label
(self, pid: str)
Wikidata/simple_wikidata_db/db_deploy/server.py:136
Functionprocess_data
(language_id: str, work_queue: Queue, out_queue: Queue)
Wikidata/simple_wikidata_db/preprocess_utils/worker_process.py:196
Methodqid2label
(self, qid: str)
ToG/client.py:25
Methodqid2label
(self, qid: str)
Wikidata/simple_wikidata_db/db_deploy/client.py:25
Methodqid2label
(self, qid: str)
Wikidata/simple_wikidata_db/db_deploy/server.py:133
Functionread_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
Functionread_entity_label
(filename)
Wikidata/simple_wikidata_db/db_deploy/utils.py:46
Functionread_external_ids
(filename)
Wikidata/simple_wikidata_db/db_deploy/build_index.py:49
Functionread_relation_entities
(filename)
Wikidata/simple_wikidata_db/db_deploy/build_index.py:23
Functionread_relation_label
(filename)
Wikidata/simple_wikidata_db/db_deploy/utils.py:55
Functionread_tail_values
(filename)
Wikidata/simple_wikidata_db/db_deploy/build_index.py:36
Functionreasoning
(question, cluster_chain_of_entities, args)
ToG/freebase_func.py:244
Functionrelation_search_prune
(entity_id, entity_name, pre_relations, pre_head, question, args)
ToG/freebase_func.py:109
Methodtest_connections
(self)
ToG/client.py:113
Methodtest_url
(client)
ToG/client.py:114
Methodtest_url
(client)
Wikidata/simple_wikidata_db/db_deploy/client.py:74
Functionupdate_history
(entity_candidates, entity, scores, entity_candidates_id, total_candidates, total_scores, total_relations, tot
ToG/freebase_func.py:197
Functionwrite_data
(path: Path, batch_size: int, outout_queue: Queue)
Wikidata/simple_wikidata_db/preprocess_utils/writer_process.py:82
← previous101–133 of 133, ranked by callers