Rob Rix
|
ec548b56d4
|
Sort the test dependencies alphabetically.
|
2016-08-04 20:42:39 -04:00 |
|
Rob Rix
|
d26c7834e9
|
Add a decorator for feature vectors which chains the other decorators together.
|
2016-08-04 20:37:34 -04:00 |
|
Rob Rix
|
46f4ca93c3
|
Pad the base at the root.
|
2016-08-04 20:03:44 -04:00 |
|
Rob Rix
|
ea950d1953
|
Extract a function to pad a list to a given length.
|
2016-08-04 20:00:36 -04:00 |
|
Rob Rix
|
03438d2cb7
|
Extract the setBases function.
|
2016-08-04 19:57:40 -04:00 |
|
Rob Rix
|
70d1d9b308
|
🔥 the unused TermDecorator type synonym.
|
2016-08-04 19:48:59 -04:00 |
|
Rob Rix
|
32f9152f22
|
Rename a test.
|
2016-08-04 19:48:21 -04:00 |
|
Rob Rix
|
46a3aee33e
|
Define pqGrams in terms of the decorator.
|
2016-08-04 19:19:03 -04:00 |
|
Rob Rix
|
0a7d5fa124
|
Add a function to retrieve the head element of a non-empty record.
|
2016-08-04 19:17:58 -04:00 |
|
Rob Rix
|
4b21c560c9
|
Roll the grams together in a single function.
|
2016-08-04 17:22:18 -04:00 |
|
Rob Rix
|
d678f64ad1
|
Assign bases of width q.
|
2016-08-04 17:21:17 -04:00 |
|
Rob Rix
|
eb1ab50b00
|
🔥 the unused q parameter.
|
2016-08-04 16:50:14 -04:00 |
|
Rob Rix
|
8c31fd9794
|
🔥 pqGramDecorator.
|
2016-08-04 16:21:28 -04:00 |
|
Rob Rix
|
0a047d77cb
|
🔥 featureVectorDecorator.
|
2016-08-04 16:21:23 -04:00 |
|
Rob Rix
|
b079bf1b5a
|
Define a function mapping p,q-gram bag–decorated terms into feature vector–decorated terms.
|
2016-08-04 15:53:17 -04:00 |
|
Rob Rix
|
d573ca7940
|
🔥 the getLabel parameter to decorateTermWithPQGram.
|
2016-08-04 15:48:13 -04:00 |
|
Rob Rix
|
b06194da38
|
Add a function decorating a term with bags of p,q-grams.
|
2016-08-04 15:43:50 -04:00 |
|
Rob Rix
|
32e084971a
|
Define decorateTermWithLabel inline.
|
2016-08-04 15:37:49 -04:00 |
|
Rob Rix
|
3dc0a4f071
|
Expect the incoming term to have a label at the head of the record already.
|
2016-08-04 15:35:47 -04:00 |
|
Rob Rix
|
9c3509f7d2
|
🔥 the unused parameter d.
|
2016-08-04 15:32:56 -04:00 |
|
Rob Rix
|
8e9cc43f49
|
Add a function to decorate a term with its p,q-gram.
|
2016-08-04 15:28:00 -04:00 |
|
Rob Rix
|
bb6cbb753c
|
Add a function to decorate a term with its label.
|
2016-08-04 15:27:14 -04:00 |
|
Rob Rix
|
59ef5efd1e
|
Merge branch 'master' into precompute-p,q-grams
|
2016-08-04 13:26:31 -04:00 |
|
Josh Vera
|
e742a8c86d
|
Merge pull request #676 from github/fix-some-other-warnings
Fix some other warnings
|
2016-08-04 10:24:02 -04:00 |
|
Rob Rix
|
f379deca33
|
Use the Foldable instance to avoid a mappend.
|
2016-08-04 10:19:46 -04:00 |
|
Rob Rix
|
5280b62a20
|
Commented terms are named from their children.
|
2016-08-04 10:19:02 -04:00 |
|
joshvera
|
e39ab20eee
|
Use termNameFromSource in toTermName
|
2016-08-04 10:13:56 -04:00 |
|
Rob Rix
|
2286b2b37b
|
Define toTermName over Error nodes.
|
2016-08-04 10:04:33 -04:00 |
|
Rob Rix
|
6c39b170e8
|
Define toTermName over Commented nodes.
|
2016-08-04 10:04:33 -04:00 |
|
Rob Rix
|
70c6b42e69
|
Add the missing pattern match over methods.
|
2016-08-04 10:04:33 -04:00 |
|
Rob Rix
|
ff954d08c7
|
🔥 the unused CoArbitrary instance over Category.
This also allows us to 🔥 the orphan instance over Text.
|
2016-08-04 10:04:33 -04:00 |
|
Rick Winfrey
|
b91d91ef0f
|
Merge pull request #675 from github/fix-prologue-warnings
[WIP] Fix some warnings
|
2016-08-04 09:03:06 -05:00 |
|
Rob Rix
|
559011de3a
|
🔥 a redundant import.
|
2016-08-04 09:46:21 -04:00 |
|
Rob Rix
|
190fa948e2
|
This is already getting exported via Protolude.
|
2016-08-04 08:52:25 -04:00 |
|
Rob Rix
|
8fc465c07c
|
Stub in a decorator assigning feature vectors.
|
2016-08-03 14:33:05 -04:00 |
|
Rob Rix
|
d866df0a3d
|
Set the bases on siblings using a foldMap.
It’s easier to reason about than the equivalent bind, IMO.
|
2016-08-02 16:39:01 -04:00 |
|
Rob Rix
|
f546b21ea2
|
Move the p,q-gram decorator to the RWS module.
|
2016-08-02 15:08:21 -04:00 |
|
Rob Rix
|
3d3874ee14
|
List the RWS exports manually.
|
2016-08-02 15:07:57 -04:00 |
|
Rob Rix
|
1b02940e26
|
Combine the gram at each node in.
|
2016-08-02 13:56:48 -04:00 |
|
Rob Rix
|
192366d5ad
|
This is already being exported.
|
2016-08-02 13:56:29 -04:00 |
|
Rob Rix
|
fab4a3c829
|
Build the label for the current node.
|
2016-08-02 13:48:15 -04:00 |
|
Rob Rix
|
cd2dfd5374
|
Combine all the child grams together.
|
2016-08-02 13:45:58 -04:00 |
|
Rob Rix
|
bd81f9d4bf
|
The p,q-gram decorator decorates with a pair of the gram for that node and the grams for all child nodes.
|
2016-08-02 13:41:27 -04:00 |
|
Rob Rix
|
a6aee9de71
|
🔥 a redundant binding.
|
2016-08-02 12:14:09 -04:00 |
|
Rob Rix
|
a0b41083ab
|
Apparently this got swapped again or something?
|
2016-08-02 12:13:52 -04:00 |
|
Rob Rix
|
fc51f7ec90
|
These are blobs.
|
2016-08-02 12:13:35 -04:00 |
|
Rob Rix
|
78dd3b6b6d
|
🔥 a redundant import in the prologue.
|
2016-08-02 12:11:19 -04:00 |
|
Rob Rix
|
82aae9b37a
|
Parsers take blobs now.
|
2016-08-02 12:11:05 -04:00 |
|
Rob Rix
|
3c93b41f25
|
🔥 a redundant import.
|
2016-08-02 12:10:54 -04:00 |
|
Rob Rix
|
a5dce511fa
|
Fix a missing import.
|
2016-08-02 12:08:26 -04:00 |
|