Korektor releases are available on GitHub, either as a pre-compiled binary package, or source code only. The binary package contains Linux, Windows and OS X binaries.
To use Korektor, a language model is needed. Here is a list of available language models.
If you want to compile Korektor manually, sources are available on on GitHub, both in the pre-compiled binary package releases and in the repository itself.
1. Requirements
G++ 4.7or newer,clang 3.2or newer,Visual C++ 2015or newermake: on Windows, you can usemingw32-make
2. Compilation
To compile Korektor, run make in the src directory.
Make targets and options:
exe: compile the binaries (default)lib: compile the static libraryBITS=32orBITS=64: compile for specified 32-bit or 64-bit architecture instead of the default oneMODE=release: create release build which statically links the C++ runtime and uses LTOMODE=debug: create debug buildMODE=profile: create profile build
2.1. Platforms
Platform can be selected using one of the following options:
PLATFORM=linux,PLATFORM=linux-gcc: gcc compiler on Linux operating system, default on LinuxPLATFORM=linux-clang: clang compiler on Linux, must be selected manuallyPLATFORM=osx,PLATFORM=osx-clang: clang compiler on OS X, default on OS X;BITS=32+64enables multiarch buildPLATFORM=win,PLATFORM=win-gcc: gcc compiler on Windows (TDM-GCC is well tested), default on WindowsPLATFORM=win-vs: Visual C++ 2015 compiler on Windows, must be selected manually; note that thecl.execompiler must be already present inPATHand correspondingBITS=32orBITS=64must be specified
Either POSIX shell or Windows CMD can be used as shell, it is detected automatically.
2.2. Further Details
Korektor uses C++ BuilTem system, please refer to its manual if interested in all supported options.


