GitHub

Topic Suggestions for Millions of Repositories

Jul 31, 2017Kavita Ganesan
Topic Suggestions for Millions of Repositories
SummaryAI, from the source post

Introduced 'repo-topix', a topic extraction framework for GitHub repositories. This framework leverages text mining, NLP, and machine learning to suggest descriptive tags. Key technical contributions include: preprocessing READMEs with a heuristics-based tagger, generating candidate topics by eliminating stop words and forming n-grams (limited to size 4 or less), and selecting best topics using a supervised logistic regression model for keyword filtering (trained on 300 examples with features like part-of-speech, n-gram size, and numeric content) and tf-idf based scoring (weighted by phrase frequency and n-gram size, using a large dictionary of IDF scores from millions of READMEs). Also explored canonicalizing topics to address character-level variations and inflections.

More from the AI-Assisted Code Development and Review trail