Wired in their latest issue show the Linux kernel increased its “swear count” over time. That is, programmers added more and more comments containing words like “damn” or “bastard”.
Now a similar approach can be automated using the Google Web API and applied to any web site. To determine a web site’s “CurseRank”, all one needs to do is count* the pages containing certain swear words.
*Let’s say we provide “Example.com” and it turns out the site has a 200 pages. 3 of them contain the word “damn” and 5 of them contain the word “bastard”. We take the average 4, which would be 2% of 200 pages – so our Example.com would have a CurseRank of 2. Any site which matches 10% or more receives a CurseRank of 10, which is the upper end of the scale.
Not only could one use this algorithm to determine cursing, one could use it to calculate other ranks as well. Such as a “GeekRank”. The algorithm stays the same but this time we replace the word “damn” with “linux” and the word “bastard” with “hacker”. For an “IntellectRank”, one could use the words “behavioral”, “aficionado”, “intrepid” and so on.
You can try this out with any site using the AnyRank input box:
Google AdSense today adds WebSearch. This lets webmasters display AdSense on customized search results delivered via Google’s server.
>> More posts