I've been working on a project where a kanban wall is built from github issues from many repos, and I've been thinking on how to identify which repo an issue came from. The basica idea I came up with was to have a legend style list of repos, color coded to the color of its issues.
Then I started thinking how it would look like if you added lots of repos, and it would probably look weird as a long list of names. So I thought about instead of displaying the full name of the repo, display a shorthand version of it's name, like an acronym. I looked around if there were any algorithms that generate acronyms from words/names/phrases, but couldn't find anything too helpful.
The best I could find with was this: http://www.jiwonpark.kr/AA-aka-Abbreviation-Algorithm. On this page they present some possible algorithms to use, and it can be a starting point, but not really what I was looking for.
My rough idea for the algorithm:
Does anyone knows of something that works like this?
Then I started thinking how it would look like if you added lots of repos, and it would probably look weird as a long list of names. So I thought about instead of displaying the full name of the repo, display a shorthand version of it's name, like an acronym. I looked around if there were any algorithms that generate acronyms from words/names/phrases, but couldn't find anything too helpful.
The best I could find with was this: http://www.jiwonpark.kr/AA-aka-Abbreviation-Algorithm. On this page they present some possible algorithms to use, and it can be a starting point, but not really what I was looking for.
My rough idea for the algorithm:
- given a list of names
Code:['foo-user-agent', 'foo-dispatcher', 'foo-platform', 'foo-this-has-a-long-name'] - generate possible acronyms for the names
Code:{'foo-user-agent': ['FUA', 'FUSA', 'UAG', ...], ..., 'foo-this-has-a-long-name': ['FTHALN', 'FoTHALNa', 'ALN', ...] } - use a soundex style algorithm to discard the acronyms that look like an acronym of another name
- profit!
Does anyone knows of something that works like this?