<commit_before>var router = require("express").Router();
var cors = require("cors");
// var phrases = require('./phrases/phraseController.js');
var request = require("request");
var express = require('express')
var app = express();

var Yelp = require('yelp');
 
var yelp = new Yelp({
  consumer_key: "jyK0pX1w36_zOyRDBCQGPA",
  consumer_secret: "fldLTHhsFY4tr_rl8wDwcF_LGaU",
  token: "<KEY>",
  token_secret: "<KEY>",
});
 




// PersonModel.find({$where : 'this.favouriteFoods.indexOf("sushi") != -1'});
// function getYelpTerm(req,res,next){
//        console.log("herrreee")
//       var test =  req.query.activity.split(" ")
//     // Phrase.find({})
//     // .where('name').equals(req.query.activity)


// }

function getActivities (req,res){
yelp.search({<commit_msg>food pages done -please style<commit_after>var router = require("express").Router();
var cors = require("cors");
// var phrases = require('./phrases/phraseController.js');
var request = require("request");
var express = require('express')
var app = express();

var Yelp = require('yelp');
 
var yelp = new Yelp({
  consumer_key: "jyK0pX1w36_zOyRDBCQGPA",
  consumer_secret: "fldLTHhsFY4tr_rl8wDwcF_LGaU",
  token: "<KEY>",
  token_secret: "<KEY>"
});
  




// PersonModel.find({$where : 'this.favouriteFoods.indexOf("sushi") != -1'});
// function getYelpTerm(req,res,next){
//        console.log("herrreee")
//       var test =  req.query.activity.split(" ")
//     // Phrase.find({})
//     // .where('name').equals(req.query.activity)


// }

function getActivities (req,res){
yelp.search({
{'fraction_non_alphanumeric': 0.19745222929936307, 'fraction_numerical': 0.008917197452229299, 'mean_word_length': 4.051446945337621, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7544566', 'n_tokens_mistral': 599, 'n_tokens_neox': 562, 'n_words': 99}