Assignment Task :

Assignment Objectives
To understand various data structures and searching and sorting techniques;
• To analyse these techniques in relation to a particular problem;
• To implement these techniques within a Java program.

 

Problem Description
In many situations, we may need to find a word based on one or more letters in it. For example, when making or completing a crossword you may want to find a word that has 4 letters, starts with J and ends with A. In this assignment, the program you will write will create a lexicon of words from various sources (that is, from various text files) and will allow the user to search for words that fit particular patterns.
The operational definition of what is taken to be a word will be given later in this handout. For each word, we also keep the following information:
• The frequency: How many times the word appears in the input files
• The list of neighbors: A neighbor of a word w is a word that is of the same length and differs from w by only one letter

 

Task 1
For this task, you are to design and implement the program LexiconTester.java. This program will
1. Read two text files, sample1.txt and sample2.txt, and construct a lexicon that contains words from the two files;
2. Write the words from the lexicon to the text file sample3.txt.

 

This Computer Science Assignment has been solved by our Computer Experts at UniLearnO. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style.

Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.

Eureka! You've stumped our genius minds (for now)! This exciting new question has our experts buzzing with curiosity. We can't wait to craft a fresh solution just for you!

  • Uploaded By : Grace
  • Posted on : April 29th, 2019

Whatsapp Tap to ChatGet instant assistance