39 Commits

Author SHA1 Message Date
00ef0b3310 Clean up stage persistence API 2015-10-28 23:07:09 -04:00
33c5656771 Restore trained stroke extractor 2015-10-28 23:07:09 -04:00
c10079bba4 Get bridges working 2015-10-28 23:07:09 -04:00
76af71b797 Factor out stroke extraction library 2015-10-28 23:07:08 -04:00
43c5c03626 Add helper functions to serialize and deserialize paths 2015-10-28 23:07:08 -04:00
0cf0bfab42 Prepare to load missing radicals 2015-09-26 01:02:00 -04:00
2aadfc21ca Drop unneeded Unihan data files 2015-09-26 01:01:59 -04:00
3682b75835 Drop neural net and trained classifier 2015-09-24 00:04:43 -04:00
cf825852e8 Use ES2015 + strict-mode 2015-09-23 23:30:02 -04:00
13f96fc340 Prepare to extract new glyphs needed for some decompositions 2015-09-23 00:14:59 -04:00
9655198357 Fix bugs in stroke extraction code 2015-09-20 16:10:39 -04:00
42eaadfd8a Add code to drop single-segment strokes 2015-09-13 16:41:01 -04:00
95053df1e0 Add to stroke-extraction black magic 2015-09-13 14:43:12 -04:00
b028ef4886 Allow for strange edge case with multiple corner 2015-09-13 01:15:43 -04:00
9f0a69554c Update classifier to included trained neural net 2015-09-13 00:35:41 -04:00
8f336f9aad Fix broken distance feature that was wrecking training 2015-09-12 23:16:44 -04:00
f95eb7ac86 Add complete failure of a trained classifier 2015-09-12 22:42:06 -04:00
b40db520c0 Add code to extract training data from rated glyphs 2015-09-12 21:10:07 -04:00
440fb23603 Parametrize stroke extraction by classifier function 2015-09-12 20:49:16 -04:00
71f7f6279d Refactor bridge classifier to drop edge case 2015-09-12 20:41:11 -04:00
1db6bb4eeb Move assert helper to utility 2015-09-12 20:32:39 -04:00
bfbeb3e91c Fix bug in self-intersection detection 2015-09-11 01:12:42 -04:00
082b7eca32 Log errors from stroke extraction algorithm 2015-09-11 00:50:25 -04:00
0d5565743f Add warning around select_bridge hax 2015-09-10 02:01:04 -04:00
8e71c12f9e Clean up intersection implementation and handle divide-by-0 2015-09-10 01:53:09 -04:00
bc1e5f7a6c Add bridge intersection points to stroke outline 2015-09-10 01:48:04 -04:00
1a00fcb6b7 Fix critical bug in intersection computation 2015-09-10 01:47:00 -04:00
629c058ca8 Add hacky code to deal with bridge intersections 2015-09-10 01:22:06 -04:00
78e3a2ed26 Pass manual bridges into stroke extractor 2015-09-09 00:45:52 -04:00
707fe91da6 Port basic stroke extraction algorithm to Javascript 2015-09-08 10:52:18 -04:00
1ace35e84d Try out tweak to classifier 2015-09-08 00:09:44 -04:00
bc101b8447 Add some documentation 2015-09-07 23:57:57 -04:00
e0a8527531 Get bridge extraction and editing working again 2015-09-07 23:34:59 -04:00
52eccd8fe9 Drop segments and run classifier on corners 2015-09-07 21:29:55 -04:00
2749854ac9 Math-preserving tweak 2015-09-07 17:37:47 -04:00
eab20631cc Add scoring that allows for dead-end edges 2015-09-07 17:27:17 -04:00
c722fae666 Get basic matching algorithm working 2015-09-07 17:13:13 -04:00
a485a5c5ce Add code to extract bipartite segment list 2015-09-07 11:52:41 -04:00
577fb8ca43 Port corner detection to Javascript 2015-09-07 01:10:31 -04:00