Skip to content
Snippets Groups Projects
Commit 651cd59b authored by Johannes Heinecke's avatar Johannes Heinecke
Browse files

petit programme c++ pour le tagger, lemmatizer et parser

parent e7ba6ec2
No related branches found
No related tags found
1 merge request!9Johannes
...@@ -16,29 +16,7 @@ if(MACA_EXPORT) ...@@ -16,29 +16,7 @@ if(MACA_EXPORT)
endif() endif()
add_subdirectory(src)
## set(TESTSOURCES
# src/maca_lemmatizer_export.cc
# src/maca_trans_parser_export.cc
# src/maca_trans_tagger_export.cc
# )
#
## #compiling library
## include_directories(src)
## add_library(swigtransparse ${TESOURCES})
##target_link_libraries(transparse perceptron)
#
#
#
# add_executable(testcxx ./src/test.cc ${TESTSOURCES})
# target_link_libraries(testcxx perceptron)
# target_link_libraries(testcxx transparse)
# target_link_libraries(testcxx maca_common)
## install (TARGETS testcxx DESTINATION bin)
endif() endif()
include_directories(../../maca_trans_parser/src)
include_directories(../../maca_lemmatizer/src)
include_directories(../../maca_common/include)
include_directories(../tagger)
include_directories(../lemmatizer)
include_directories(../parser)
add_executable(testcxx
test.cc
../tagger/maca_trans_tagger_export.cc
../lemmatizer/maca_lemmatizer_export.cc
../parser/maca_trans_parser_export.cc)
target_link_libraries(testcxx perceptron transparse maca_common)
# install (TARGETS testcxx DESTINATION bin)
...@@ -6,6 +6,10 @@ ...@@ -6,6 +6,10 @@
#include "maca_trans_tagger_export.h" #include "maca_trans_tagger_export.h"
// test programme to be able using valgrind on the exported part of macaon // test programme to be able using valgrind on the exported part of macaon
// run (in maca_data2)
/**
../macaon2/build/maca_export/src/testcxx jh-seq jh-seq/eval/wplgfs.mcd ../macaon2/maca_export/src/test.mcf
*/
using namespace std ; using namespace std ;
......
La D le
pose N pos
d' P de
un D un
panneau N panneau
stop N stop
paraît V paraître
être V être
la D le
formule N formule
la D le
mieux ADV mieux
adaptée A adapté
pour P pour
assurer V assurer
la D le
sécurité N sécurité
des P+D de
usagers N usager
. PONCT .
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment