Commit Graph

103 Commits (1c5ddf1797d2c9e1827c015e3a173e957eba6b61)

Author SHA1 Message Date
Eric Ihli 08d13f85c7 Add linguistic rhyme quality code
Eric Ihli ac87e018ba Add todo notes and remove unused code
Eric Ihli b2e83a9b98 Add function to calculate perplexity
Eric Ihli d89f5da994 Implement simple good-turing probabilities
Eric Ihli f54a99258f Update linear regression to train/predict non-log
Eric Ihli 32ac272c8a Fix missing symbol
Eric Ihli 234b40a2e9 Fumble around with good turing
Eric Ihli 6b8352ae30 Start on perplexity calc
Eric Ihli c77e101515 Include rhyme in best-of calc
Eric Ihli 9d0f411012 Remove unnecessary code
Eric Ihli c6881b361d Better rhymetrie API
Eric Ihli 3fe69d679b Add functions for different rhyme types
Eric Ihli 5c205333af Move deps around to not depend on dev stuff
Eric Ihli d5bcd09606 Remove references to dark-corpus
Eric Ihli 79a35adb43 Rhyme by scheme
TODO: Consider stress. Multiprocess
Eric Ihli 1544680f55 Working rhyme from scheme
But markov doesn't look like it's working. Sentences don't make sense.
Eric Ihli 1f7a013dca More markov cleanup
Eric Ihli ae9d5bae9b More demo markov
Eric Ihli aecb8d42f1 Remove unused code
Eric Ihli 7006069aa3 Nicely working markov demo
Eric Ihli 4433ca6ca5 Remove stale code
Eric Ihli cd2c4268b7 More markov generation
Eric Ihli 1c423f49e9 More markov code
Eric Ihli f42cdfb59a Clean up training code, save tpt on train
Eric Ihli a00f30fabe Add training functions
Eric Ihli 69fb02db65 Add flex-rhyme-trie for all pronunciations to core
Eric Ihli f6b1150431 Fix bugs in file-seq->markov-trie
Eric Ihli d84b2a0204 Start re-using code from data_transform.clj
Eric Ihli 60e1c4fd73 Cleanup and move markov-code to markov-ns
Eric Ihli 62a1ff3a3b Remove stale code, add comments, cleanup
Eric Ihli f408778c9b Generation misc
Eric Ihli 2c06413a93 Combined generation grammar and n-gram
Eric Ihli acd22d9b2d Move generation code to nlg
Eric Ihli 1c3a07708a Gen from grammar
Eric Ihli 47a29e96a9 Misc
Eric Ihli da6f63f470 Closer to markov from grammar
Eric Ihli 78b9977fe0 Working part-of-speech markov trie
Eric Ihli b349e7af2c More markov gen testing
Eric Ihli 3c57418a61 Bigram transduction to rhymes
Eric Ihli dd51e0fdca Generate with some grammar rules
Eric Ihli dc5340be7f Add package for data transform
Transforms text files to tries.
Eric Ihli 6cf1236708 Misc updates to tpt
Eric Ihli 7eb429daaf Rhyme with unstressed vowels only
Eric Ihli 5feb551a2f Flexible rhyming.
Eric Ihli 5d0311904a Rhyme generation
Eric Ihli 7922d7611d TPT Rhyme gen
Eric Ihli baf290650f Working reverse rhyme lookup efficient
Eric Ihli c1f20a8f8c Working with tpt lib
Eric Ihli de194913d9 Add python example of Katz backoff
Eric Ihli f66210d7dd Add tightly-packed-trie example