<commit_before># jsonrpc-example

An example of using JSON-RPC with [Go][golang], [Gorilla][jsonrpc] and
[AngularJS][angularjs]

[golang]: https://code.google.com/p/go
[jsonrpc]: https://github/com/gorilla/rpc
[angularjs]: http://angularjs.org
<commit_msg>Instructions to run<commit_after># jsonrpc-example

An example of using JSON-RPC with [Go][golang], [Gorilla][jsonrpc] and
[AngularJS][angularjs]

### Running the server

Ensure that the `GOPATH` is set up.

    $ cd server
    $ go get
    $ go build -o build/server
    $ build/server --port=8000

### Running the app

    $ cd app
    $ bower install

Serve the `app/` directory from any HTTP server.

[golang]: https://code.google.com/p/go
[jsonrpc]: https://github/com/gorilla/rpc
[angularjs]: http://angularjs.org

{'fraction_non_alphanumeric': 0.1481958762886598, 'fraction_numerical': 0.005154639175257732, 'mean_word_length': 3.980769230769231, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '549835', 'n_tokens_mistral': 278, 'n_tokens_neox': 265, 'n_words': 73}