Description
o Experience using a third party spell program
o Developing efficient methods for accomplishing autocomplete
In the previous document (SpellAndAutocompleteInSolr.pdf) you saw how to enhance the Solr program with spelling correction and an autocomplete (suggest) function. In this exercise you are asked to replace the existing Solr functionality for spelling correction and to enhance Solr’s autocomplete functionality. In the case of spelling correction you will use an existing third-party program adapted to your downloaded files. In the case of autocomplete you will need to enhance your client program that communicates with Solr to deliver autocomplete suggestions to the web interface you created in homework #3.
Description of the Exercise
http://www.phpclasses.org/package/4859-PHP-Suggest-corrected-spelling-text-in-pure-PHP.html#download
(you will have to register at the site before being able to download the software, registration is free)
If you prefer to use Norvig’s program in a different language, a wide variety of implementations can be found at the bottom of this page, http://norvig.com/spell-correct.html
There should be a report describing what you have done. This report should include:
1. Steps you followed to complete this assignment. Include the details of what tools and techniques you used to implement spelling correction and autocomplete.
2. Analysis of the results: In this you should provide examples of misspelled terms that are correctly handled by your spelling correction program. You should also provide some examples of autocompletion.
3. Using the submit command you should provide a single .zip (CSCI572_HW4.zip) file which contain the following files
● the external spelling correction program that was used
● all source code that you wrote, most especially the code implementing the autocomplete functionality.
You are required to submit your results electronically to the csci572 account on SCF so that it can be graded. To submit your file electronically, enter the following command from your Unix prompt:
Submit -user csci572 -tag hw4 CSCI572_HW4.zip




Reviews
There are no reviews yet.