-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
70 changed files
with
10,267 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
### | ||
catalog-v001.xml | ||
|
||
###Java### | ||
|
||
*.class | ||
|
||
# Mobile Tools for Java (J2ME) | ||
.mtj.tmp/ | ||
|
||
# Package Files # | ||
*.jar | ||
*.war | ||
*.ear | ||
|
||
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml | ||
hs_err_pid* | ||
|
||
|
||
###WikiDumps### | ||
out*.txt | ||
enwiki*.xml | ||
|
||
|
||
###Eclipse### | ||
|
||
*.pydevproject | ||
.metadata | ||
.gradle | ||
bin/ | ||
tmp/ | ||
*.tmp | ||
*.bak | ||
*.swp | ||
*~.nib | ||
local.properties | ||
.settings/ | ||
.loadpath | ||
|
||
# External tool builders | ||
.externalToolBuilders/ | ||
|
||
# Locally stored "Eclipse launch configurations" | ||
*.launch | ||
|
||
# CDT-specific | ||
.cproject | ||
|
||
# PDT-specific | ||
.buildpath | ||
|
||
# sbteclipse plugin | ||
.target | ||
|
||
# TeXlipse plugin | ||
.texlipse | ||
|
||
|
||
###OSX### | ||
|
||
.DS_Store | ||
.AppleDouble | ||
.LSOverride | ||
|
||
# Icon must end with two \r | ||
Icon | ||
|
||
|
||
|
||
# Thumbnails | ||
._* | ||
|
||
# Files that might appear on external disk | ||
.Spotlight-V100 | ||
.Trashes | ||
|
||
# Directories potentially created on remote AFP share | ||
.AppleDB | ||
.AppleDesktop | ||
Network Trash Folder | ||
Temporary Items | ||
.apdisk | ||
|
||
|
||
###Maven### | ||
|
||
target/ | ||
pom.xml.tag | ||
pom.xml.releaseBackup | ||
pom.xml.versionsBackup | ||
pom.xml.next | ||
release.properties |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>edu.kit.ipd.are</groupId> | ||
<artifactId>modelConnector</artifactId> | ||
<version>0.0.1-SNAPSHOT</version> | ||
<repositories> | ||
<repository> | ||
<id>ipdNexus-public-snapshots</id> | ||
<name>IPD-Repository</name> | ||
<url>http://bob.ipd.kit.edu/nexus/repository/maven-public-snapshots</url> | ||
</repository> | ||
<repository> | ||
<id>ipdNexus-public-releases</id> | ||
<name>IPD-Repository</name> | ||
<url>http://bob.ipd.kit.edu/nexus/repository/maven-public-releases</url> | ||
</repository> | ||
<!-- <repository> --> | ||
<!-- <id>github</id> --> | ||
<!-- <name>GitHub kit-sdq Apache Maven Packages</name> --> | ||
<!-- <url>https://maven.pkg.github.com/kit-sdq/PARSEGraphImprove</url> --> | ||
<!-- </repository> --> | ||
</repositories> | ||
<properties> | ||
<maven.compiler.source>11</maven.compiler.source> | ||
<maven.compiler.target>11</maven.compiler.target> | ||
</properties> | ||
<dependencies> | ||
<!-- PARSE --> | ||
<dependency> | ||
<groupId>edu.kit.ipd.parse</groupId> | ||
<artifactId>luna</artifactId> | ||
<version>0.5.10</version> | ||
</dependency> | ||
<!-- INDIRECT --> | ||
<!-- PPL --> | ||
<dependency> | ||
<groupId>edu.kit.ipd.indirect</groupId> | ||
<artifactId>tokenizer</artifactId> | ||
<version>0.0.4-SNAPSHOT</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>edu.kit.ipd.indirect</groupId> | ||
<artifactId>textSNLP</artifactId> | ||
<version>0.0.5-SNAPSHOT</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>edu.stanford.nlp</groupId> | ||
<artifactId>stanford-corenlp</artifactId> | ||
<version>3.9.2</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>edu.stanford.nlp</groupId> | ||
<artifactId>stanford-corenlp</artifactId> | ||
<version>3.9.2</version> | ||
<classifier>models</classifier> | ||
</dependency> | ||
<dependency> | ||
<groupId>edu.kit.ipd.indirect</groupId> | ||
<artifactId>graphBuilder</artifactId> | ||
<version>0.0.4-SNAPSHOT</version> | ||
</dependency> | ||
<!-- Agents --> | ||
<dependency> | ||
<groupId>edu.kit.ipd.indirect</groupId> | ||
<artifactId>textNER</artifactId> | ||
<version>0.0.5-SNAPSHOT</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>edu.kit.ipd.indirect</groupId> | ||
<artifactId>depParser</artifactId> | ||
<version>0.0.5-SNAPSHOT</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>edu.kit.ipd.indirect</groupId> | ||
<artifactId>entityRecognizer</artifactId> | ||
<version>0.0.6-SNAPSHOT</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>edu.kit.ipd.indirect</groupId> | ||
<artifactId>conceptualizer</artifactId> | ||
<version>0.0.5-SNAPSHOT</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>edu.kit.ipd.indirect</groupId> | ||
<artifactId>constParser</artifactId> | ||
<version>0.0.5-SNAPSHOT</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>edu.kit.ipd</groupId> | ||
<artifactId>GraphImprove</artifactId> | ||
<version>0.0.3</version> | ||
<type>jar</type> | ||
</dependency> | ||
|
||
</dependencies> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
package modelconnector; | ||
|
||
import edu.kit.ipd.parse.luna.graph.INode; | ||
|
||
/** | ||
* Parent class of all analyzers. Analyzer are executed on a graph node. They | ||
* are able to get the current state of the textual analysis. Analyzers owe a | ||
* type that classifies them. | ||
* | ||
* @author Sophie | ||
* | ||
*/ | ||
public abstract class Analyzer { | ||
|
||
protected DependencyType type; | ||
|
||
/** | ||
* An analyzer is executed on the current node. | ||
* | ||
* @param node the current node | ||
*/ | ||
public void exec(INode node) { | ||
} | ||
|
||
/** | ||
* Creates a new analyzer of the specified type. | ||
* | ||
* @param type the analyzer type | ||
*/ | ||
public Analyzer(DependencyType type) { | ||
this.type = type; | ||
} | ||
|
||
/** | ||
* Returns the dependency type of the current analyzer. | ||
* | ||
* @return the dependency type of the current analyzer | ||
*/ | ||
public DependencyType getDependencyType() { | ||
return this.type; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
package modelconnector; | ||
|
||
/** | ||
* This class holds different states for objects. This enum can be used for | ||
* parallelization and dependency structuring. | ||
* | ||
* @author Sophie | ||
* | ||
*/ | ||
public enum DependencyType { | ||
/** | ||
* The object is dependent of the textual analysis, as well as the extracted | ||
* model. | ||
*/ | ||
TEXT_MODEL, | ||
/** | ||
* The object is only dependent of the textual analysis. | ||
*/ | ||
TEXT, | ||
|
||
/** | ||
* The object is dependent from the textual analysis, the extracted model, and | ||
* the recommendations. | ||
*/ | ||
TEXT_MODEL_RECOMMENDATION, | ||
|
||
/** | ||
* The object is dependent from the textual analysis and the recommendations. | ||
*/ | ||
TEXT_RECOMMENDATION, | ||
|
||
/** | ||
* The object is dependent from the extracted model and the recommendations. | ||
*/ | ||
MODEL_RECOMMENDATION, | ||
|
||
/** | ||
* The object is dependent from the textual analysis, the extracted model, the | ||
* recommendations, and the connection state. | ||
*/ | ||
TEXT_MODEL_RECOMMENDATION_CONNECTION, | ||
/** | ||
* The object is dependent from the extracted model, the recommendations, and | ||
* the connection state. | ||
*/ | ||
MODEL_RECOMMENDATION_CONNECTION, | ||
|
||
/** | ||
* The object is only dependent of the recommendation state. | ||
*/ | ||
RECOMMENDATION; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
package modelconnector; | ||
|
||
/** | ||
* A solver works on the base of its knowledge (its holding states). | ||
* | ||
* @author Sophie | ||
* | ||
*/ | ||
public abstract class Solver { | ||
|
||
protected DependencyType type; | ||
|
||
/** | ||
* An analyzer can be exectued without additional arguments | ||
* | ||
*/ | ||
public void exec() { | ||
} | ||
|
||
/** | ||
* Creates a new analyzer of the specified type. | ||
* | ||
* @param type the analyzer type | ||
*/ | ||
public Solver(DependencyType type) { | ||
this.type = type; | ||
} | ||
|
||
/** | ||
* Returns the dependency type of the current solver. | ||
* | ||
* @return the dependency type of the current solver | ||
*/ | ||
public DependencyType getDependencyType() { | ||
return this.type; | ||
} | ||
} |
Oops, something went wrong.