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

8065 Commits

Author SHA1 Message Date
Rob Rix
46ac7b5630 Revert "Add a function to retrieve the head element of a non-empty record."
This reverts commit 91d55d0e6c7ee324e21943ec06eb3acf213975f1.
2016-08-05 09:33:28 -04:00
Rob Rix
3e85be8740 Generate arbitrary non-empty vectors. 2016-08-05 09:26:21 -04:00
Rob Rix
76a3fea7c2 🔥 the Typeable and Hashable constraints on leaf. 2016-08-05 09:09:08 -04:00
Rob Rix
eb81569599 🔥 the getLabel parameter to rws. 2016-08-05 09:08:17 -04:00
Rob Rix
399c13da78 🔥 p, q, d. 2016-08-05 09:01:04 -04:00
Rob Rix
ed4de9140d Compute RWS by using the existing field. 2016-08-05 09:01:00 -04:00
Rob Rix
9fc9827b34 rws requires a feature vector. 2016-08-04 21:01:54 -04:00
Rob Rix
60c4effabe Diffing annotates terms with their feature vectors. 2016-08-04 20:43:10 -04:00
Rob Rix
74710eefcd 🔥 redundant imports. 2016-08-04 20:42:50 -04:00
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
Rob Rix
a6f8194b14 Use the Patch DSL in RWS. 2016-08-04 12:51:41 -04:00
Rob Rix
c308cd2b01 Use the Patch DSL in SES. 2016-08-04 12:51:36 -04:00
Rob Rix
6b84266ac6 📝 the Patch DSL. 2016-08-04 12:51:05 -04:00
Rob Rix
26b5f5b41b 📝 diffComparableTerms. 2016-08-04 12:48:27 -04:00
Rob Rix
9374ed5a4a 📝 algorithmWithTerms. 2016-08-04 12:47:56 -04:00
Rob Rix
071e9568f0 📝 runAlgorithm. 2016-08-04 12:42:26 -04:00
Rob Rix
11a3f32432 Haddock-friendly 📝 of diffTerms. 2016-08-04 12:33:09 -04:00
Rob Rix
e0da05538e Haddock-friendly 📝 of AlgorithmF. 2016-08-04 12:31:18 -04:00
Rob Rix
d2cbccede2 Haddock-friendly 📝 for rws. 2016-08-04 12:30:23 -04:00
Rob Rix
af34a7bf1c Haddock-friendly docs for Syntax. 2016-08-04 12:26:07 -04:00
Rob Rix
7378668b2c Put the = before the first constructor. 2016-08-04 12:25:56 -04:00
Rob Rix
04a3d52007 📝 diffTerms. 2016-08-04 12:13:48 -04:00
Rob Rix
49d0fa7980 Correct the 📝 of Algorithm. 2016-08-04 12:10:19 -04:00
Rob Rix
e23b78f1bc Section header for the DSL. 2016-08-04 12:08:34 -04:00
Rob Rix
e1bb2297af 📝 the Algorithm DSL. 2016-08-04 12:08:18 -04:00
Rob Rix
b4683ffc4f 📝 BySimilarity. 2016-08-04 12:07:24 -04:00
Rob Rix
dfd807c945 Clarify the 📝 for ByIndex. 2016-08-04 12:07:19 -04:00
Rob Rix
494274315d Rename ByRandomWalkSimilarity to BySimilarity. 2016-08-04 12:06:15 -04:00