Examples
--------

These Python scripts illustrate the use of the FreeDiscovery REST and Python
APIs on a subset of the TREC 2009 legal collection. 

These examples can be run with the following steps,

  1. `Install <https://freediscovery.github.io/doc/dev/installation_instructions.html>`_ FreeDiscovery and start either the development server or the Docker container.
  2. Activate the virtual environment,
    .. code-block:: bash

       source activate freediscovery-env # without the "source" on Windows
    
  3. Run the examples, e.g. 
     
  .. code-block:: bash
  
     python examples/REST_categorization.py
