/LAP_Lab3

Primary LanguagePython

LAP_Lab3

Team members:

  • Mehak Jain B18068
  • Ruchika Sharan B18135
  • Prakhar Uniyal B18128
  • Sahil Garg B18138
  • Muskan Gupta B18019

Text File Processing App

The app is capable of providing common statistics of a text file like no. of words, sentences, lines, the most and least frequently used words. It also plots a histogram of the 20 most frequently used words in the text file. Given a file of keywords, it can also retrieve sentences containing those keywords.

Documentation

This is the README. For more documentation, see the wiki page of this project.

Requirements

  • Python 3
  • PySimpleGUI
  • nltk
  • matplotlib

How to run?

Local Setup Guide

  1. Install Tkinter, PysimpleGUI, Matplotlib
sudo apt-get install python3-tk

sudo apt-get install PySimpleGUI

sudo apt-get install matplotlib

sudo apt-get install nltk

  1. Clone this repository
git clone https://github.com/Ruchika06/LAP_Lab3.git
  1. Go inside the main directory and install requirements
cd LAP_Lab3
pip3 install -r requirements.txt
  1. Run application
python3 main.py