Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Alignment API
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
moex
Alignment API
Commits
af5c3f9d
Commit
af5c3f9d
authored
8 years ago
by
Jérôme Euzenat
Browse files
Options
Downloads
Patches
Plain Diff
- Updated wordnet use page
parent
c7bb7b12
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
html/alignwn.html
+25
-34
25 additions, 34 deletions
html/alignwn.html
html/relnotes.html
+1
-0
1 addition, 0 deletions
html/relnotes.html
with
26 additions
and
34 deletions
html/alignwn.html
+
25
−
34
View file @
af5c3f9d
<html>
<head>
<title>
Using the Alignment API with Word
n
et
</title>
<title>
Using the Alignment API with Word
N
et
</title>
<!--style type="text/css">@import url(style.css);</style-->
<link
rel=
"stylesheet"
type=
"text/css"
href=
"base.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"style.css"
/>
</head>
<body>
<h1
class=
"titre"
>
Using the Alignment API with Word
n
et
</h1>
<h1
class=
"titre"
>
Using the Alignment API with Word
N
et
</h1>
<p>
We explain how to use the API with wordnet. This is also useful when
using OLA.
</p>
<p>
We explain how to use the API with wordnet.
</p>
<h2>
Getting
the required software
</h2>
<h2>
Getting
, installing and configuring WordNet
</h2>
<p>
Different pieces of software are necessary for this integration:
<dl
compact=
"1"
>
<dt><a
href=
"index.html"
>
Alignment API
</a></dt>
<dd>
as well as the OWL API are necessary. Its lib directory
contains the alignwn.jar file.
</dd>
<dt><a
href=
""
>
Wordnet
</a></dt>
<dd>
version 2.0 is used; it seems to work flawlessly with 3.0.
</dd>
<dt>
The
<a
href=
""
>
Java WordNet Library (JWNL)
</a></dt>
<dd>
whose jar-file should be put in the same directory as alignwn.jar.
</dd>
<dt>
Apache
<a
href=
""
>
common-loggings
</a></dt>
<dd>
commons-logging.jar should be put there as well.
</dd>
</dl>
<p>
This may be skipped if WordNet is already installed on the current platform.
</p>
<h2>
Installing wordnet and configuring
</h2>
<p>
First Wordnet must be compiled if this is not already done.
<p>
First Wordnet must be downloaded from
<a
href=
"https://wordnet.princeton.edu/"
>
the WordNet website
</a>
.
</p>
<p>
Then it has to be compiled.
This will depend on your distribution and will not be further
detailed here.
</p>
<p>
Once installed, Wordnet usually has a "dict" directory whose path
is $WNDIR.
<!--The file_properties.xml provided with jwnl must be put in the
current directory with the "dictionary_path" parameter set to
the path of this dict directory:
<pre>
<param name="dictionary_path" value="$dict$"/>
</pre-->
detailed here.
</p>
<h2>
Running
</h2>
<p>
This usually can be obtained by:
<p>
Once installed, Wordnet usually has a "dict" directory whose path is assumed here to be in $WNDIR.
</p>
<p>
A matcher using WordNet can be run by, for instance (from the Alignment API distribution root directory):
<div
class=
"terminal"
>
$ export CWD=`pwd`
$ java -jar lib/alignwn.jar -Dwndict=$WNDIR file://$CWD/examples/rdf/edu.umbc.ebiquity.publication.owl file://$CWD/examples/rdf/edu.mit.visus.bibtex.owl -i fr.inrialpes.exmo.align.ling.JWNLAlignment -o examples/rdf/JWNL.rdf
$ java -jar lib/procalign.jar -Dwndict=$WNDIR file:examples/rdf/edu.umbc.ebiquity.publication.owl file:examples/rdf/edu.mit.visus.bibtex.owl -i fr.inrialpes.exmo.align.ling.JWNLAlignment -o examples/rdf/JWNL.rdf
</div>
</p>
<p>
Note that JWNLAlignment is only an example of matcher and nothing very elaborate.
Its source can be used as inspiration.
Most of its code relies on the
<a
href=
"http://ontosim.gforge.inria.fr"
>
OntoSim library
</a>
.
</p>
<address>
<small>
...
...
This diff is collapsed.
Click to expand it.
html/relnotes.html
+
1
−
0
View file @
af5c3f9d
...
...
@@ -65,6 +65,7 @@ with a warning:
<li>
Fixed a problem with Jade when running a server with no X server running (serv)
</li>
<li>
Moved all shell examples from csh to bash (html)
</li>
<li>
Clarified EDOAL documentation (html)
</li>
<li>
Several documentation fixes --alignwn, rest-- (html)
</li>
<li>
Fixed all Javadoc generation warnings (distrib)
</li>
</ul></p>
...
...
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