def make_assoc_url(term): ASSOC_URL = "http://conceptnet5.media.mit.edu/data/5.4/assoc" term = standardize_topic(term) url = ASSOC_URL + term return url
def group_search(self, term): topic = standardize_topic(term) searcher = self.group_searcher(topic) return searcher