<commit_before>#HOTLINE-BING

##You're one stop hotline.

![](http://www.bet.com/content/dam/betcom/images/2015/10/Music-10-16-10-31/102015-music-drake-hotline-bling-gif-3.gif.custom1200x675x20.dimg)

A product of YHACK-2015, Hotline-Bing is an sms driven web client. Based on initial user input as stored in `note` the query is either handed off to Haven-On-Demand where text analysis is done and the proper dates and locations are returned, or given directly to Bing.

if the user indicates that she wants to look for a hotel on Priceline than the API is queried with the users input and the top hotels are returned. The user gets to see the top hotel listings in the selected area with the option to learn more about any of them. If they user indicates that they would like to `pay` then a link to the [Braintree](https://www.braintreepayments.com/) payments system is sent to them where they can then pay for the hotel room at that time.

##Roll this yourself.
To roll this yourself it would be quite simple. Clone this repo and make sure you have `Node` installed. Go about installing all of the dependencies and then replace the developer keys. They are as follows: `merchantId`, `publicKey`, `privateKey` in the `payments.js` file, and the `accKey` for both [Bing](https://www.bing.com/dev/) and [Haven-On-Demand](https://www.havenondemand.com/). Couple this with a fully functioning non-`Sandbox` account from Braintree, a premium [Twilio](https://www.twilio.com/) account & keys and a real payment forum and you're in business.

It's likely that much in this repo is either broken, or written in a really horrible or hacky way. We know this, we wrote it in less than 30 hours over two days. Pull-requests and issues are welcome.<commit_msg>I make grammatical errors.<commit_after>#HOTLINE-BING

##The one stop hotline.

![](http://www.bet.com/content/dam/betcom/images/2015/10/Music-10-16-10-31/102015-music-drake-hotline-bling-gif-3.gif.custom1200x675x20.dimg)

A product of YHACK-2015, Hotline-Bing is an sms driven web client. Based on initial user input as stored in `note` the query is either handed off to Haven-On-Demand where text analysis is done and the proper dates and locations are returned, or given directly to Bing.

if the user indicates that she wants to look for a hotel on Priceline than the API is queried with the users input and the top hotels are returned. The user gets to see the top hotel listings in the selected area with the option to learn more about any of them. If they user indicates that they would like to `pay` then a link to the [Braintree](https://www.braintreepayments.com/) payments system is sent to them where they can then pay for the hotel room at that time.

##Roll this yourself.
To roll this yourself it would be quite simple. Clone this repo and make sure you have `Node` installed. Go about installing all of the dependencies and then replace the developer keys. They are as follows: `merchantId`, `publicKey`, `privateKey` in the `payments.js` file, and the `accKey` for both [Bing](https://www.bing.com/dev/) and [Haven-On-Demand](https://www.havenondemand.com/). Couple this with a fully functioning non-`Sandbox` account from Braintree, a premium [Twilio](https://www.twilio.com/) account & keys and a real payment forum and you're in business.

It's likely that much in this repo is either broken, or written in a really horrible or hacky way. We know this, we wrote it in less than 30 hours over two days. Pull-requests and issues are welcome.
{'fraction_non_alphanumeric': 0.07753705815279362, 'fraction_numerical': 0.020524515393386546, 'mean_word_length': 4.260869565217392, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 10, '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': '154154', 'n_tokens_mistral': 1039, 'n_tokens_neox': 970, 'n_words': 510}