Team

Anup Kulkarni 08305045
Prashanth K 08305006
Saurabh Sohoney 08305031

Corpus 1: Movie review corpus (created by us)
Corpus 2: Brown corpus, news category 
Programming language: Python

Running instructions:

$ python corpus_ip.py <wt>
<wt> takes a value between 0 and 1.

Example:
python corpus_ip.py 0.7 

This assigns the weightage of the brown corpus to 0.7 and weightage of our corpus to 0.3. The program gives generated random text and waits for user input. Press enter key to generate more text, or type 'exit' to exit from the program.


Test cases

1.
$ python corpus_ip.py 0
Brown(news): 0.0 	Movie Reviews: 1.0
Initializing model...
Generating sentence...
When this year, things get an action and Abhishek and with which "Kismet" plays his father is 'Hera Pheri', 'Hulchul', 'Hungama', Malamaal Weekly.  The Last year, a Delhi woman whom she wrote".  "I will surely been better than viewing the zombies took top it big.  Ashima [Hansika] is being her 'I will wind up would 1971 is being 'niche' with her to yield was a wronged and Bobby Deol family and yearnings of youths he actually makes reservations.  

2.
$ python corpus_ip.py 1
Brown(news): 1.0 	Movie Reviews: 0.0
Initializing model...
Generating sentence...
Well, you've heard their yellow rose in the "family business".  This was "modest" in 1920.  He asked whether to "Camille".  She accused civil servants were "aiming at least you want to bring in which were spelled correctly on welfare Hengesbach, who works with you/I will these vistas, it's worth $450;; a similar to your wife of a youthful motorist.  

3.
$ python corpus_ip.py 0.7
Brown(news): 0.7 	Movie Reviews: 0.3
Initializing model...
Generating sentence...
Akshay is where "Sir" Judson Smith with 'Dasvidaniya'.  Splendiferous jaunting of vision of youths at your wife (Rati Agnihotri) and "Dancers of those rare complete without an action and Robert Zeising, Mrs.  William keeps appearing on Kunal is as per acre that he was 'pink' were "aiming at times), even as "Freida" ) -- The youngsters trying hard and two Illinois pardon and with 'Dasvidaniya'.
