Permalink
Switch branches/tags
Nothing to show
Commits on Dec 23, 2011
  1. Added another haiku

    committed Dec 23, 2011
Commits on Dec 20, 2011
  1. Fixing makefile.

    ohbadiah committed Dec 20, 2011
  2. More test cleanup.

    ohbadiah committed Dec 20, 2011
  3. Adding, fixing tests.

    ohbadiah committed Dec 20, 2011
  4. More sample poems, sonnet log.

    Nicholas McAvoy committed Dec 20, 2011
  5. Removing spurious parser success

    The parser is only deemed a success if it consumes all of the input now.
    Nicholas McAvoy committed Dec 20, 2011
  6. More cleanup.

    Nicholas McAvoy committed Dec 20, 2011
  7. Cleanup of PoemParser.hs

    Deleting unused code and organizing the rest sensibly.
    Nicholas McAvoy committed Dec 20, 2011
  8. Adding stress pattern for a limerick

    Nicholas McAvoy committed Dec 20, 2011
  9. Added .gitignore

    committed Dec 20, 2011
  10. Added limerick

    committed Dec 20, 2011
  11. Removed dependency on split

    committed Dec 20, 2011
  12. Fixed rhyming poem

    committed Dec 20, 2011
  13. merged

    committed Dec 20, 2011
  14. Changed aabba to limerick.

    committed Dec 20, 2011
  15. Adding sample poems.

    Nicholas McAvoy committed Dec 20, 2011
Commits on Dec 18, 2011
  1. Allowing punctuation

    Words with punctuation weren't being read into the dictionary or matched
    correctly against dictionary words. No more.
    Nicholas McAvoy committed Dec 18, 2011
  2. Adding Shakespearean Sonnet parser.

    Haven't tried it out yet.
    Nicholas McAvoy committed Dec 18, 2011
  3. Adding whileParse and andParse

    whileParse applies the same parser to every line and only succeeds if
    all lines succeed. andParse takes two parsers and applies them to the
    same input, only succeeding if both succeed. whileParse is used in
    defining iambicPentameter to work on any number of lines, and andParse
    is used to combine non-rhyme parsers with a rhyme constraing, such as
    rhyming haiku aba.
    Nicholas McAvoy committed Dec 18, 2011
Commits on Dec 17, 2011
  1. Adding stress parsing with iambic pentameter.

    Treating stress numbers of 1 as either up or down.
    Nicholas McAvoy committed Dec 17, 2011
  2. Changing stress pattern.

    Now it's represented by its own datatype.
    Nicholas McAvoy committed Dec 17, 2011
  3. Adding parser for arbitrary rhyme scheme

    Nicholas McAvoy committed Dec 17, 2011
  4. Using phonemes from last vowel onward for rhyming.

    Nicholas McAvoy committed Dec 17, 2011
  5. Adding aba to supported parsers.

    Our definition of rhyming seems wanting. For example, according to us
    "hat" and "cat" do not rhyme. Instead of a hard cutoff of 3 phonemes (or
    a softer one of 2), I think we should cut off the phonemes starting at
    the last vowel sound.
    Nicholas McAvoy committed Dec 17, 2011
  6. Aaaand we have rhyme parsing!

    Nicholas McAvoy committed Dec 17, 2011
  7. Lines, not words

    Adding the Line data type to CMUPronouncingDictionary. A list of Words
    can be converted to a Line containing their aggregate syllables, stress,
    and phonemes.
    
    The Lexer now reads lines into TokLines instead of TokWord+TokNewline
    pairs. Parsers have been updated accordingly.
    Nicholas McAvoy committed Dec 17, 2011
  8. Merge branch 'debug' into map_change

    Nicholas McAvoy committed Dec 17, 2011
  9. Fixing infinite loop introduced earlier in stressPattern.

    This is why we test before we commit.
    Nicholas McAvoy committed Dec 17, 2011
  10. Fixed dictLineToWord error but not the hang yet.

    Nicholas McAvoy committed Dec 17, 2011
  11. Doing rhyme comparisons independent of stress.

    Nicholas McAvoy committed Dec 17, 2011
  12. Rewriting RhymeMap as from [Phoneme] to String

    Nicholas McAvoy committed Dec 17, 2011
  13. lastWord is less janky now.

    Nicholas McAvoy committed Dec 17, 2011