Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
macaon2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alexis Nasr
macaon2
Commits
4843bed3
Commit
4843bed3
authored
8 years ago
by
Alexis Nasr
Browse files
Options
Downloads
Patches
Plain Diff
activated compiling of maca_graph_parser
parent
045389ae
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+1
-1
1 addition, 1 deletion
CMakeLists.txt
maca_graph_parser/CMakeLists.txt
+72
-0
72 additions, 0 deletions
maca_graph_parser/CMakeLists.txt
with
73 additions
and
1 deletion
CMakeLists.txt
+
1
−
1
View file @
4843bed3
...
...
@@ -12,6 +12,6 @@ add_subdirectory(perceptron)
#add_subdirectory(maca_lemmatizer)
add_subdirectory
(
maca_trans_parser
)
add_subdirectory
(
maca_crf_tagger
)
#
add_subdirectory(maca_graph_parser)
add_subdirectory
(
maca_graph_parser
)
#set(CMAKE_INSTALL_PREFIX ../)
This diff is collapsed.
Click to expand it.
maca_graph_parser/CMakeLists.txt
0 → 100644
+
72
−
0
View file @
4843bed3
#add_definitions("-std=c++0x")
SET
(
CMAKE_CXX_FLAGS
"-std=c++0x"
)
set
(
SOURCES
./array.c
./hash.c
./maca_alphabet.cc
./maca_alphabet_wrapper.cc
./maca_common.c
./maca_graph_parser_alphabet.c
./maca_graph_parser.c
./maca_graph_parser_conll2007_format.c
./maca_graph_parser_corpora.c
./maca_graph_parser_decoder1.c
./maca_graph_parser_decoder2.c
./maca_graph_parser_decoder.c
./maca_graph_parser_dep_count_table.c
./maca_graph_parser_feature_counter_array.c
./maca_graph_parser_feature_counter.c
./maca_graph_parser_features.c
./maca_graph_parser_feature_table.c
./maca_graph_parser_feature_vector.c
./maca_graph_parser_hash.c
./maca_graph_parser_heapq.c
./maca_graph_parser_hyperdecoder.c
./maca_graph_parser_hypergraph.c
./maca_graph_parser_metrics.c
./maca_graph_parser_model.c
./maca_graph_parser_sentence.c
./maca_mcf.cc
./maca_mcf_wrapper.cc
./maca_msg.c
./simple_parser.cc
./maca_graph_parser_train.c
)
#compiling library
include_directories
(
.
)
add_library
(
graph_parser STATIC
${
SOURCES
}
)
#target_link_libraries(graph_parser perceptron)
#compiling, linking and installing executables
add_executable
(
test_simple_parser ./test_simple_parser.cc
)
target_link_libraries
(
test_simple_parser graph_parser
)
install
(
TARGETS test_simple_parser DESTINATION bin
)
add_executable
(
maca_graph_parser_decode ./maca_graph_parser_decode_main.c
)
target_link_libraries
(
maca_graph_parser_decode graph_parser
)
install
(
TARGETS maca_graph_parser_decode DESTINATION bin
)
add_executable
(
maca_graph_parser_eval ./maca_graph_parser_eval_main.c
)
target_link_libraries
(
maca_graph_parser_eval graph_parser
)
install
(
TARGETS maca_graph_parser_eval DESTINATION bin
)
add_executable
(
maca_graph_parser ./maca_graph_parser_main.c
)
target_link_libraries
(
maca_graph_parser graph_parser
)
install
(
TARGETS maca_graph_parser DESTINATION bin
)
add_executable
(
maca_graph_parser_print_model ./maca_graph_parser_print_model_main.c
)
target_link_libraries
(
maca_graph_parser_print_model graph_parser
)
install
(
TARGETS maca_graph_parser_print_model DESTINATION bin
)
add_executable
(
maca_graph_parser_resize_model ./maca_graph_parser_resize_model_main.c
)
target_link_libraries
(
maca_graph_parser_resize_model graph_parser
)
install
(
TARGETS maca_graph_parser_resize_model DESTINATION bin
)
add_executable
(
maca_graph_parser_train ./maca_graph_parser_train_main.c
)
target_link_libraries
(
maca_graph_parser_train graph_parser
)
install
(
TARGETS maca_graph_parser_train DESTINATION bin
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment