huge refactoring wrt config and model:
- move config and path manipulation to new class: WcrftConfig - fix broken path searcher singleton: now it may be shared safely among instances, move instance-dependent variables to WcrftConfig, - layers and classifier loading now use WcrftConfig object to ask for paths, - add some comments - add constant for ini files (main config file)
Showing
- libwcrft/CMakeLists.txt 1 addition, 0 deletionslibwcrft/CMakeLists.txt
- libwcrft/classify.cpp 7 additions, 5 deletionslibwcrft/classify.cpp
- libwcrft/classify.h 1 addition, 3 deletionslibwcrft/classify.h
- libwcrft/config.cpp 83 additions, 0 deletionslibwcrft/config.cpp
- libwcrft/config.h 111 additions, 39 deletionslibwcrft/config.h
- libwcrft/corpusio.h 15 additions, 21 deletionslibwcrft/corpusio.h
- libwcrft/layers.cpp 10 additions, 9 deletionslibwcrft/layers.cpp
- libwcrft/layers.h 2 additions, 2 deletionslibwcrft/layers.h
- libwcrft/pathsearcher.cpp 34 additions, 21 deletionslibwcrft/pathsearcher.cpp
- libwcrft/pathsearcher.h 16 additions, 14 deletionslibwcrft/pathsearcher.h
- libwcrft/tagger.cpp 24 additions, 34 deletionslibwcrft/tagger.cpp
- libwcrft/tagger.h 42 additions, 5 deletionslibwcrft/tagger.h
Please register or sign in to comment