<commit_before>boundio-curl-sample
===================

Sample program to use http://boundio.jp/ with cURL

How To Compile
--------------

1. Install [cURL](http://curl.haxx.se/) development library
2. Install [JSON-C](http://oss.metaparadigm.com/json-c/) development library
3. Rewrite bound-curl-sample.c with your Request URL and API Access Key
4. type "make"

How To Compile on Debian / Ubuntu
---------------------------------

1. % sudo apt-get install libcurl4-gnutls-dev
2. % sudo apt-get install libcurl4-gnutls-dev
3. editor bound-curl-sample.c
4. make

How To Run
----------

First argument is telephone no.
Second argument is [cast](http://bit.ly/JiDJIJ)

% ./boundio-curl-sample 03-XXXX-XXXX 'file(000001)%%file(000002)'<commit_msg>Fix instruction<commit_after>boundio-curl-sample
===================

Sample program to use http://boundio.jp/ with cURL

How To Compile
--------------

1. Install [cURL](http://curl.haxx.se/) development library
2. Install [JSON-C](http://oss.metaparadigm.com/json-c/) development library
3. Rewrite bound-curl-sample.c with your Request URL and API Access Key
4. type "make"

How To Compile on Debian / Ubuntu
---------------------------------

1. % sudo apt-get install libcurl4-gnutls-dev
2. % sudo apt-get install libjson0-dev
3. editor bound-curl-sample.c
4. make

How To Run
----------

First argument is telephone no.
Second argument is [cast](http://bit.ly/JiDJIJ)

% ./boundio-curl-sample 03-XXXX-XXXX 'file(000001)%%file(000002)'
{'fraction_non_alphanumeric': 0.21346801346801347, 'fraction_numerical': 0.03232323232323232, 'mean_word_length': 2.8200514138817483, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5053132', 'n_tokens_mistral': 533, 'n_tokens_neox': 473, 'n_words': 142}