Class TrackRepository.Multifarm

java.lang.Object
de.uni_mannheim.informatik.dws.melt.matching_data.TrackRepository.Multifarm
Enclosing class:
TrackRepository

public static class TrackRepository.Multifarm extends Object
Multifarm track. The goal of this track is to evaluate the ability of systems to deal with ontologies in different natural languages. It serves the purpose of evaluating the strengths and the weaknesses of matchers and measuring their progress, with a focus on multilingualism.
  • Field Details

    • ALL_IN_ONE_TRACK

      public static Track ALL_IN_ONE_TRACK
      All multifarm testcases in one track.
    • LANGUAGE_PAIRS

      public static final Set<String> LANGUAGE_PAIRS
    • ALL

      public static List<Track> ALL
  • Constructor Details

    • Multifarm

      public Multifarm()
  • Method Details

    • getTrackByLanguagePair

      private static Track getTrackByLanguagePair(String languagePair)
    • calculateAllMultifarmTracks

      private static List<Track> calculateAllMultifarmTracks()
    • getSpecificMultifarmTrack

      public static Track getSpecificMultifarmTrack(String languagePair)
      Returns a specific track.
      Parameters:
      languagePair - Language pair in the form <first_language>-<second_language> . Valid options for <first_language> and for <second_language> : ar, cn cz, de, en, es, fr, nl, pt.
      Returns:
      The specified track if it exists.
    • getMultifarmTrackForLanguage

      public static List<Track> getMultifarmTrackForLanguage(String language)
      This method returns all multifarm tracks in which the specified language is involved.
      Parameters:
      language - The language for which all tracks shall be returned. Available options: ar, cn cz, de, en, es, fr, nl, pt.
      Returns:
      A list of tracks which contain the specified language.
    • getSpecificMultifarmTrack

      public static Track getSpecificMultifarmTrack(String firstLanguage, String secondLanguage)
      Returns a specific track. If no combination for firstLanguage-secondLanguage is found, secondLanguage-firstLanguage is used.
      Parameters:
      firstLanguage - The first language of the track. Available options: ar, cn cz, de, en, es, fr, nl, pt.
      secondLanguage - The second language of the track. Available options: ar, cn cz, de, en, es, fr, nl, pt.
      Returns:
      The specified track if it exists, else null.
    • getSameOntologies

      public static List<TestCase> getSameOntologies()
    • getSameOntologies

      public static List<TestCase> getSameOntologies(List<Track> multiFarmLanguageTracks)
    • getDifferentOntologies

      public static List<TestCase> getDifferentOntologies()
    • getDifferentOntologies

      public static List<TestCase> getDifferentOntologies(List<Track> multiFarmLanguageTracks)
    • getSameOrDifferentOntologies

      public static List<TestCase> getSameOrDifferentOntologies(boolean same)
    • getSameOrDifferentOntologies

      public static List<TestCase> getSameOrDifferentOntologies(List<Track> multiFarmLanguageTracks, boolean same)
    • isTestCaseSameOntology

      public static boolean isTestCaseSameOntology(TestCase tc)