1
1
mirror of https://github.com/github/semantic.git synced 2024-12-30 02:14:20 +03:00
Commit Graph

6963 Commits

Author SHA1 Message Date
Rob Rix
0bef12d722 Test that featureVector produces d-vectors. 2016-06-22 11:04:27 -04:00
Rob Rix
dbcf4a2da0 Derive Eq & Show instances. 2016-06-22 11:01:52 -04:00
Rob Rix
e8428446e2 Shrink Grams. 2016-06-22 10:59:16 -04:00
Rob Rix
5bfd65b665 Use gramWithPQ for the Arbitrary instance. 2016-06-22 10:57:43 -04:00
Rob Rix
1d848e6dc3 Generate arbitrary p,q-grams. 2016-06-22 10:54:48 -04:00
Rob Rix
b85e2f27ce Add an Arbitrary instance over Grams. 2016-06-22 10:53:50 -04:00
Rob Rix
9a976869b2 Stub in a module for arbitrary grams. 2016-06-22 10:53:29 -04:00
Rob Rix
cc8fcb926e Include the Gram spec. 2016-06-22 10:45:43 -04:00
Rob Rix
52e274b57d Stub in the spec itself. 2016-06-22 10:45:31 -04:00
Rob Rix
d5e807257e Hush, hlint. 2016-06-22 10:43:02 -04:00
Rob Rix
51392382ef Stub in a spec for Data.Gram. 2016-06-22 10:41:13 -04:00
Rob Rix
ae08777c52 Prepend p parent labels. 2016-06-22 10:21:37 -04:00
Rob Rix
fa760d7ae1 Assign parents. 2016-06-22 10:13:25 -04:00
Rob Rix
c1f1fb71c9 Unpack lists of children. 2016-06-22 10:12:59 -04:00
Rob Rix
f8f1a073f6 Produce the label at each node. 2016-06-22 10:02:44 -04:00
Rob Rix
2edbff580c Abstract the unpacking function universally. 2016-06-22 10:02:01 -04:00
Rob Rix
228f5212ee Unpack the label and children at each level. 2016-06-22 09:56:10 -04:00
Rob Rix
dda39902b2 Specialize the unpacking function type. 2016-06-22 09:56:01 -04:00
Rob Rix
91db911cd2 Stub in a function to compute the p,q-grams for a given tree. 2016-06-22 09:54:14 -04:00
Rob Rix
67ab1f11a2 Merge pull request #616 from github/mini-summit-problems
Mini-summit notes detailing existing problem areas for semantic diff.
2016-06-22 09:43:12 -04:00
Rob Rix
1d225b39ad Qualify our imports. 2016-06-22 09:37:02 -04:00
Rob Rix
51f3d3d11d Compute random Doubles instead. 2016-06-21 19:04:35 -04:00
Rob Rix
686f94d53e Compute feature vectors from Bags of p,q-grams. 2016-06-21 18:50:06 -04:00
Rob Rix
226be486c8 Add a Random instance over Ratios. 2016-06-21 18:48:44 -04:00
Rob Rix
ce838de9b4 Bags are DLists. 2016-06-21 17:49:34 -04:00
Rob Rix
0fb73b6d96 Grams are Hashable. 2016-06-21 17:29:49 -04:00
Rob Rix
87b9c1c8e2 Bags are Hashable. 2016-06-21 17:29:09 -04:00
Rob Rix
2c9ef943b8 Depend on hashable. 2016-06-21 17:24:18 -04:00
Rob Rix
0e88786666 Add a Monoid instance for Bags. 2016-06-21 16:58:46 -04:00
Rob Rix
e6036c0d76 Stub in Bags. 2016-06-21 16:58:38 -04:00
Rob Rix
53b53a7c8f Serialize Grams to a flat list of labels. 2016-06-21 16:58:33 -04:00
Rob Rix
5df723fa5a Stub in Grams. 2016-06-21 16:58:19 -04:00
Rob Rix
f8988adf3b Stub in a module for Grams. 2016-06-21 15:19:44 -04:00
Rick Winfrey
5c25ae4719 Small changes / typos 2016-06-21 12:34:19 -04:00
Rick Winfrey
25f8b922ab Add mini summit problem notes 2016-06-21 12:26:48 -04:00
Josh Vera
f1293a9887 Merge pull request #614 from github/extensible-annotations
Extensible annotations
2016-06-20 13:57:53 -07:00
Rob Rix
87552e0ecb Generalize Alignment over annotations with ranges. 2016-06-17 14:07:35 -04:00
Rob Rix
8b5dc22797 🔥 SetField (roll it into HasField). 2016-06-17 14:07:21 -04:00
Rob Rix
27c17b20fe Generalize getRange to work over any Record with a Range. 2016-06-17 14:06:55 -04:00
Rob Rix
0969e20f39 Generalize hasChanges to arbitrary annotations. 2016-06-17 14:05:38 -04:00
Rob Rix
03b8076f03 Show the underlying Integer, not the Size. 2016-06-17 13:56:45 -04:00
Rob Rix
978c91cd59 Fix setCost infinite looping. 2016-06-17 13:53:33 -04:00
Rob Rix
1668e94427 Define Info as a synonym over Data.Record. 2016-06-17 13:33:50 -04:00
Rob Rix
7d95cb48dc Use the Cost & Size types in Info. 2016-06-17 13:30:48 -04:00
Rob Rix
37b59c89d7 Use the setter functions to update Info. 2016-06-17 13:28:35 -04:00
Rob Rix
5413e1ff43 Add setter functions for Info’s fields. 2016-06-17 13:23:54 -04:00
Rob Rix
fe00a94f52 Destructure Info using the field accessors. 2016-06-17 12:19:00 -04:00
Rob Rix
93f5d53cb4 🔥 the redundant ValueOf type family. 2016-06-17 11:51:03 -04:00
Rob Rix
10e4aefc26 🔥 the redundant IsField typeclass. 2016-06-17 11:50:56 -04:00
Rob Rix
3fb69066a5 Implement Record equality. 2016-06-17 11:50:18 -04:00