code pertaining to headword identification. Ref: https://github.com/sanskrit-lexicon/corrections/issues/216