Live data from Hacker News

An algorithm for generating automatic hashtags

blog.swayy.co

31–35 of 35 posts

Re: An algorithm for generating automatic hashtags

#31
post #16

I think we - and to some degree the Twitter platform itself - are using hash tags redundantly, and this algorithm is just a manifestation of this redundancy that is killing data quality. These pathological tweets do tend to look like the example sentence provided, maybe even more extreme: #Swayy #Launches Into Public #Beta To Curate #Content For Your #SocialMedia Audience Now, all of these words would be reachable wi…

At some degree, word frequency counting does classify correctly what the story is about, so in my opinion it do adds quality to it. Think of it like regular tagging. However, the threshold for how many hashtags should be produced with this method should be very low, as it offers no contextual or meta information about it.

Re: An algorithm for generating automatic hashtags

#32
Here's a terrible one I wrote years ago for a Twitter bot:

https://github.com/stephenmcd/babbler/blob/master/babbler/ta...

If I recall, it simply extracts non-dictionary words from the outgoing tweet, then actually queries the Twitter API itself to gauge the popularity of each potential hashtag, only using the most popular.

Re: An algorithm for generating automatic hashtags

#33
post #16

I think we - and to some degree the Twitter platform itself - are using hash tags redundantly, and this algorithm is just a manifestation of this redundancy that is killing data quality. These pathological tweets do tend to look like the example sentence provided, maybe even more extreme: #Swayy #Launches Into Public #Beta To Curate #Content For Your #SocialMedia Audience Now, all of these words would be reachable wi…

I totally agree. Look at Stackoverflow's way. I think they scan for the common tag names appear in title and text and suggest tags. OP's presentation really doesn't impress me.
Post reply on HN