summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-04-07Report: update test resultsHEADmasterPeter Wu2-11/+42
2015-04-07Print resulting sentence and score for debuggingPeter Wu1-2/+7
2015-04-04Extend reportPeter Wu3-15/+101
2015-04-04Fix bugs when looking for more than one typoPeter Wu1-3/+7
I thought that arraycopy had memcpy semantics, but oh gawd I was wrong. The other bug is that the best result could be overwritten by a worse one since the wrong result was checked.
2015-04-04Split NO_PEACH to DEBUG_PRINTSPeter Wu2-4/+5
2015-04-04Adjust probability for larger typos countPeter Wu1-2/+35
2015-04-04Debugging tweaks, be less verbose unless requestedPeter Wu3-10/+24
2015-04-04Labda interpolation works badPeter Wu1-11/+3
It favors large unigram probabilities too much.
2015-04-04Save readonly state across callsPeter Wu1-28/+56
Can be cleaned up a bit... but functionality first now.
2015-04-04Changes must always be better than the latest modificationPeter Wu1-3/+5
2015-04-04Do not count unigrams twicePeter Wu1-18/+14
2015-04-03Report: update with non-greedy approach and morePeter Wu1-67/+126
2015-04-03Correctly check read-only wordsPeter Wu1-3/+9
2015-04-03Non-existing words should not kill the overall scorePeter Wu1-0/+5
2015-04-03Consider changes to ngram probabilties in the contextPeter Wu1-6/+32
Finally "hme locations" gets corrected to "home locations"!
2015-04-03Save all candidate modifications in one placePeter Wu1-42/+48
Also improve debugging to print the difference in score and cache the evaluation result (sentence score). Behavioral difference: now the best score is determined by the whole sentence instead of one word. This means that multiple faulty words will always result in a rating of 0....
2015-04-03Fix ngram PREFIX condition, improve ngram prob debugPeter Wu2-5/+12
2015-04-02Further attmept to improve score: drop .5 correctionPeter Wu1-6/+9
2015-04-02Improve ngram score debugging detailsPeter Wu1-6/+25
2015-04-02Improve debuggingPeter Wu1-5/+14
2015-04-02Implement generic ngram counting and probability calculationPeter Wu2-27/+66
TODO improve smoothing.
2015-04-02Remove broken greedy approach, fix corrections limitPeter Wu1-38/+18
2015-04-02quick nongreedyPeter Wu1-7/+62
2015-04-02Merge branch 'master' of git.lekensteyn.nl:tue/2ID90-AI/assignment4Wilco3-24/+19
2015-04-02several fixes in reportWilco2-13/+13
2015-04-02Debug and lambda tweaksPeter Wu1-2/+6
Damn, greedy does not work....
2015-04-02use max instead of sumPeter Wu1-4/+3
2015-04-02fix output printingPeter Wu1-1/+1
2015-04-02bigram smooth tweakPeter Wu1-1/+2
2015-04-02Split lambda pPeter Wu1-6/+8
2015-04-02Accidentally added two times debugPeter Wu1-11/+0
2015-04-02Improved score debuggingPeter Wu1-0/+27
2015-04-02Score debuggingPeter Wu1-0/+13
2015-04-02run.sh: allow classpath override, answer only modePeter Wu2-5/+13
2015-04-02Consider the probability of the whole sentencePeter Wu1-15/+40
2015-04-02SpellCorrector: look for differences in likelihoodPeter Wu1-0/+4
2015-04-02Calculate probability for unigramPeter Wu1-1/+1
Find L * P(word) instead of L * #word.
2015-04-02Fix probability calculationsPeter Wu2-36/+45
Replace monkey patching by an actual implementation that correctly combines channel probability (language model), prior and interpolation.
2015-04-02Support continuously processing stdinPeter Wu2-1/+20
2015-04-01Use Kerninghans confusion matrixPeter Wu1-1573/+1261
2015-04-01SpellChecker: FUBAREDPeter Wu1-31/+34
This is the submitted version, it contains random attempts and a fix (actually not that sure that this is the submitted version...). The Double.MIN_VALUE fix is probably missing.
2015-04-01Netbeans: enable assertions on runPeter Wu1-1/+1
2015-04-01Rate multi n-grams higherPeter Wu1-4/+16
2015-04-01Set true for peachPeter Wu1-1/+1
2015-04-01Count unigramsPeter Wu1-0/+9
2015-04-01Initial check-in of reportPeter Wu1-0/+200
2015-04-01Initial attempt at rating sentencesPeter Wu1-6/+145
2015-04-01Do not include unchanged wordsPeter Wu2-1/+6
2015-04-01Remove unused calculateChannelModelProbabilityPeter Wu1-8/+0
Channel probability is already calculated during getCandidateWords.
2015-04-01Calculate noisy channel probabilityPeter Wu2-0/+29