Allow to directly specify the relevant column indices of the input files (e.g. triplets_column_indices=[1, 0, 2]):
Now you have to specify the format htr, rht, etc. which is converted internally with _parse_srd_format to [0,1,2], [1,0,2], etc.
The advantage of specifying this directly is that it would also allow input files with unused columns (such as qualifiers or sources).
It would also be great if this is possible for the id mapping files.
The dataset that I want to use has the columns: property_id, en_label, en_description.
This cannot be loaded with the code from this pull request, since the label and id are in the wrong order, and there is an unused column.
Specifying something like relations_map_column_indices=[1,0] would be very convenient.
Allow to directly specify the relevant column indices of the input files (e.g.
triplets_column_indices=[1, 0, 2]
): Now you have to specify the formathtr, rht,
etc. which is converted internally with_parse_srd_format
to[0,1,2], [1,0,2],
etc. The advantage of specifying this directly is that it would also allow input files with unused columns (such as qualifiers or sources).It would also be great if this is possible for the id mapping files. The dataset that I want to use has the columns: property_id, en_label, en_description. This cannot be loaded with the code from this pull request, since the label and id are in the wrong order, and there is an unused column. Specifying something like
relations_map_column_indices=[1,0]
would be very convenient.