Select Git revision
CMakeLists.txt
CMakeLists.txt 10.16 KiB
set(SOURCES src/context.c
src/movements.c
src/movement_parser_arc_eager.c
src/movement_tagparser_arc_eager.c
src/movement_tagger.c
src/movement_chunker.c
src/feat_fct.c
# src/global_feat_vec.c
# src/oracle_parser.c
src/oracle_parser_arc_eager.c
src/oracle_tagparser_arc_eager.c
src/oracle_tagger.c
src/oracle_chunker.c
# src/simple_decoder_parser.c
src/simple_decoder_parser_arc_eager.c
src/simple_decoder_tagparser_arc_eager.c
src/simple_decoder_parser_arc_eager_error_predictor.c
# src/simple_decoder_forrest.c
src/simple_decoder_tagger.c
src/simple_decoder_chunker.c
src/simple_decoder_tagger_error_predictor.c
# src/simple_decoder_tagger_bt.c
src/stack.c
src/config2feat_vec.c
# src/depset.c
src/config.c
# src/queue.c
# src/beam.c
src/feat_types.c
src/mvt.c
src/mvt_stack.c
)
#compiling library
include_directories(src)
add_library(transparse STATIC ${SOURCES})
add_library(transparse_obj OBJECT ${SOURCES})
target_link_libraries(transparse perceptron)
#compiling, linking and installing executables
#add_executable(maca_trans_parser_nn ./src/maca_trans_parser_nn.cc)
#target_link_libraries(maca_trans_parser_nn perceptron)
#target_link_libraries(maca_trans_parser_nn transparse)
#target_link_libraries(maca_trans_parser_nn maca_common)
#install (TARGETS maca_trans_parser_nn DESTINATION bin)
add_executable(maca_trans_lemmatizer_mcf2cff ./src/maca_trans_lemmatizer_mcf2cff.c)
target_link_libraries(maca_trans_lemmatizer_mcf2cff perceptron)
target_link_libraries(maca_trans_lemmatizer_mcf2cff transparse)
target_link_libraries(maca_trans_lemmatizer_mcf2cff maca_common)
install (TARGETS maca_trans_lemmatizer_mcf2cff DESTINATION bin)
add_executable(maca_trans_tagger_mcf2cff ./src/maca_trans_tagger_mcf2cff.c)
target_link_libraries(maca_trans_tagger_mcf2cff perceptron)
target_link_libraries(maca_trans_tagger_mcf2cff transparse)
target_link_libraries(maca_trans_tagger_mcf2cff maca_common)
install (TARGETS maca_trans_tagger_mcf2cff DESTINATION bin)
add_executable(maca_trans_chunker_mcf2cff ./src/maca_trans_chunker_mcf2cff.c)
target_link_libraries(maca_trans_chunker_mcf2cff perceptron)
target_link_libraries(maca_trans_chunker_mcf2cff transparse)
target_link_libraries(maca_trans_chunker_mcf2cff maca_common)
install (TARGETS maca_trans_chunker_mcf2cff DESTINATION bin)
add_executable(maca_error_predictor_tagger_mcf2cff ./src/maca_error_predictor_tagger_mcf2cff.c)
target_link_libraries(maca_error_predictor_tagger_mcf2cff perceptron)
target_link_libraries(maca_error_predictor_tagger_mcf2cff transparse)
target_link_libraries(maca_error_predictor_tagger_mcf2cff maca_common)
install (TARGETS maca_error_predictor_tagger_mcf2cff DESTINATION bin)
add_executable(maca_error_predictor_parser_arc_eager_mcf2cff ./src/maca_error_predictor_parser_arc_eager_mcf2cff.c)
target_link_libraries(maca_error_predictor_parser_arc_eager_mcf2cff perceptron)
target_link_libraries(maca_error_predictor_parser_arc_eager_mcf2cff transparse)
target_link_libraries(maca_error_predictor_parser_arc_eager_mcf2cff maca_common)
install (TARGETS maca_error_predictor_parser_arc_eager_mcf2cff DESTINATION bin)
add_executable(maca_trans_morpho_mcf2cff ./src/maca_trans_morpho_mcf2cff.c)
target_link_libraries(maca_trans_morpho_mcf2cff perceptron)
target_link_libraries(maca_trans_morpho_mcf2cff transparse)
target_link_libraries(maca_trans_morpho_mcf2cff maca_common)
install (TARGETS maca_trans_morpho_mcf2cff DESTINATION bin)
#add_executable(maca_trans_tagger_mcf2cff_bt ./src/maca_trans_tagger_mcf2cff_bt.c)
#target_link_libraries(maca_trans_tagger_mcf2cff_bt perceptron)
#target_link_libraries(maca_trans_tagger_mcf2cff_bt transparse)
#target_link_libraries(maca_trans_tagger_mcf2cff_bt maca_common)
#install (TARGETS maca_trans_tagger_mcf2cff_bt DESTINATION bin)
# add_executable(maca_trans_parser_mcf2fann ./src/maca_trans_parser_mcf2fann.c)
# target_link_libraries(maca_trans_parser_mcf2fann perceptron)
# target_link_libraries(maca_trans_parser_mcf2fann transparse)
# target_link_libraries(maca_trans_parser_mcf2fann maca_common)
# install (TARGETS maca_trans_parser_mcf2fann DESTINATION bin)
#add_executable(maca_trans_parser_mcf2cff ./src/maca_trans_parser_mcf2cff.c)
#target_link_libraries(maca_trans_parser_mcf2cff perceptron)
#target_link_libraries(maca_trans_parser_mcf2cff transparse)
#target_link_libraries(maca_trans_parser_mcf2cff maca_common)
#install (TARGETS maca_trans_parser_mcf2cff DESTINATION bin)
add_executable(maca_trans_parser_arc_eager_mcf2cff ./src/maca_trans_parser_arc_eager_mcf2cff.c)
target_link_libraries(maca_trans_parser_arc_eager_mcf2cff perceptron)
target_link_libraries(maca_trans_parser_arc_eager_mcf2cff transparse)
target_link_libraries(maca_trans_parser_arc_eager_mcf2cff maca_common)
install (TARGETS maca_trans_parser_arc_eager_mcf2cff DESTINATION bin)
add_executable(maca_trans_tagparser_arc_eager_mcf2cff ./src/maca_trans_tagparser_arc_eager_mcf2cff.c)
target_link_libraries(maca_trans_tagparser_arc_eager_mcf2cff perceptron)
target_link_libraries(maca_trans_tagparser_arc_eager_mcf2cff transparse)
target_link_libraries(maca_trans_tagparser_arc_eager_mcf2cff maca_common)
install (TARGETS maca_trans_tagparser_arc_eager_mcf2cff DESTINATION bin)
add_executable(compare_traces ./src/compare_traces.c)
target_link_libraries(compare_traces perceptron)
target_link_libraries(compare_traces transparse)
target_link_libraries(compare_traces maca_common)
install (TARGETS compare_traces DESTINATION bin)
add_executable(maca_trans_parser ./src/maca_trans_parser.c)
target_link_libraries(maca_trans_parser perceptron)
target_link_libraries(maca_trans_parser transparse)
target_link_libraries(maca_trans_parser maca_common)
install (TARGETS maca_trans_parser DESTINATION bin)
add_executable(maca_error_predictor_parser ./src/maca_error_predictor_parser.c)
target_link_libraries(maca_error_predictor_parser perceptron)
target_link_libraries(maca_error_predictor_parser transparse)
target_link_libraries(maca_error_predictor_parser maca_common)
install (TARGETS maca_error_predictor_parser DESTINATION bin)
add_executable(maca_trans_tagparser ./src/maca_trans_tagparser.c)
target_link_libraries(maca_trans_tagparser perceptron)
target_link_libraries(maca_trans_tagparser transparse)
target_link_libraries(maca_trans_tagparser maca_common)
install (TARGETS maca_trans_tagparser DESTINATION bin)
#add_executable(maca_trans_parser_forrest ./src/decode_forrest.c)
#target_link_libraries(maca_trans_parser_forrest perceptron)
#target_link_libraries(maca_trans_parser_forrest transparse)
#target_link_libraries(maca_trans_parser_forrest maca_common)
#install (TARGETS maca_trans_parser_forrest DESTINATION bin)
add_executable(maca_trans_tagger ./src/maca_trans_tagger.c)
target_link_libraries(maca_trans_tagger perceptron)
target_link_libraries(maca_trans_tagger transparse)
target_link_libraries(maca_trans_tagger maca_common)
install (TARGETS maca_trans_tagger DESTINATION bin)
add_executable(maca_trans_chunker ./src/maca_trans_chunker.c)
target_link_libraries(maca_trans_chunker perceptron)
target_link_libraries(maca_trans_chunker transparse)
target_link_libraries(maca_trans_chunker maca_common)
install (TARGETS maca_trans_chunker DESTINATION bin)
add_executable(maca_trans_morpho ./src/maca_trans_morpho.c)
target_link_libraries(maca_trans_morpho perceptron)
target_link_libraries(maca_trans_morpho transparse)
target_link_libraries(maca_trans_morpho maca_common)
install (TARGETS maca_trans_morpho DESTINATION bin)
add_executable(maca_error_predictor_tagger ./src/maca_error_predictor_tagger.c)
target_link_libraries(maca_error_predictor_tagger perceptron)
target_link_libraries(maca_error_predictor_tagger transparse)
target_link_libraries(maca_error_predictor_tagger maca_common)
install (TARGETS maca_error_predictor_tagger DESTINATION bin)
#add_executable(maca_trans_tagger_bt ./src/maca_trans_tagger_bt.c)
#target_link_libraries(maca_trans_tagger_bt perceptron)
#target_link_libraries(maca_trans_tagger_bt transparse)
#target_link_libraries(maca_trans_tagger_bt maca_common)
#install (TARGETS maca_trans_tagger_bt DESTINATION bin)
#add_executable(maca_trans_parser_train ./src/train_perceptron.c)
#target_compile_options(maca_trans_parser_train INTERFACE -Wall)
#target_link_libraries(maca_trans_parser_train perceptron)
#target_link_libraries(maca_trans_parser_train transparse)
#target_link_libraries(maca_trans_parser_train maca_common)
#install (TARGETS maca_trans_parser_train DESTINATION bin)
#add_executable(test_word_buffer ./src/test_word_buffer.c)
#target_compile_options(test_word_buffer INTERFACE -Wall)
#target_link_libraries(test_word_buffer transparse)
#target_link_libraries(test_word_buffer maca_common)
#install (TARGETS test_word_buffer DESTINATION bin)
add_executable(test_mvt_stack ./src/test_mvt_stack.c)
target_compile_options(test_mvt_stack INTERFACE -Wall)
target_link_libraries(test_mvt_stack transparse maca_common)
install (TARGETS test_mvt_stack DESTINATION bin)
add_executable(cff2fann ./src/cff2fann.c)
target_compile_options(cff2fann INTERFACE -Wall)
target_link_libraries(cff2fann transparse)
target_link_libraries(cff2fann maca_common)
install (TARGETS cff2fann DESTINATION bin)
add_executable(maca_trans_interpreter ./src/maca_trans_interpreter.c)
target_compile_options(maca_trans_interpreter INTERFACE -Wall)
target_link_libraries(maca_trans_interpreter transparse)
target_link_libraries(maca_trans_interpreter maca_common)
install (TARGETS maca_trans_interpreter DESTINATION bin)
add_executable(maca_trans_lemmatizer ./src/maca_trans_lemmatizer.c)
target_compile_options(maca_trans_lemmatizer INTERFACE -Wall)
target_link_libraries(maca_trans_lemmatizer transparse)
target_link_libraries(maca_trans_lemmatizer maca_common)
install (TARGETS maca_trans_lemmatizer DESTINATION bin)
#add_executable(test_w2v ./src/test_w2v.c)
#target_link_libraries(test_w2v transparse)
#install (TARGETS test_w2v DESTINATION bin)
#add_executable(w2v_filter ./src/w2v_filter.c)
#target_link_libraries(w2v_filter transparse)
#install (TARGETS w2v_filter DESTINATION bin)
#add_executable(test_word_emb ./src/test_word_emb.c)
#target_link_libraries(test_word_emb transparse)
#install (TARGETS test_word_emb DESTINATION bin)
#add_executable(print_model ./src/print_model.c)
#target_link_libraries(print_model transparse)
#install (TARGETS print_model DESTINATION bin)