1. A method for generating feature graphs employed for creation of a headnote in a legal document, the method comprising: identifying one or more predetermined features in a plurality of legal documents, wherein the one or more predetermined features are based on grammatical constituents of text in the legal document, the plurality of legal documents being manually identified as headnote and non headnote; obtaining data related to the availability of the one or more identified predetermined features in the sentences manually identified as headnote and non-headnote in the plurality of legal documents; computing likelihood of a sentence being a headnote based on the obtained data; generating feature graphs corresponding to each predetermined feature based on the computed likelihood and obtained data; and storing the generated feature graphs in a repository.