Norma is a tool for automatic spelling normalization of non-standard language data. It uses a combination of different normalization techniques that typically require training data (= a list of manually normalized wordforms) and a target dictionary (= a list of valid wordforms in the target language).
If you have any questions, suggestions, or comments, please contact one of the authors:
Norma is licensed under the GNU Lesser General Public License (LGPL) v3.
- Needed for compilation:
- GCC >= 4.9
- CMake >= 2.8.10
- Boost >= 1.54
- in particular these libraries: Filesystem, Program Options, Regex, System, Test
- gfsm >= 0.0.16-1 and gfsmxl >= 0.0.15, available from http://kaskade.dwds.de/~moocow/mirror/projects/gfsm/
- GLib >= 2.0
- ICU >= 1.49
- Doxygen (for generating the documentation)
- Python 2 >= 2.7 and Boost::Python (for Python bindings/embeddings)
How to do an out of source build
mkdir build cd build cmake <pathtosource> make
There is a test suite included that can be run with
make test (or
make check, which reveals more detailed error
messages), as well as API documentation that is generated via
make doc (requires Doxygen).
Configuration options (for CMake)
- String implementation (default: ICU if available):
- ICU - use ICU unicode strings
- STD - use STL string - requires no additional library
- Build type (default: Release):
- Install prefix (default: /usr/local/)
- To make Python bindings/embeddings (default: disabled), set
- Norma was developed on Linux and will not work on non-Unix platforms.
- Compilation with clang will probably work but is untested.