com.github.monnetproject.coal.nlp.sim OSGi Bundle

com.github.monnetproject.coal.nlp.sim OSGi Bundle from the Monnet Project's coal.project project.

License

License

BSD 3-clause "New" or "Revised" License
Categories

Categories

Net
GroupId

GroupId

com.github.monnetproject
ArtifactId

ArtifactId

coal.nlp.sim
Last Version

Last Version

1.18.4
Release Date

Release Date

Type

Type

jar
Description

Description

com.github.monnetproject.coal.nlp.sim OSGi Bundle
com.github.monnetproject.coal.nlp.sim OSGi Bundle from the Monnet Project's coal.project project.

Download coal.nlp.sim

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.monnetproject/coal.nlp.sim/ -->
<dependency>
    <groupId>com.github.monnetproject</groupId>
    <artifactId>coal.nlp.sim</artifactId>
    <version>1.18.4</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.monnetproject/coal.nlp.sim/
implementation 'com.github.monnetproject:coal.nlp.sim:1.18.4'
// https://jarcasting.com/artifacts/com.github.monnetproject/coal.nlp.sim/
implementation ("com.github.monnetproject:coal.nlp.sim:1.18.4")
'com.github.monnetproject:coal.nlp.sim:jar:1.18.4'
<dependency org="com.github.monnetproject" name="coal.nlp.sim" rev="1.18.4">
  <artifact name="coal.nlp.sim" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.monnetproject', module='coal.nlp.sim', version='1.18.4')
)
libraryDependencies += "com.github.monnetproject" % "coal.nlp.sim" % "1.18.4"
[com.github.monnetproject/coal.nlp.sim "1.18.4"]

Dependencies

compile (4)

Group / Artifact Type Version
org.apache.felix : org.osgi.core jar 1.4.0
com.github.monnetproject : framework.services jar 1.18.4
com.github.monnetproject : language jar 1.18.4
com.github.monnetproject : ontology jar 1.18.4

test (1)

Group / Artifact Type Version
junit : junit jar 4.8.2

Project Modules

There are no modules declared in this project.

Cross-lingual ontology alignment (COAL)

This tool is useful for aligning ontologies in two different languages

The structure of the code is as follows

  • main: The aligner
  • nlp.core: Basic NLP methods (tokenization, etc.)
  • nlp.sim: Cross-lingual similarity metrics
  • test: Integration tests
  • translation: Interface to the Monnet Translate system
  • web: Web interface for COAL

Installing and Running

COAL can be installed using Maven simply as follows

mvn install

Running the aligner can be done with ./main/align script as follows

./align Ontology1.owl Ontology2.owl Alignment.rdf

Example ontologies can be found at main/load/SourceOntology.owl and at main/load/TargetOntology.owl.

In addition a you can require COAL to provide more matches as follows:

./align Ontology1.owl Ontology2.owl Alignment.rdf 5

COAL can be trained as follows

./train Ontology1.owl Ontology2.owl Alignments.rdf modelOutFile

COAL is built on SVM-Rank and so will only work on Linux and Windows

Web server

The web server can be installed by compiling and uploading the WAR file found under web/target to a Java EE container.

com.github.monnetproject

Monnet Project

Versions

Version
1.18.4