Commands: 
	python segment.py
	python prec_rec.py

This folder contains the following files:

1. segment.py: It takes hi-wordseg.txt and produces its segmented form in output.txt. For probability distribution, corpus4.txt is used.

2. prec_rec.py: It compares each line of output.txt with corresponding lines of hi-wseg-gt.txt and returns precision and recall. They have 			been calculated by two methods present in the functions error1() and error2() .

3. corpus4.txt: It contains the monograms and their frequencies collected from corpus given earlier

4. hi-wordseg.txt: This is the test set containing unsegmented sentences

5. hi-wseg-gt.txt: Segmented form of the sentences present in hi_wordseg.txt. It is to be used as the ground truth.

6. output.txt: It contains the segmentation done by segment.py
