Skip to content
Michał Siedlaczek edited this page Apr 19, 2017 · 10 revisions

ReSearch is a set of research tools for Text Search and Information Retrieval.

Dependencies

Installation

Aside from being a Python package, ReSearch can be installed as a standalone set of command-line programs.

Library

To use ReSearch in your project, use your instance of Python 3 to execute setup.py:

python setup.py install [--user]

Standalone

Install Conda

If you do not have Conda installed, you can use Miniconda in a few quick steps:

wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh

Note that in order to use the provided Makefile, you will need conda on your $PATH, therefore, it is recommended to answer yes at the following step:

Do you wish the installer to prepend the Miniconda3 install location
to PATH in your /home/michal/.bashrc ? [yes|no]
[no] >>> yes

However, you can do it in a number of ways, and you're free to choose the one that fits you best.

You will have to enable conda-forge channel to resolve all dependencies.

conda config --add channels conda-forge

ReSearch CLI installation

To install the set of command-line tools, run:

make
make install # you'll need root access for this one

The files will be in /opt/research and the executable scripts will be copied to /usr/local/bin.

Command-line Tools

Below, we present the list of the available command-line tools in the package:

Clone this wiki locally