Assign4-F2018.docx - CMSC204 Assignment#4 A concordance is an alphabetical list of the principal words used in a book or body of work listing every

Assign4-F2018.docx - CMSC204 Assignment#4 A concordance is...

This preview shows page 1 - 2 out of 5 pages.

Aconcordanceis an alphabetical list of the principal words used in a book or body of work, listing every instance of each word with its immediatecontext. Write a program that creates a concordance from some text. It will list all the words in alphabetic order followed by a list of line numbers where the word can be found in the text. Hash Table, Link List, hash code, buckets/chaining, exception handling, read/write files using FileChooser Data Element - ConcordanceDataElement, ConcordanceDataElement implements Comparable<ConcordanceDataElement> and consists of a String (the word) and a reference to a LinkedList<Integer> (list of line numbers where word occurs). Follow the Javadoc provided for you. Data Structure - ConcordanceDataStructure,
Image of page 1
Image of page 2

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture