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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alexis Nasr
macaon2
Commits
ec9343df
Commit
ec9343df
authored
7 years ago
by
Johannes Heinecke
Browse files
Options
Downloads
Patches
Plain Diff
documentation: use same python version for compilation and executation
parent
159d7ef9
Branches
Branches containing commit
No related tags found
1 merge request
!9
Johannes
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
INSTALL
+3
-0
3 additions, 0 deletions
INSTALL
maca_export/CMakeLists.txt
+10
-1
10 additions, 1 deletion
maca_export/CMakeLists.txt
maca_export/README.txt
+6
-1
6 additions, 1 deletion
maca_export/README.txt
with
19 additions
and
2 deletions
INSTALL
+
3
−
0
View file @
ec9343df
...
...
@@ -28,6 +28,9 @@ The basic procedure to build and install macaon from sources is the following.
or
sudo apt-get install openjdk-7-jdk
Attention: if you have libpython2.7-dev and libpython3.X-dev installed, cmake will choose the latter
in this case the generated libraries for Python will only work with Python 3
- Build the sources with:
make
- Install macaon
...
...
This diff is collapsed.
Click to expand it.
maca_export/CMakeLists.txt
+
10
−
1
View file @
ec9343df
...
...
@@ -3,9 +3,18 @@ if(MACA_EXPORT)
FIND_PACKAGE
(
SWIG
)
if
(
SWIG_FOUND
)
FIND_PACKAGE
(
PythonLibs
)
# if(PYTHONLIBS_FOUND)
# message(STATUS "OK: PythonLibs ${PYTHONLIBS_VERSION_STRING} found")
# endif()
FIND_PACKAGE
(
Java 1.7
)
# if (Java_FOUND OR JAVA_FOUND)
# message(STATUS "OK: Java ${Java_VERSION_STRING} found")
FIND_PACKAGE
(
JNI
)
# if (JNI_FOUND)
# message(STATUS "OK: JNI found")
# endif()
# endif()
add_subdirectory
(
tagger
)
add_subdirectory
(
lemmatizer
)
...
...
This diff is collapsed.
Click to expand it.
maca_export/README.txt
+
6
−
1
View file @
ec9343df
Using the libraries for python and java
Attention: if you have libpython2.7-dev and libpython3.X-dev installed, cmake will choose the latter
in this case the generated libraries for Python will only work with Python 3
set environment variable MACAON_DIR
export MACAON_DIR=/home/jeuh6401/SemanticData/macaon/maca_data2
...
...
@@ -12,6 +15,8 @@ then:
../macaon2/maca_export/example/example.py
another test programme:
cd maca_data2
../macaon2/build/maca_export/src/testcxx jh-seq jh-seq/eval/wplgfs.mcd ../macaon2/maca_export/src/test-0.mcf
...
...
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