PostHeaderIcon Computational Linguistics

Computational linguistics is considered as synonym of natural language processing. The main task of Computational linguistics is to construct programs in order to process words and texts in natural language. It is an interdisciplinary field. The term, computational linguistics, was coined by David Hays, member of Automatic Language Processing Advisory Committee (ALPAC). The final report […]

PostHeaderIcon Introduction To Chatbot

What is chatbot? Chatbot stands for chatter robot. It is a computer program which has the ability to chat with human users. Audio or text can be used as medium of communication. The primary aim of writing these conversational programs is to have a powerful tool that chat in such a way that the human […]

PostHeaderIcon Modality And Speaker’s Attitude

Modality has often been described as the speaker’s attitude. This is actually a very vague definition. A language may have devices to indicate whether or not a speaker believes or is willing to stand by what he says. This may be regarded as attitude in the true sense. Saying something as a quotation sometimes serves […]

PostHeaderIcon What is the language of computer?

As computer is an electronic machine, it can feel only electricity. It cannot understand human languages. So computer can understand a language which is directly related to electricity. So which language the computer can understand? The answer is binary language or machine language. The binary language consists of only two numbers 0 and 1 where […]

PostHeaderIcon How to read excel file in Python

The following Python program reads data from the spreadsheet. ”’ Created on 15-Mar-2013 @author: Robin ”’ from xlrd import open_workbook def readWorksheet(sheetIO): # Read row by row for rownum in range(sheetIO.nrows): rowValues = sheetIO.row_values(rownum) rollNo = rowValues[0] name = rowValues[1] print rollNo, name if __name__ == ‘__main__': bookTestData = open_workbook(“C:/pythontests/sample-spreadsheet.xls”) sheetIO = bookTestData.sheet_by_name(‘Sheet1′) readWorksheet(sheetIO) In […]