FallenChromium / sc-machine

Software implementation of semantic network storage and processing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

codecov

Documentation: GitHub Pages

Clone:

git clone https://github.com/ostis-ai/sc-machine.git
cd sc-machine
git submodule update --init --recursive

Install dependencies

Debian-based (Ubuntu, Debian, Mint)

cd scripts
./install_deps_ubuntu.sh
cd ..
pip3 install -r requirements.txt

macOS

cd scripts
./install_deps_macOS.sh
cd ..
pip3 install -r requirements.txt

Please note: you should add Qt5 and LLVM to PATH variable. To do this, after installing dependencies execute the following commands (considering you use zsh as your shell):

echo 'export PATH="'$HOMEBREW_PREFIX'/opt/qt@5/bin:$PATH"' >> ~/.zshrc
echo 'export PATH="'$HOMEBREW_PREFIX'/opt/llvm/bin:$PATH"' >> ~/.zshrc

Build sc-machine

cd sc-machine/scripts
./make_all.sh #You can also pass all CMake generation arguments there

or, alternatively (requires CMake 3.13+)

cd sc-machine
cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build -j$(nproc) #-j flag for paralleled build process

Additional CMake flags can be used to build tests, format code or analyze memory leaks, check our build docs for more info.

Build knowledge base (from sc-machine/kb folder)

cd sc-machine/scripts
./build_kb.sh

This repository continues the development of this sc-machine from version 0.6.0.

About

Software implementation of semantic network storage and processing

License:Other


Languages

Language:C++ 59.8%Language:C 34.3%Language:Python 3.5%Language:CMake 2.0%Language:ANTLR 0.4%Language:Shell 0.1%Language:Batchfile 0.0%