A Text Sections Classifier I have a database of text files and I would like to classify each section(i.e references, abstract, etc...) in the text.

For example:


  Abstract Indexes: 100-300
  
  References Indexes: 9000-10000


Is there a package that is doing something like that?

Is there a recommended approach for doing so?
You might try to use the metadata of the individual sections for classification: 

Examples: 


Length -> Abstracts are usually short. 
Existence of Figures -> Do not usually appear in abstract of references
Relative Abundance of quotations. The references should have a significant higher share of reference keys than the others. 


You could then use the metadata as input for any supervised learning approach. For example a Neural Network or a (boosted) decision tree.