-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from diging/develop
prepare releases
- Loading branch information
Showing
23 changed files
with
845 additions
and
220 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
33 changes: 33 additions & 0 deletions
33
wic/src/main/java/edu/asu/diging/wic/core/conceptpower/IConceptEntry.java
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,33 @@ | ||
package edu.asu.diging.wic.core.conceptpower; | ||
|
||
import java.util.List; | ||
|
||
import edu.asu.diging.wic.core.model.IConceptType; | ||
|
||
public interface IConceptEntry { | ||
|
||
String getConceptId(); | ||
|
||
String getConceptUri(); | ||
|
||
String getLemma(); | ||
|
||
String getPos(); | ||
|
||
String getDescription(); | ||
|
||
String getConceptList(); | ||
|
||
IConceptType getType(); | ||
|
||
String getCreatorId(); | ||
|
||
List<String> getEqualTo(); | ||
|
||
List<String> getSimilarTo(); | ||
|
||
List<String> getWordnetIds(); | ||
|
||
<T extends IConceptEntryId> List<T> getAlternativeIds(); | ||
|
||
} |
9 changes: 9 additions & 0 deletions
9
wic/src/main/java/edu/asu/diging/wic/core/conceptpower/IConceptEntryId.java
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,9 @@ | ||
package edu.asu.diging.wic.core.conceptpower; | ||
|
||
public interface IConceptEntryId { | ||
|
||
String getConceptId(); | ||
|
||
String getConceptUri(); | ||
|
||
} |
10 changes: 7 additions & 3 deletions
10
wic/src/main/java/edu/asu/diging/wic/core/conceptpower/IConceptMapper.java
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 |
---|---|---|
@@ -1,9 +1,13 @@ | ||
package edu.asu.diging.wic.core.conceptpower; | ||
|
||
import edu.asu.diging.wic.core.conceptpower.impl.ConceptpowerConcept; | ||
import edu.asu.diging.wic.core.model.IConcept; | ||
|
||
public interface IConceptMapper { | ||
|
||
IConcept mapConceptpowerConceptToConcept(ConceptpowerConcept conceptpowerConcept); | ||
|
||
/** | ||
* Maps the Conceptpower entry received to the concept object | ||
* @param conceptEntry received conceptpower entry | ||
* @return the mapped object | ||
*/ | ||
IConcept mapConceptpowerConceptToConcept(IConceptEntry conceptEntry); | ||
} |
5 changes: 5 additions & 0 deletions
5
wic/src/main/java/edu/asu/diging/wic/core/conceptpower/IConceptpowerCache.java
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 |
---|---|---|
@@ -1,10 +1,15 @@ | ||
package edu.asu.diging.wic.core.conceptpower; | ||
|
||
import java.util.List; | ||
|
||
import edu.asu.diging.wic.core.model.IConcept; | ||
import edu.asu.diging.wic.core.model.impl.ConceptType; | ||
|
||
public interface IConceptpowerCache { | ||
|
||
IConcept getConceptById(String uri); | ||
|
||
IConcept getConceptByUri(String uri); | ||
|
||
List<ConceptType> getAllConceptTypes(); | ||
} |
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
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
Oops, something went wrong.