working towards rules to match input/segmentation_from_Shreejoy.txt