Uses Nuspell C++ library to make spell checking. (https://github.com/nuspell/nuspell)
Usage:
- Install Nuspell as in https://github.com/nuspell/nuspell README
- Note: To allow future dynamic linking, before doing
cmake .
add intoCMakeLists.txt
of the Nuspell the following
add_definitions("-fPIC")
- Then, build the library with
cmake .
andmake
- Run Dart file with the word as the only argument like
dart checker.dart coding
Uses libclang library to parse header files.
Usage:
- Install llvm with clang
- Note: in the
/lib_parse/CMakeLists.txt
set the correct path of your libclang.so tolibclang_path
variable - Then, build the library with
cmake .
andmake
- Run Dart file with the header file name as the only argument like
dart checker.dart header.h