WK3l15k
- class WK3l15k(graph_pair: Literal['en_de', 'en_fr'] = 'en_de', **kwargs)[source]
Bases:
MTransEDataset
The WK3l-15k dataset family.
Note
This dataset contains artifacts from incorrectly treating literals as entities.
Initialize the dataset.
- Parameters:
graph_pair (Literal['en_de', 'en_fr']) – the graph-pair within the dataset family (cf.
GRAPH_PAIRS
)kwargs – additional keyword-based parameters passed to
EABase.__init__()
- Raises:
ValueError – if the graph pair or side is invalid
Attributes Summary
The internal dataset name
The mapping from (graph-pair, side) to triple file name
Attributes Documentation
- FILE_NAMES: ClassVar[Mapping[tuple[GraphPair, None | EASide | tuple[EASide, EASide]], str]] = {('en_de', 'left'): 'P_en_v6.csv', ('en_de', 'right'): 'P_de_v6.csv', ('en_de', ('left', 'right')): 'en2de_fk.csv', ('en_de', ('right', 'left')): 'de2en_fk.csv', ('en_de', None): 'P_en_de_v6.csv', ('en_fr', 'left'): 'P_en_v5.csv', ('en_fr', 'right'): 'P_fr_v5.csv', ('en_fr', ('left', 'right')): 'en2fr_fk.csv', ('en_fr', ('right', 'left')): 'fr2en_fk.csv', ('en_fr', None): 'P_en_fr_v5.csv'}
The mapping from (graph-pair, side) to triple file name