Class WiktionaryEmbeddingLinker
java.lang.Object
de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.external.embeddings.LabelToConceptLinkerEmbeddings
de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.external.wiktionary.WiktionaryEmbeddingLinker
- All Implemented Interfaces:
LabelToConceptLinker
-
Field Summary
-
Constructor Summary
ConstructorDescriptionWiktionaryEmbeddingLinker
(File entityFile) ConstructorWiktionaryEmbeddingLinker
(String filePathToEntityFile) Constructor -
Method Summary
Modifier and TypeMethodDescriptionGet instance specific name of the linker.Normalizationvoid
setNameOfLinker
(String nameOfLinker) Set instance specific name of the linker.Methods inherited from class de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.external.embeddings.LabelToConceptLinkerEmbeddings
getLookupMap, getStringModificationSequence, linkToPotentiallyMultipleConcepts, linkToSingleConcept, setStringModificationSequence
-
Field Details
-
nameOfLinker
-
-
Constructor Details
-
WiktionaryEmbeddingLinker
Constructor- Parameters:
filePathToEntityFile
- Path to the vocabulary file (UTF-8 encoded, one concept per line).
-
WiktionaryEmbeddingLinker
Constructor- Parameters:
entityFile
- Vocabulary file (UTF-8 encoded, one concept per line).
-
-
Method Details
-
normalize
Description copied from class:LabelToConceptLinkerEmbeddings
Normalization- Specified by:
normalize
in classLabelToConceptLinkerEmbeddings
- Parameters:
stringToBeNormalized
- The String that shall be normalized.- Returns:
- Normalized version of the String.
-
getNameOfLinker
Description copied from interface:LabelToConceptLinker
Get instance specific name of the linker.- Returns:
- Name as String.
-
setNameOfLinker
Description copied from interface:LabelToConceptLinker
Set instance specific name of the linker.- Parameters:
nameOfLinker
- Name to be set.
-