IR2Vec
Loading...
Searching...
No Matches
OpenKE.analogy.AnalogyScorer Class Reference

Public Member Functions

 __init__ (self, analogy_file="analogies.txt")
 
 find_vec (self, str1)
 
 gen_similarity_table (self, vec)
 
 findTopk (self, dict1, k, values)
 
 get_analogy_score (self, entity_dict)
 

Public Attributes

dict entity_dict = {}
 
 analogies = self._load_analogies(analogy_file)
 

Protected Member Functions

 _load_analogies (self, file_path)
 

The documentation for this class was generated from the following file: