Class TrackRepository.Multifarm
java.lang.Object
de.uni_mannheim.informatik.dws.melt.matching_data.TrackRepository.Multifarm
- Enclosing class:
- TrackRepository
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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetDifferentOntologies
(List<Track> multiFarmLanguageTracks) getMultifarmTrackForLanguage
(String language) This method returns all multifarm tracks in which the specified language is involved.getSameOntologies
(List<Track> multiFarmLanguageTracks) getSameOrDifferentOntologies
(boolean same) getSameOrDifferentOntologies
(List<Track> multiFarmLanguageTracks, boolean same) static Track
getSpecificMultifarmTrack
(String languagePair) Returns a specific track.static Track
getSpecificMultifarmTrack
(String firstLanguage, String secondLanguage) Returns a specific track.private static Track
getTrackByLanguagePair
(String languagePair) static boolean
-
Field Details
-
ALL_IN_ONE_TRACK
All multifarm testcases in one track. -
LANGUAGE_PAIRS
-
ALL
-
-
Constructor Details
-
Multifarm
public Multifarm()
-
-
Method Details
-
getTrackByLanguagePair
-
calculateAllMultifarmTracks
-
getSpecificMultifarmTrack
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
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
Returns a specific track. If no combination forfirstLanguage-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
-
getSameOntologies
-
getDifferentOntologies
-
getDifferentOntologies
-
getSameOrDifferentOntologies
-
getSameOrDifferentOntologies
-
isTestCaseSameOntology
-