<commit_before>emdr-relay-go
=============

:Status: Experimentation
:Author: <NAME>
:License: BSD

This is an EMDR_ gateway written in Go_. Resource consumption is markedly
lower compared to our Python relay. 

.. _Go: http://golang.org/
.. _EMDR: http://readthedocs.org/docs/eve-market-data-relay/

Install
-------

* Install Go_. If you are on Debian or Ubuntu, you can ``sudo apt-get intall golang``
* Install a recent ZeroMQ 2.x or ZeroMQ 3.x.
* Install uuid-dev, libtool, and mercurial (Debian/Ubuntu package names)
* ``sudo go get github.com/alecthomas/gozmq``
* ``sudo go get code.google.com/p/vitess/go/cache``
* From within your ``emdr-relay-go`` dir: ``go build emdr-relay-go.go``
* You should now be able to run the relay: ``./emdr-relay-go``<commit_msg>Update README.rst<commit_after>emdr-relay-go
=============

:Status: Experimentation
:Author: <NAME>
:License: BSD

This is an EMDR_ gateway written in Go_. Resource consumption is markedly
lower compared to our Python relay. 

.. _Go: http://golang.org/
.. _EMDR: http://readthedocs.org/docs/eve-market-data-relay/

Install
-------

* Install Go_. If you are on Debian or Ubuntu, you can ``sudo apt-get intall golang``
* Install a recent ZeroMQ 2.x or ZeroMQ 3.x.
* Install uuid-dev, libtool, and mercurial (Debian/Ubuntu package names)
* ``sudo go get github.com/alecthomas/gozmq`` (for ZeroMQ 3.x: ``sudo go get -tags zmq_3_x github.com/alecthomas/gozmq``)
* ``sudo go get code.google.com/p/vitess/go/cache``
* From within your ``emdr-relay-go`` dir: ``go build emdr-relay-go.go``
* You should now be able to run the relay: ``./emdr-relay-go``
{'fraction_non_alphanumeric': 0.15570719602977667, 'fraction_numerical': 0.0037220843672456576, 'mean_word_length': 3.9027355623100304, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '4345199', 'n_tokens_mistral': 614, 'n_tokens_neox': 560, 'n_words': 183}