Python, NLP, Spacy.
self.wiki.page(article_name) if p.exists: try: r = requests.get(p.fullurl) html = r.text.replace('\r', '').replace('\n', '') cat_src = self.catlinks_regexp.findall(html)[0] cats = self.catnames_regexp.findall(cat_src) if len(cats) > 0: return dict.fromkeys(cats[1:len(cats)], 1) except Exception as