Rob Rix
|
2de9468ed1
|
Sort the imports.
|
2016-06-27 15:28:04 -04:00 |
|
Rob Rix
|
9611a27887
|
🔥 test/ArbitraryTerm.hs.
|
2016-06-27 15:03:04 -04:00 |
|
Rob Rix
|
b405286065
|
Tidy up AlignmentSpec.
|
2016-06-27 15:02:28 -04:00 |
|
Rob Rix
|
ddc418bc57
|
Correct the before/after definitions to select the correct side.
|
2016-06-27 13:29:22 -04:00 |
|
Rob Rix
|
aa5d6e4deb
|
Test that afterTerm recovers the second term.
|
2016-06-27 13:24:50 -04:00 |
|
Rob Rix
|
8035c1844c
|
Test that beforeTerm recovers the first term.
|
2016-06-27 13:23:43 -04:00 |
|
Rob Rix
|
c70c936d60
|
Use shouldBe instead of == .
|
2016-06-27 13:21:32 -04:00 |
|
Rob Rix
|
1dd10050f6
|
Move some tests around.
|
2016-06-27 13:18:20 -04:00 |
|
Rob Rix
|
346bec0d0b
|
Clean up redundant imports and use Text, not String.
|
2016-06-27 13:16:56 -04:00 |
|
Rob Rix
|
10b5bdaab4
|
Use Text, not String.
|
2016-06-27 13:16:48 -04:00 |
|
Rob Rix
|
85f39fd5a8
|
Move some tests out of TermSpec into Diff.Spec.
|
2016-06-27 13:15:03 -04:00 |
|
Rob Rix
|
ad4a34ebb0
|
🔥 a redundant import.
|
2016-06-27 13:12:37 -04:00 |
|
Rob Rix
|
b4107426de
|
Stub in a spec for Diff.
|
2016-06-27 13:12:06 -04:00 |
|
Rob Rix
|
8fe92c025c
|
Pare the unicode replacement test down further.
|
2016-06-27 13:08:12 -04:00 |
|
Rob Rix
|
db17330b4d
|
Clean up the InterpreterSpec test by extracting the infos.
|
2016-06-27 13:03:58 -04:00 |
|
Rob Rix
|
41902045b4
|
Define an afterTerm function over diffs.
|
2016-06-27 12:50:25 -04:00 |
|
Rob Rix
|
8fcbaa3a7e
|
Define beforeTerm via mergeMaybe.
|
2016-06-27 12:50:10 -04:00 |
|
Rob Rix
|
8f7307c989
|
Add a partial merge function.
|
2016-06-27 12:49:44 -04:00 |
|
Rob Rix
|
9829d2df84
|
Add a merge function to compute a Term from a Diff.
|
2016-06-27 12:37:27 -04:00 |
|
Rob Rix
|
3f6cab2abc
|
Add a function to compute the before state of a diff.
|
2016-06-27 12:02:25 -04:00 |
|
Rob Rix
|
b4560a5b5a
|
Merge branch 'master' into random-walk-similarity
|
2016-06-27 11:46:33 -04:00 |
|
Rob Rix
|
c0eceb273c
|
We no longer have to hide this symbol.
|
2016-06-27 11:46:22 -04:00 |
|
Rob Rix
|
deee2a0c5d
|
Merge pull request #620 from github/weekly-2016-06-27
June 27th, 2016 weekly
|
2016-06-27 11:24:58 -04:00 |
|
Rob Rix
|
bb78a5d003
|
June 27th, 2016 weekly
|
2016-06-27 11:19:22 -04:00 |
|
Rob Rix
|
102b9cbfa6
|
Skip mapped children.
|
2016-06-24 11:27:42 -04:00 |
|
Rob Rix
|
2bb046c65a
|
Rewrite with case again.
|
2016-06-24 11:13:04 -04:00 |
|
Rob Rix
|
5724d2cbb3
|
Use k-d trees to look up the nearest neighbour.
|
2016-06-24 11:10:18 -04:00 |
|
Rob Rix
|
b69e87f4f5
|
Rename diffAgainstNearestNeighbour to findNearestNeighbourTo.
|
2016-06-24 10:47:34 -04:00 |
|
Rob Rix
|
dff102aaa6
|
Clean up the nested cases on Maybe with do notation.
|
2016-06-24 10:20:31 -04:00 |
|
Rob Rix
|
1489213e99
|
Merge branch 'master' into random-walk-similarity
|
2016-06-23 17:31:19 -04:00 |
|
Rob Rix
|
1dac9cfb08
|
Diff against nearest neighbours.
|
2016-06-23 16:46:58 -04:00 |
|
Rob Rix
|
b5f9d94e80
|
Pass a getLabel function to rws.
|
2016-06-23 16:34:43 -04:00 |
|
Rob Rix
|
c1a2617fa1
|
Interpretation must operate over terms with extensible annotations.
|
2016-06-23 16:34:13 -04:00 |
|
Rob Rix
|
0b37ae936b
|
Diff terms of records.
|
2016-06-23 16:30:43 -04:00 |
|
Rob Rix
|
365e84301d
|
Add an Arbitrary instance for Category.
|
2016-06-23 16:29:19 -04:00 |
|
Rob Rix
|
0dec4c2879
|
Add a header above the instances.
|
2016-06-23 16:25:49 -04:00 |
|
Rob Rix
|
b604ddd446
|
FlexibleContexts all the things.
|
2016-06-23 16:19:51 -04:00 |
|
Rob Rix
|
ae55c9480a
|
Generalize nearestNeighbour.
|
2016-06-23 11:45:17 -04:00 |
|
Rob Rix
|
ed552da2af
|
Swap the d/bag arguments in featureVector.
|
2016-06-23 10:34:23 -04:00 |
|
Rob Rix
|
6c8ee2958a
|
Rename a to leaf .
|
2016-06-23 10:23:27 -04:00 |
|
Rob Rix
|
a9f251e42f
|
Test against trees annotated with their labels directly.
|
2016-06-23 10:19:45 -04:00 |
|
Rob Rix
|
a657295ae6
|
Generalize pqGrams over a getLabel accessor again.
|
2016-06-23 10:18:39 -04:00 |
|
Rob Rix
|
c85c87ad65
|
Okay FINE, hlint!
|
2016-06-23 10:11:48 -04:00 |
|
Rob Rix
|
c9b26f2da8
|
Category is Hashable.
|
2016-06-23 09:55:48 -04:00 |
|
Rob Rix
|
a58463007e
|
Derive a Generic instance for Category.
|
2016-06-23 09:55:43 -04:00 |
|
Rob Rix
|
6133903e8c
|
Extract the label from a record.
|
2016-06-23 09:52:15 -04:00 |
|
Rob Rix
|
220687da5e
|
🔥 the old spec.
|
2016-06-23 09:51:55 -04:00 |
|
Rob Rix
|
011623e028
|
Correct the spec module import.
|
2016-06-23 09:51:47 -04:00 |
|
Rob Rix
|
9b8e9305e4
|
Shrink arbitrary records.
|
2016-06-23 09:46:44 -04:00 |
|
Rob Rix
|
656d8318ad
|
Add an Arbitrary instance over Data.Record.
|
2016-06-23 09:45:41 -04:00 |
|