Skip to content
Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“„ Report Buffer

Flask-Based Research Summarization & Citation Web App


πŸ”— Video Link: Watch Demo
πŸ“ Drive Link: Access Project Files


🎯 Objective

The goal of this project is to build a Flask-based web application that enhances interaction with research papers. Users can:

  • Upload papers
  • Receive summaries tailored to their academic level
  • View citations to related research

This is achieved through advanced Natural Language Processing (NLP) techniques like TF-IDF, TextRank, and Transformer-based models (T5). The system also uses cosine similarity to recommend related work.

A sleek and modern frontend is developed using HTML, CSS, and JavaScript.


🧠 Data Structures Used

Purpose Technique / Structure
Extractive summarization TF-IDF Matrix (Sparse Matrix)
Graph-based summarization Adjacency Matrix (for TextRank)
Citation similarity Cosine Similarity Matrix (2D Array)
Persistent storage Relational Database (SQLAlchemy ORM)

Tables:

  • Paper – stores uploaded papers and their summaries
  • Citation – stores similarity-based links between papers

πŸš€ Features

  • πŸ“€ Upload Research Paper (plain text)
  • πŸ“š Summarization by Academic Level
    • School & PhD β†’ TF-IDF + Cosine Similarity (Extractive)
    • Undergraduate β†’ TextRank (Graph-based)
    • General β†’ T5 (Abstractive)
  • πŸ” Citation Recommendation
    • Uses cosine similarity on summary vectors
  • πŸ—„οΈ Database Management
    • PostgreSQL via SQLAlchemy
  • πŸ’» Modern Frontend
    • HTML, CSS (dark theme), and JavaScript for interactivity

βš™οΈ Implementation Details

πŸ” Summarization Module

  • tfidf_cosine_summarizer()
  • text_rank_summarizer()
  • t5_abstractive_summarizer()

πŸ”— Citation Engine

  • Computes similarity using cosine_similarity() on TF-IDF vectors
  • Stores strong matches (score > 0.5) in Citation table

🌐 Flask Routes

Route Description
/ Homepage
/upload Upload page
/summarize Summarizes uploaded paper
/generate_citations Computes and stores related papers
/citations/<id> Displays recommended papers for a given paper

🧭 Menu Operations / User Flow

  1. Upload a research paper
  2. Select academic level for summarization
  3. View generated summary
  4. Explore related research via citation recommendations
  5. (Future Scope) Admin operations to manage/delete entries

βœ… Conclusion

This web application fuses NLP and web development to simplify academic research access. From tailored summarization to smart citation discovery, the app delivers powerful features in a user-friendly format.

The choice of sparse matrices, graph algorithms, and transformer models makes the system robust and adaptable.

🚧 Coming Soon:

  • PDF upload support
  • Cloud deployment (e.g., Render, Heroku, or AWS)

πŸ‘©β€πŸ’» Built With

  • Python (Flask, Transformers, Scikit-learn)
  • HTML + CSS + JavaScript
  • SQLAlchemy + PostgreSQL

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages