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

8078 Commits

Author SHA1 Message Date
Rob Rix
6ab3e09c25 Implement featureVector in terms of the top-level unitVector binding. 2016-08-09 11:09:34 -04:00
Rob Rix
d255e16808 Correct the 📝 for decorateTermWithFeatureVector. 2016-08-09 11:08:44 -04:00
Rob Rix
c484a2c8fc Correct the 📝 for decorateTermWithPQGram. 2016-08-09 11:08:15 -04:00
Rob Rix
c63721cfd4 decorateTermWithPQGram calls out to decorateTermWithPGram. 2016-08-09 11:07:58 -04:00
Rob Rix
8d1fb84ed3 Idiomatic record construction. 2016-08-09 11:06:27 -04:00
Rob Rix
638d8eda23 📝 unitVector. 2016-08-09 11:05:35 -04:00
Rob Rix
71a42c2d98 Extract unitVector to the top level. 2016-08-09 11:05:32 -04:00
Rob Rix
5798a3b03d 🔥 decorateTermWithUnitVector. 2016-08-09 11:03:14 -04:00
Rob Rix
dc4b0be491 Extract the computation of the unit vector to the where clause. 2016-08-09 11:03:02 -04:00
Rob Rix
ccd734c117 Roll decorateTermWithUnitVector back into decorateTermWithFeatureVector. 2016-08-09 11:01:46 -04:00
Rob Rix
e369b445c2 Simplify the unit vector summation. 2016-08-09 10:57:25 -04:00
Rob Rix
4009d547a1 Revert "Add a unit vector decorator."
This reverts commit 94cdb43e577b4bf9381a34b1225c30163d3cac3f.
2016-08-09 10:51:17 -04:00
Rob Rix
dfffc15760 Add a unit vector decorator. 2016-08-08 16:56:15 -04:00
Rob Rix
076ad36229 🔥 some redundant parens. 2016-08-08 16:56:06 -04:00
Rob Rix
2d6857a51e Merge branch 'master' into precompute-p,q-grams 2016-08-08 16:48:47 -04:00
Rob Rix
0cfb700c23 Pad root labels out. 2016-08-08 16:47:33 -04:00
Rob Rix
3d4ea56ff3 Assign sibling labels to gram bases. 2016-08-08 16:47:03 -04:00
Rob Rix
23d4a0bd56 🔥 windowed. 2016-08-08 16:47:00 -04:00
Rob Rix
62e16b51cd 🔥 getGrams. 2016-08-08 16:46:56 -04:00
Rob Rix
832d8606a6 🔥 setBases. 2016-08-08 16:46:51 -04:00
Rob Rix
17bba1b762 Add a function to retrieve the head of a non-empty record. 2016-08-08 16:46:34 -04:00
Rob Rix
7603390361 Constrain the term functor to be Traversable. 2016-08-08 16:24:09 -04:00
Rob Rix
0c8b880aa6 Merge pull request #681 from github/improve-error-diff-summaries
Improve error diff summaries
2016-08-08 16:03:53 -04:00
joshvera
3a72b396ee Merge remote-tracking branch 'origin/master' into improve-error-diff-summaries 2016-08-08 15:41:27 -04:00
Rob Rix
adf8c902a8 Merge pull request #679 from github/summary-contexts
Output nearest identifiable parent in a patch's diff summary
2016-08-08 15:31:45 -04:00
joshvera
12f2300fa9 Print the error term when printing ErrorInfos 2016-08-08 15:28:09 -04:00
joshvera
7d4e6affc2 Output error text from source 2016-08-08 15:23:08 -04:00
Rob Rix
394d6186d9 Add a patch fixture for the dictionary case. 2016-08-08 15:22:16 -04:00
Rob Rix
26c4b31774 Merge branch 'master' into precompute-p,q-grams 2016-08-08 15:15:19 -04:00
Josh Vera
5fd90ff5f6 Merge branch 'master' into summary-contexts 2016-08-08 15:02:43 -04:00
joshvera
0bee997724 fix tests 2016-08-08 14:59:51 -04:00
joshvera
81e42933ce Just keep track of the immediate parent annotation 2016-08-08 14:49:19 -04:00
joshvera
4efa6f6fa5 Add parent annotation to the end of the list 2016-08-08 14:37:51 -04:00
joshvera
11e35ac9c6 Only prepend summaries if the parent term has an identifier 2016-08-08 14:30:55 -04:00
joshvera
d8ff761f40 Add mapPatch 2016-08-08 14:19:47 -04:00
joshvera
51cb8918a9 Prepend (Category, TermName) to DiffSummary.parentAnnotations 2016-08-08 14:06:07 -04:00
joshvera
c191312ece Move instances down and exported types up 2016-08-08 12:21:56 -04:00
Rob Rix
54fac40f80 Merge pull request #678 from github/08-08-2016-weekly-notes
Add 08-08-2016 weekly notes
2016-08-08 11:29:08 -04:00
Rick Winfrey
fa90ab1da6 Add 08-08-2016 weekly notes 2016-08-08 10:26:35 -05:00
Rob Rix
1e3225f594 Diff these branches by similarity. 2016-08-05 18:11:34 -04:00
Rob Rix
6543665754 decorateTermWithFeatureVector does not rely on the d parameter. 2016-08-05 18:05:36 -04:00
Rob Rix
e2a8db8487 Start summing from the unit vector. 2016-08-05 18:04:57 -04:00
Rob Rix
0923a950c2 Compute unit vectors separately from feature vectors. 2016-08-05 18:04:07 -04:00
Rob Rix
25f4d2e751 Merge branch 'master' into precompute-p,q-grams
# Conflicts:
#	src/Diffing.hs
#	src/Parser.hs
#	src/TreeSitter.hs
2016-08-05 13:13:36 -04:00
Josh Vera
54b85186d5 Merge pull request #673 from github/algorithm-dsl
Algorithm DSL
2016-08-05 13:01:51 -04:00
Rob Rix
3b1ce5850d 📝 the decorators. 2016-08-05 10:26:16 -04:00
Rob Rix
4c729f5c77 📝 padToSize. 2016-08-05 10:24:11 -04:00
Rob Rix
ebaca5e49a Pad the stems. 2016-08-05 10:22:44 -04:00
Rob Rix
41a32f5ab8 We can do this in ana just as easily. 2016-08-05 10:22:03 -04:00
Rob Rix
984822486b 🔥 some redundant imports. 2016-08-05 10:16:35 -04:00