Open andyinabox opened 10 years ago
Hey…
Sorry. This is an issue w/ the .gitignore - will get this updated and let you now.
-Jer
Jer Thorp Co-founder, The Office For Creative Research
@blprnt @The_O_C_R
jer@o-c-r.org 347.755.2435
On Jun 29, 2014, at 4:53 PM, Andy Dayton notifications@github.com wrote:
I forked to poke around and see how some of the natural language processing stuff was working. The API endpoints are requiring a file wordplay.js that doesn't exist in the repo that seems to be doing all the heavy lifting. Maybe you forgot to include it?
app.get('/wp/:corpus/:input/:max', function(req, res){ //res.send('Process ' + req.params.input + ' from ' + req.params.corpus); res.send(JSON.stringify(require('wordplay.js').getWordMatches(req.params.input, req.params.corpus, req.params.max)), null, 4); });
app.get('/wp/:corpus/:input', function(req, res){ //res.send('Process ' + req.params.input + ' from ' + req.params.corpus); res.send(JSON.stringify(require('wordplay.js').getWordMatches(req.params.input, req.params.corpus, 20)), null, 4); }); Thanks!
— Reply to this email directly or view it on GitHub.
Fixed. Thanks again.
-Jer
Jer Thorp Co-founder, The Office For Creative Research
@blprnt @The_O_C_R
jer@o-c-r.org 347.755.2435
On Jun 29, 2014, at 4:53 PM, Andy Dayton notifications@github.com wrote:
I forked to poke around and see how some of the natural language processing stuff was working. The API endpoints are requiring a file wordplay.js that doesn't exist in the repo that seems to be doing all the heavy lifting. Maybe you forgot to include it?
app.get('/wp/:corpus/:input/:max', function(req, res){ //res.send('Process ' + req.params.input + ' from ' + req.params.corpus); res.send(JSON.stringify(require('wordplay.js').getWordMatches(req.params.input, req.params.corpus, req.params.max)), null, 4); });
app.get('/wp/:corpus/:input', function(req, res){ //res.send('Process ' + req.params.input + ' from ' + req.params.corpus); res.send(JSON.stringify(require('wordplay.js').getWordMatches(req.params.input, req.params.corpus, 20)), null, 4); }); Thanks!
— Reply to this email directly or view it on GitHub.
Awesome. Thank you! :)
I forked to poke around and see how some of the natural language processing stuff was working. The API endpoints are requiring a file
wordplay.js
that doesn't exist in the repo that seems to be doing all the heavy lifting. Maybe you forgot to include it?Thanks!