<commit_before># `mir_eval` evaluators

## Usage

To run an evaluator script `task_eval.py`, simply run

`./task_eval.py ref_file est_file arguments`

For help,

`./task_eval.py --help`

Usage of the pre-build binaries (available [here](http://labrosa.ee.columbia.edu/mir_eval/mir_eval.tar.gz)) is identical, except you must omit the `.py`, e.g.

`./task_eval ref_file est_file arguments`

## Creating binaries

To create stand-alone binaries, you need [pyinstaller](http://www.pyinstaller.org/).  It's also recommended that you build the binaries in a virtualenv with only `mir_eval`, `scipy`, `numpy` and `pyinstaller` installed to avoid including unneeded dependencies.  Then, just run

`pyinstaller --one_file task_eval.py`

to build the binary.<commit_msg>Win vs mac<commit_after># `mir_eval` evaluators

## Usage

To run an evaluator script `task_eval.py`, simply run

`./task_eval.py ref_file est_file arguments`

For help,

`./task_eval.py --help`

Usage of the pre-build binaries on a Mac (available [here](http://labrosa.ee.columbia.edu/mir_eval/mir_eval_mac.tar.gz)) is identical, except you must omit the `.py`, e.g.

`./task_eval ref_file est_file arguments`

And on Windows (available [here](http://labrosa.ee.columbia.edu/mir_eval/mir_eval_mac.tar.gz)):

`task_eval.exe ref_file est_file arguments`

## Creating binaries

To create stand-alone binaries, you need [pyinstaller](http://www.pyinstaller.org/).  It's also recommended that you build the binaries in a virtualenv with only `mir_eval`, `scipy`, `numpy` and `pyinstaller` installed to avoid including unneeded dependencies.  Then, just run

`pyinstaller --one_file task_eval.py`

to build the binary.
{'fraction_non_alphanumeric': 0.11589008363201912, 'fraction_numerical': 0.0, 'mean_word_length': 4.716723549488054, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '6051510', 'n_tokens_mistral': 572, 'n_tokens_neox': 552, 'n_words': 179}