BlogGalleryAbout meContact
Jaganadh's bookshelf: read

Python Text Processing with NTLK 2.0 CookbookPython 2.6 Text Processing Beginners Guide

More of Jaganadh's books »
Jaganadh Gopinadhan's  book recommendations, reviews, quotes, book clubs, book trivia, book lists
Ubuntu GNU/Linux I am nerdier than 94% of all people. Are you a nerd? Click here to take the Nerd Test, get nerdy images and jokes, and write on the nerd forum! Python

Bangalore

What we are searching?

Recently I was discussing about some topics related to corpus and search. After having the discussion i revised some of the points and found some interesting facts related to people preference and search. I am sharing some of the thoughts for you here.

Preference

Our discussion on corpus was related to a corpus in NLTK. It is a personal corpus collected from internet sources. My friend asked to get the dispersion plot of the words 'handsome', 'rich' and 'sexy' with NLTK. The result was quite disappointing. There was no 'rich' and 'handsome' found in the corpus but the word 'sexy' was there :-). After some re-examination we found that the words are there but occurred only once in the corpus and it occurred as uppercase. So why we got blank plot. When I pointed out, my friend told that 'handsome', 'rich' and 'well-employed' are the common specifications found in matrimony websites. It was a new information for me. Because I was wondering that how can we define 'handsome'?? Again I googled for "rich well employed handsome groom" and found that all the ads which appearing contains these words :-) What a strange preference. If an automatic match maker is there how it will compare the request?? Because the views about 'handsome' will be different for different persons!!

Search

After making this experiment I discussed the matter with a colleague. He was telling something different on search patterns he found. He told that find the suggestions appearing for the search term 'how to' ! It was quite interesting the first suggestion was 'how to get pregnant' :-( . Even though much educative information is available in the internet what makes peoples to coin such a search phrase ?? Interestingly I found some other how to question 'how to tell a girl that i love her' ?? Huh Is it the result of internet addiction and isolation from society or friends. I collected the search result . The first hit was from wikihow.com . it contains guidelines,tips and tricks and warning :-)

Some of the how to queries are quite interesting. Observing such queries i wonder that whether we are properly using our information systems. Instead of getting educated still people are following some old myths and wrong information. Because people searches for 'how to test virginity' too.

 Permalink

Valentines Day show your love for Free Software


I love Free Software! I love Free Software! I love Free Software!
I love Free Software! FSUG-TVM Sticker

Taken From -  http://fsfe.org/campaigns/valentine-2010/valentine-2010.html

FSUG TVM

Related Entries:
index
Life update
Opinion Mining and Sentiment Analysis papers from Computational Linguistics Open Access Journal
HBase Administration Cookbook by Yifeng Jiang new book from Packt
Quick MySQL to CouchDB migration with Python
 Permalink

Yet another Language death

I saw a shocking news in today's Hindu news paper " Andamanese tribes, languages die".

One more language vanishes the Great Andamanese languages .

As per the UNESCO World’s Languages in Danger thre are 5 native speakers of the language in 2007 . But the Hindu news says that the last speaker also passed away. The language too. Fortunately some documentation is there says the news.

Related Entries:
index
Life update
Opinion Mining and Sentiment Analysis papers from Computational Linguistics Open Access Journal
HBase Administration Cookbook by Yifeng Jiang new book from Packt
Quick MySQL to CouchDB migration with Python
 Permalink

FOFFMEET@NITC

 Permalink

Again Python programming in Malayalam

Today I tried Object Oriented Programming in Python (Python3) with Malayalam class names and variable names.

See the code. It works very well with Python3 interpreter.

    class പക്ഷി:

        def __init__(self):
            """
            ക്ലാസ് ഇനിഷ്യലൈസേഷന്‍
            """
            self.വിവിധ = ['കാക്ക','പ്രാവ്','കുരുവി','തത്ത','മൈന','പരുന്ത്','മൂങ്ങ']

        def പറക്കുക(self, ഇനം):
            """
            പറക്കുമോന്ന് നോക്കാല്ലോ!!!!!!!!!!!
            """
            if ഇനം in self.വിവിധ:
                print("%s പറക്കുന്ന പക്ഷിയാണ്" % ഇനം)
            else:
                print("എനിക്കറിയാമ്മേലേ!!!!!!")

    if __name__ == "__main__":
        സൂചകം = പക്ഷി()
        പറവ = "കാക്ക"
        മൃഗം = "ആന"
        സൂചകം.പറക്കുക(പറവ)
        സൂചകം.പറക്കുക(മൃഗം)


Use Python3 interpreter to run the code !!!!


Happy Hacking !!!!!!!

Related Entries:
Python3 ZWJ and Malayalam; some doubts
Book Review: Python 2.6 Text Processing Beginner's Guide by Jeff McNei
Python3 is wonderful
Using Yahoo! Term Extractor web service with Python
Python workshop at Kongu Engineering College, Perundurai
 Permalink
1-5/5