Skip to content

This is a simple Spring Boot project which removes stop words from a text file.

License

Notifications You must be signed in to change notification settings

contactsunny/RemoveStopWordsInJavaPOC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Remove stop words in Java

This is a simple Spring Boot project which removes stop words from a text file.

The resource files

There are two resource files:

  1. A file with a collection of stop words, with each line having one stop word.
  2. A file with a sample essay, taken from this source.

Building the project

Once you clone this repo, cd into the project root directory and run the following command to compile and build this maven project:

mvn clean install

Once you run this command, Maven will build the project and keep it in the /target directory in the project root directory. You can run the program using the command below:

java -jar target/RemoveStopWordsInJavaPOC-1.0-SNAPSHOT.jar