<commit_before># HipchatSearcher

[![Build Status](https://travis-ci.org/mgi166/hipchat_searcher.svg?branch=master)](https://travis-ci.org/mgi166/hipchat_searcher)
[![Coverage Status](https://coveralls.io/repos/mgi166/hipchat_searcher/badge.png?branch=master)](https://coveralls.io/r/mgi166/hipchat_searcher?branch=master)
[![Code Climate](https://codeclimate.com/github/mgi166/hipchat_searcher.png)](https://codeclimate.com/github/mgi166/hipchat_searcher)

This is the command line tool for [hipchat](https://www.hipchat.com/).  
You will be able to search hipchat log more easily.  

## Installation

    $ gem install hipchat_searcher

## Prepare

* `hitchat_searcher` requires access token on [hipchat](https://www.hipchat.com/). so you visit [hipchat](https://www.hipchat.com/), login and get access token.
* If you get access token, execute command like this.

```
echo {access_token} > ~/.hps
```

## Usage

`hipchat_searcher` search for a regular expression the words that you specify.  
In the specifications of the [hipchat api](https://www.hipchat.com/docs/apiv2/), `hipchat_searcher` search of the upcoming 100 comments.<commit_msg>* Fix README.md<commit_after># HipchatSearcher

[![Build Status](https://travis-ci.org/mgi166/hipchat_searcher.svg?branch=master)](https://travis-ci.org/mgi166/hipchat_searcher)
[![Coverage Status](https://coveralls.io/repos/mgi166/hipchat_searcher/badge.png?branch=master)](https://coveralls.io/r/mgi166/hipchat_searcher?branch=master)
[![Code Climate](https://codeclimate.com/github/mgi166/hipchat_searcher.png)](https://codeclimate.com/github/mgi166/hipchat_searcher)

This is the command line tool for [hipchat](https://www.hipchat.com/).  
You will be able to search hipchat log more easily.  

## Installation

    $ gem install hipchat_searcher

## Prepare

* `hitchat_searcher` requires access token on [hipchat](https://www.hipchat.com/). so you visit [hipchat](https://www.hipchat.com/), login and get access token.
* If you get access token, execute command like this.

```
export HPS_HIPCHAT_TOKEN={access_token}
```

## Usage

`hipchat_searcher` search for a regular expression the words that you specify.  
In the specifications of the [hipchat api](https://www.hipchat.com/docs/apiv2/), `hipchat_searcher` search of the upcoming 100 comments.
{'fraction_non_alphanumeric': 0.14037375054324208, 'fraction_numerical': 0.01912212081703607, 'mean_word_length': 5.324175824175824, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 20, 'lorem ipsum': 0, 'www.': 8, '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': '2158250', 'n_tokens_mistral': 815, 'n_tokens_neox': 787, 'n_words': 168}