<commit_before>scorer-to-usebio
================

Converts from the NZ Bridge Scorer XML results format to USEBIO 1.1.

Installation
------------

    > pip install scorer_to_usebio

Usage
-----
 * Run the GUI:

        > ScorerConverter

 * Convert a file on the command-line:

        > scorer_to_usebio -p examples/pairs.xml

 * Or on the command-line via the python interpreter:

        > python3 -m scorer_to_usebio -p examples/pairs.xml

 * Or using the repl:

        >>> import scorer_to_usebio<commit_msg>README: add note about PyQt5 dep<commit_after>scorer-to-usebio
================

Converts from the NZ Bridge Scorer XML results format to USEBIO 1.1.

Installation
------------

    > pip install scorer_to_usebio

Usage
-----
 * Run the GUI (note that you will need PyQt5 installed!):

        > ScorerConverter

 * Convert a file on the command-line:

        > scorer_to_usebio -p examples/pairs.xml

 * Or on the command-line via the python interpreter:

        > python3 -m scorer_to_usebio -p examples/pairs.xml

 * Or using the repl:

        >>> import scorer_to_usebio
{'fraction_non_alphanumeric': 0.12087912087912088, 'fraction_numerical': 0.007326007326007326, 'mean_word_length': 2.68013468013468, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '7400375', 'n_tokens_mistral': 355, 'n_tokens_neox': 338, 'n_words': 111}