<commit_before>odML libraries and editor
=========================

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

To install the package simply run:

    $ sudo python setup.py install --prefix /usr

If you just want to try out, tell python where to find the library
and start either the gui or a python shell:

    $ PYTHONPATH=. ./odml-gui
    $ PYTHONPATH=. python

### Windows

A windows package is seperately bundled.
To build the windows package from source, follow these instructions:

1. Install the following software (ALWAYS use the 32-bit versions!)
    * [python-2.7](http://www.python.org/getit/windows/)
    * [pygtk-windows](all-in-one installer: http://www.pygtk.org/downloads.html)
    * [py2exe](http://sourceforge.net/projects/py2exe/files/py2exe/0.6.9/py2exe-0.6.9.win32-py2.7.exe/download)
    * [setuptools](http://pypi.python.org/pypi/setuptools#files)

2. Install build dependencies

   `$ easy_install.exe lxml`

3. Compile

   `$ python.exe setup.py py2exe`

Bugs & Questions
----------------

Should you find a behaviour that is likely a bug, please file
a bug report at [the github bug tracker](https://github.com/G-Node/python-odml/issues).

If you have questions regarding the use of the library or the editor, ask
the question on [Stack Overflow](http://stackoverflow.com/), be sure to tag
it with `odml` and we'll do our best to quickly solve the problem.
<commit_msg>README: update to reflect some further windows information<commit_after>odML libraries and editor
=========================

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

To install the package simply run:

    $ sudo python setup.py install --prefix /usr

If you just want to try out, tell python where to find the library
and start either the gui or a python shell:

    $ PYTHONPATH=. ./odml-gui
    $ PYTHONPATH=. python

### Windows

A windows package is seperately bundled.
To build the windows package from source, follow these instructions:

1. Install the following software (ALWAYS use the 32-bit versions!)
    * [python-2.7](http://www.python.org/getit/windows/)
    * [pygtk-windows](all-in-one installer: http://www.pygtk.org/downloads.html)
    * [py2exe](http://sourceforge.net/projects/py2exe/files/py2exe/0.6.9/py2exe-0.6.9.win32-py2.7.exe/download)
    * [setuptools](http://pypi.python.org/pypi/setuptools#files)

2. Install build dependencies

   `$ easy_install.exe lxml`

   If this fails, you can fall back to installing it from the 
   [Unofficial Windows Binaries for Python Extension Packages](http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml)

3. To just run the software use:

   `$ python.exe odml-gui`

   You may also rename odml-gui to odml-gui.py, which allows you to start
   the gui through double clicking on that file. You can even right click and
   send it as a shortcut to the desktop.

4. Compile a binary for redistribution

   `$ python.exe setup.py py2exe`

   For some reason the compiled binary has a different look, so running
   the software from source gets a more native look.

Bugs & Questions
----------------

Should you find a behaviour that is likely a bug, please file
a bug report at [the github bug tracker](https://github.com/G-Node/python-odml/issues).

If you have questions regarding the use of the library or the editor, ask
the question on [Stack Overflow](http://stackoverflow.com/), be sure to tag
it with `odml` and we'll do our best to quickly solve the problem.

{'fraction_non_alphanumeric': 0.12437371058060713, 'fraction_numerical': 0.013262599469496022, 'mean_word_length': 3.4366013071895423, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 5, 'xml': 3}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4952007', 'n_tokens_mistral': 1091, 'n_tokens_neox': 1016, 'n_words': 386}