Presentation is loading. Please wait.

Presentation is loading. Please wait.

Limerick Checker Project Group Members: Jestin Ledlum Bryon Baumstarck Yining Wang.

Similar presentations


Presentation on theme: "Limerick Checker Project Group Members: Jestin Ledlum Bryon Baumstarck Yining Wang."— Presentation transcript:

1 Limerick Checker Project Group Members: Jestin Ledlum Bryon Baumstarck Yining Wang

2 Project Objective:  Part 1 - Rhyme check 1. User enters two words (can be changed to subroutine input) 2. Check if input words rhymes (using Rhymezone as source) 3. Return result (to be changed to true/false)  Part 2 - Limerick Check 1. Given some text 2. Check that last words of lines 1,2,&5 rhyme AND that last words of lines 3&4 rhyme 3. Print result  Part 3 - Rhyme Recommendation 1. Given a set of user input 2. Generate list of recommended rhyming words

3 Modules Being Used:  LWP::Simple  Used to connect to www.rhymezone.comwww.rhymezone.com  CGI qw(:standard)  Required to import standard set of CGI functions  CGI::Carp qw(fatalsToBrowser)  Used to send compile/run errors to the web browser

4 Limitations:  Mechanize  Due to the non-standard HTML programming of the RhymeZone website, we were unable to utilize standard HTML modules  CMUDict  Due to it’s inaccurate return of data, we were unable to use this module, which was the only dictionary module found with capabilities to check word rhyme

5 Lessons Learned:  Use of Regular Expressions  Used to parse the rhyme words returned from the website (Rhymezone.com)  Subroutines  Used to allow for code reuse and reduce code/runtime duplication  Ease of text manipulation via programming

6


Download ppt "Limerick Checker Project Group Members: Jestin Ledlum Bryon Baumstarck Yining Wang."

Similar presentations


Ads by Google