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.wordNet.WordNetEmbeddingLinker
All Implemented Interfaces:
LabelToConceptLinker

public class WordNetEmbeddingLinker extends LabelToConceptLinkerEmbeddings
For this linker, you need (1) a WordNet embedding, (2) a text file of the vocabulary. You can obtain both as follows:
  1. Download dataset: http://wordnet-rdf.princeton.edu/static/wordnet.nt.gz
  2. Train embedding with jRDF2Vec
  3. Generate vocabulary text file (option -generateVocabularyFile in jRDF2Vec).
  • Field Details

    • nameOfLinker

      private String nameOfLinker
  • Constructor Details

    • WordNetEmbeddingLinker

      public WordNetEmbeddingLinker(String entityFilePath)
      Constructor
      Parameters:
      entityFilePath - The file path to the file containing the entities that are available in the vector space. The file must be UTF-8 encoded and must contain one entity per line.
    • WordNetEmbeddingLinker

      public WordNetEmbeddingLinker(File entityFile)
      Constructor
      Parameters:
      entityFile - The file containing the entities that are available in the vector space. The file must be UTF-8 encoded and must contain one entity per line.
  • Method Details