Commit Graph

40 Commits

Author SHA1 Message Date
Psychedelic Squid
3f218ebb52 Make spelling distance check not care about case. 2012-03-27 21:46:27 +08:00
Psychedelic Squid
0cae8b3baa Use String.prototype.format() <https://gist.github.com/1153608> to make the translation strings more amenable to variations in word order. 2012-03-26 01:32:41 +00:00
Luke Slater
95eaa7f948 some additions to the strings file and the entire program should now be using the string entries 2012-03-24 23:48:28 +00:00
Psychedelic Squid
a83b1c2bd5 Argh! winner, not correction. Old code would match _anything_, not good. 2012-03-06 23:04:37 +00:00
Psychedelic Squid
68943d6c8f Make max winner distance proportional to correction length, so long strings can match. 2012-03-06 22:58:04 +00:00
Psychedelic Squid
85bc47c152 Sanity check; don't want to match against identical words to the correction. 2012-03-06 22:19:11 +00:00
Psychedelic Squid
4e2d4017d0 Check all groupings of words for corrections; makes multi-word corrections behave properly. 2012-03-06 22:02:52 +00:00
Psychedelic Squid
ad6b354daf After actually learning how valMatch works, this motherfucker is ready to roll. 2012-03-06 16:34:18 +00:00
Psychedelic Squid
2f9af449ec New regex in place, but the matching pattern changes a little, so I think it probably would break if nothing else is changed. Need to spin up a node server so I can test live. 2012-03-02 02:50:31 +00:00
Luke Slater
2fd09aa3f9 apostrophes bitches 2012-01-20 16:26:47 +00:00
Luke Slater
c2d2e0342e do that properly 2012-01-09 14:53:48 +00:00
Luke Slater
007540bead do that properly 2012-01-09 14:51:34 +00:00
Luke Slater
bb934fb1db fix spelling bug with replacing parts of words instead of the word if the letter sequence occurs first 2012-01-09 14:46:09 +00:00
Luke Slater
9b00578a60 winnerDistance back up to 7 2012-01-02 13:20:20 +00:00
Luke Slater
b3c655a46b merging afals spelling fixed 2012-01-02 13:13:31 +00:00
Dafydd Francis
444817f145 cleaned up the spelling module 2012-01-01 20:35:43 +00:00
Dafydd Francis
32e21067f5 Changed 9999999 to Infinity 2012-01-01 18:47:50 +00:00
Luke Slater
ea14374736 7 2011-12-14 20:57:15 +00:00
Luke Slater
817915958b distance 5 2011-12-14 19:15:32 +00:00
Luke Slater
344ae848a4 fixed the idiot half-changed spelling bit 2011-11-27 13:32:41 +00:00
Luke Slater
877d666a19 fixed the idiot half-changed spelling bit 2011-11-27 13:27:34 +00:00
Luke Slater
81eb8ebeac lolsnowtest 2011-11-25 12:27:00 +00:00
Luke Slater
23e4e5d7c0 ignore spelling if *word* 2011-11-17 22:12:32 +00:00
Luke Slater
b0d82acf77 ignore spelling if *word* 2011-11-17 22:06:56 +00:00
Luke Slater
23653665c2 valmatch correction 2011-11-04 16:37:21 +00:00
Luke Slater
119d0b306e correct other peoples spelling 2011-11-04 16:34:36 +00:00
Luke Slater
e60465cfc1 spelling correct chaining 2011-11-01 17:48:13 +00:00
Luke Slater
a4a8471ab5 ** 2011-10-31 17:13:41 +00:00
Luke Slater
130363c991 ** 2011-10-31 17:11:40 +00:00
Luke Slater
fd9366e4f9 ** 2011-10-31 17:10:25 +00:00
Luke Slater
e0dee27658 ** 2011-10-31 17:07:14 +00:00
Luke Slater
8a959a62b8 meant 2011-10-26 20:56:52 +01:00
Luke Slater
aa7fc99144 winner = correction fix 2011-10-26 20:52:53 +01:00
Luke Slater
e8c0d5565f var not int jesus christ java 2011-10-26 17:27:05 +01:00
Luke Slater
254f89f710 var not int jesus christ java 2011-10-26 17:26:37 +01:00
Luke Slater
d57b2e2092 var not int jesus christ java 2011-10-26 17:25:41 +01:00
Luke Slater
68d8c75b50 var not int jesus christ java 2011-10-26 17:24:19 +01:00
Luke Slater
c7b2b5b139 var not int jesus christ java 2011-10-26 17:22:19 +01:00
Luke Slater
adbcb4f1fa var not int jesus christ java 2011-10-26 17:21:21 +01:00
Luke Slater
e874ffbfc2 spelling 2011-10-26 17:19:52 +01:00