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

8363 Commits

Author SHA1 Message Date
Rick Winfrey
64f430a4d7 Update submodule path for javascript repo 2016-08-09 17:46:44 -05:00
Rob Rix
9261f19074 🔥 featureVector. 2016-08-09 16:34:37 -04:00
Rob Rix
4b2a7eaea4 Test featureVectorDecorator directly. 2016-08-09 16:34:10 -04:00
Rob Rix
1b59d2782f Add a function to compute positive integers. 2016-08-09 16:33:54 -04:00
Rob Rix
67034c067d 🔥 pqGrams. 2016-08-09 16:24:05 -04:00
Rob Rix
46c2e4d8e0 Test pqGramDecorator directly. 2016-08-09 16:23:38 -04:00
Rob Rix
e0ec5ad7d0 Export pqGramDecorator. 2016-08-09 16:18:53 -04:00
Rob Rix
15f0f9c47a Label arbitrary p,q-grams with the text, not the record. 2016-08-09 16:18:45 -04:00
joshvera
9df1399168 output the inserted/deleted path in the patch header 2016-08-09 16:14:46 -04:00
joshvera
25a53ac718 add file addition and deletion tests 2016-08-09 16:14:46 -04:00
joshvera
c286b39146 Fix oids 2016-08-09 16:14:46 -04:00
joshvera
07dfb0f5d8 handle missing files in CorpusSpec 2016-08-09 16:14:46 -04:00
joshvera
5aac311a88 Add emptySourceBlob and sourceBlob functions to Source 2016-08-09 16:14:46 -04:00
joshvera
46b1a7385e Include protolude for Unsafe in tests 2016-08-09 16:14:46 -04:00
joshvera
55afdaba17 Add new file patch test 2016-08-09 16:14:46 -04:00
Rob Rix
0facfdbb7f Reformat the algebra. 2016-08-09 16:10:56 -04:00
Rob Rix
50c52af354 Define padToSize in pqGramDecorator. 2016-08-09 16:09:23 -04:00
Rob Rix
89aa3dc96e Roll decorateTermWithFeatureVector into featureVectorDecorator. 2016-08-09 16:08:03 -04:00
Rob Rix
e0087f535a Correct the 📝 for pqGramDecorator. 2016-08-09 16:07:23 -04:00
Rob Rix
8e84a9026f 🔥 labelDecorator. 2016-08-09 16:06:24 -04:00
Rob Rix
b89892d0e1 Rename decorateTermWithPQGram to pqGramDecorator. 2016-08-09 16:06:12 -04:00
Rob Rix
6012dfd354 Compute the label in the p,q-gram decorator. 2016-08-09 16:05:42 -04:00
Rob Rix
404c0b7fd5 Rename decorateTermWithLabel to labelDecorator. 2016-08-09 16:02:54 -04:00
Rob Rix
bf3b8fdc3f 🔥 decorateTermWithPGram. 2016-08-09 16:00:19 -04:00
Rob Rix
3cbba53c18 Assign the stem in decorateTermWithPQGram. 2016-08-09 16:00:04 -04:00
Rick Winfrey
408f03916f Add corpus/javascript git submodule to the project 2016-08-09 14:34:10 -05:00
Rob Rix
b966b56494 Move vmagnitude into unitVector. 2016-08-09 14:39:00 -04:00
Rob Rix
0cfa23fcc2 Extract the assignment of siblings. 2016-08-09 14:21:54 -04:00
Rob Rix
45fce4dffd Extract a function setting gram bases. 2016-08-09 13:11:10 -04:00
Rob Rix
4ad79e70d8 Extract the computation of the set of sibling labels. 2016-08-09 13:07:49 -04:00
Josh Vera
5b8de2e9dd Merge branch 'master' into fix-new-empty-file-patches 2016-08-09 11:54:04 -04:00
Rob Rix
0cd9fa9e34 Correct the 📝 for decorateTermWithPQGram. 2016-08-09 11:10:04 -04:00
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