is there any function or module in nlp that would find a specific paragraph headings
I agree with lorg. Although you could use NLP, but that might just complicate the problem. This problem could be an optimization problem if performance is a concern.
I have a text file . I need to identify specific paragraph headings and if true i need to extract relevant tables and paragraph wrt that heading using python.  can we do this by nlp or machine learning?. if so please help me out in gathering basics as i am new to this field.I was thinking of using a rule like:
if (capitalized) and heading_length <50:
    return heading_text
how do i parse through the entire document and pick  only the header names ? this is like automating human intervention of clicking document,scrolling to relevant subject and picking it up.
please help me out in this