Requirements - dipanshu231099/CS308-Lab3-Text-Software GitHub Wiki

Requirement Specifications

Software Details

A GUI based application that takes two ASCII text files as input (one being input file and other keyword file) and allows users to view certain statistics and perform certain tasks with the sentences present in the file.

User Queries And Requirements

Input File

  • The application needs to handle only ASCII text files.
  • The application needs to have a select button to enable the user to select the text file. After the selection, the path of the file should be displayed.

Statistics

  • The application needs to have a button that will display the desired statistics of the input file :
    1. Most frequent word
    2. Least frequent word
    3. Number of Sentences
    4. Number of words

Graph

  • It should have a button to display the histogram with words on X-axis and corresponding frequency on Y-axis. This plot should not include stopwords.

Modification functionality

  • Users should be able to edit the selected file during the process and hence there should be a Refresh button to display the results for the edited file without selecting it again.

Sentences with Keywords

  • It should have a button to select another text file for Keywords and then extracts all the sentences containing the keywords and display those sentences.