CS 272 USF Computer Science Class for Parsing and Stemming Text Code

User Generated

frerani143

Computer Science

CS 272

University of San Francisco

CS

Description

Specs of HW but this is STARTER CODE FROM github to import to Eclipse for best set up:

https://github.com/usf-cs272-fall2021/homework-TextFileStemmer-template.git

class for parsing and stemming text and text files into collections of stemmed words

-create a class that is able to clean and parse text into stemmed words. Use UTF8 and try-with-resources when writing your files. Do not use the java.io.File class since TextParser class is already provided for.

Unformatted Attachment Preview

TextFileStemmer Points 10/100 For this homework assignment, you will create a class that is able to clean and parse text into stemmed words. Use UTF8 and try-with-resources when writing your files. Do not use the java.io.File class. The TextParser class is already provided for you. Hints Below are some hints that may help with this homework assignment: You need to have use the third-party Apache OpenNLP library. The library should be automatically setup in Eclipse by Maven. For how to use this library, see the Apache OpenNLP Tools Javadoc for details. When working with files, you should use try-with-resources, the UTF-8 character encoding, and buffered readers and writers. Look for opportunities to reduce duplicate code. For example, you could create a new helper method that is reused in multiple other methods. These hints are optional. There may be multiple approaches to solving this homework. Requirements See the Javadoc and TODO comments in the template code in the src/main/java directory for additional details. You must pass the tests provided in the src/test/java directory. Do not modify any of the files in the src/test directory.
Purchase answer to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Explanation & Answer

View attached explanat...


Anonymous
Just the thing I needed, saved me a lot of time.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4

Similar Content

Related Tags