1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 14:21:31 +03:00
Commit Graph

7931 Commits

Author SHA1 Message Date
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
Rob Rix
61a36d1023 Merge branch 'master' into precompute-p,q-grams 2016-08-02 12:05:30 -04:00
Rob Rix
54c86812f3 Merge branch 'master' into precompute-p,q-grams 2016-08-02 12:05:19 -04:00
Josh Vera
d7a789fdf3 Merge pull request #670 from github/weekly-notes
Add 08/02/2016 notes
2016-08-02 12:03:26 -04:00
joshvera
643337b9fa Add 08/02/2016 notes 2016-08-02 11:58:09 -04:00
Rob Rix
b966c24bad Merge pull request #668 from github/weekly-2016-07-26
July 26th, 2016 weekly.
2016-08-02 11:13:35 -04:00
Rob Rix
eb0119c528 July 26th, 2016 weekly. 2016-08-02 10:53:29 -04:00
Rick Winfrey
122e9dd806 Merge pull request #656 from github/throw-syntax
Add support for Throw syntax
2016-08-01 14:57:31 -05:00
joshvera
36c4001682 Merge remote-tracking branch 'origin/master' into throw-syntax 2016-08-01 13:55:44 -04:00