File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727#define CLASSIFIER_TAG " CONTEXTUAL_CLASSIFIER"
2828#define CLASSIFIER_CONFIGS_DIR " /etc/urm/classifier/"
2929
30- const std::string FT_MODEL_PATH =
30+ static const std::string FT_MODEL_PATH =
3131 CLASSIFIER_CONFIGS_DIR " floret_model_supervised.bin" ;
32- const std::string IGNORE_PROC_PATH =
32+ static const std::string IGNORE_PROC_PATH =
3333 CLASSIFIER_CONFIGS_DIR " classifier-blocklist.txt" ;
34- static const std::string IGNORE_TOKENS_PATH =
35- CLASSIFIER_CONFIGS_DIR " ignore-tokens.txt" ;
3634static const std::string ALLOW_LIST_PATH =
3735 CLASSIFIER_CONFIGS_DIR " allow-list.txt" ;
3836
Original file line number Diff line number Diff line change 1414
1515#include " FeaturePruner.h"
1616
17- #define CLASSIFIER_CONF_DIR " /etc/classifier/"
17+ #define CLASSIFIER_CONF_DIR " /etc/urm/ classifier/"
1818const std::string IGNORE_TOKENS_PATH = CLASSIFIER_CONF_DIR " ignore-tokens.txt" ;
1919
2020class FeatureExtractor {
Original file line number Diff line number Diff line change @@ -17,11 +17,17 @@ target_include_directories(UrmAuxUtils PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/CoreMo
1717target_include_directories (UrmAuxUtils PUBLIC ${CMAKE_CURRENT_BINARY_DIR} /CoreModules/Include )
1818install (TARGETS UrmAuxUtils LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} )
1919
20+ # Install Headers
2021install (
2122 FILES ${CMAKE_CURRENT_SOURCE_DIR} /Common/Include/UrmPlatformAL.h
2223 DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} /Urm
2324)
2425
26+ install (
27+ FILES ${CMAKE_CURRENT_SOURCE_DIR} /Common/Include/Resource .h
28+ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} /Urm
29+ )
30+
2531install (
2632 FILES ${CMAKE_CURRENT_SOURCE_DIR} /Components/Include/Logger.h
2733 DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} /Urm
Original file line number Diff line number Diff line change @@ -58,3 +58,9 @@ endif()
5858
5959# Install RestuneCore
6060install (TARGETS RestuneCore LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} )
61+
62+ # Install Headers
63+ install (
64+ FILES ${CMAKE_CURRENT_SOURCE_DIR} /core/Include/ResourceRegistry.h
65+ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} /Urm
66+ )
You can’t perform that action at this time.
0 commit comments