Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions contextual-classifier/ContextualClassifier.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,10 @@
#define CLASSIFIER_TAG "CONTEXTUAL_CLASSIFIER"
#define CLASSIFIER_CONFIGS_DIR "/etc/urm/classifier/"

const std::string FT_MODEL_PATH =
static const std::string FT_MODEL_PATH =
CLASSIFIER_CONFIGS_DIR "floret_model_supervised.bin";
const std::string IGNORE_PROC_PATH =
static const std::string IGNORE_PROC_PATH =
CLASSIFIER_CONFIGS_DIR "classifier-blocklist.txt";
static const std::string IGNORE_TOKENS_PATH =
CLASSIFIER_CONFIGS_DIR "ignore-tokens.txt";
static const std::string ALLOW_LIST_PATH =
CLASSIFIER_CONFIGS_DIR "allow-list.txt";

Expand Down
2 changes: 1 addition & 1 deletion contextual-classifier/Include/FeatureExtractor.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

#include "FeaturePruner.h"

#define CLASSIFIER_CONF_DIR "/etc/classifier/"
#define CLASSIFIER_CONF_DIR "/etc/urm/classifier/"
const std::string IGNORE_TOKENS_PATH = CLASSIFIER_CONF_DIR "ignore-tokens.txt";

class FeatureExtractor {
Expand Down
6 changes: 6 additions & 0 deletions modula/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,17 @@ target_include_directories(UrmAuxUtils PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/CoreMo
target_include_directories(UrmAuxUtils PUBLIC ${CMAKE_CURRENT_BINARY_DIR}/CoreModules/Include)
install(TARGETS UrmAuxUtils LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})

# Install Headers
install(
FILES ${CMAKE_CURRENT_SOURCE_DIR}/Common/Include/UrmPlatformAL.h
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/Urm
)

install(
FILES ${CMAKE_CURRENT_SOURCE_DIR}/Common/Include/Resource.h
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/Urm
)

install(
FILES ${CMAKE_CURRENT_SOURCE_DIR}/Components/Include/Logger.h
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/Urm
Expand Down
6 changes: 6 additions & 0 deletions resource-tuner/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,9 @@ endif()

# Install RestuneCore
install(TARGETS RestuneCore LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})

# Install Headers
install(
FILES ${CMAKE_CURRENT_SOURCE_DIR}/core/Include/ResourceRegistry.h
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/Urm
)