Computational Fact Checking from Knowledge Networks
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
knowledge_linker
misc
scripts/torque
.gitattributes
.gitignore
CONTRIBUTORS.md
LICENSE
MANIFEST.in
README
README.md
TODO.md
setup.cfg
setup.py

README.md

Knowledge-linker

Code for the Knowledge Linker project.

Downloading

TBD

Building, Testing, and Installing

Building

To compile the software, first open a terminal and browse to the source code folder. The package can be built using setuptools. Usually you want to build, test, and install all in the same session. To do so, follow the steps below.

Testing

A comprehensive suite of tests is available for the core closure API. Nose is the software used to collect, run, and report the results of the test suite. To run it, the simplest way is to use the setuptools script provided with the package:

    python setup.py nosetests

If you want to specify options, you can look in setup.cfg under the nosetests section.

Installing

Once the test suite has been executed and no failure has emerged, you can build and install the package. This software includes some C extension modules, which need to be compiled. As mentioned before, the package provides a setuptools script that will perform the necessary steps. You will need to have a C compiler installed on your system. The software has been developed using the GNU C compiler (gcc). No guarantee is given that it will compile using different compilers.

To build and install the package there are two different, equivalent methods, depending on how you manage your python packages. Both will compile the C code, create a package, and copy it into your Python distribution. This last step will copy both libraries and scripts.

Method 1: with the plain setuptools:

    python setup.py install

Method 2: with pip:

    pip  install .

Documentation

API reference and tutorial are TODO.

Contributing

TBD