Skip to content
This repository has been archived by the owner on Jul 15, 2022. It is now read-only.

Fix the usage of a metadata_file #3

Closed
dcfidalgo opened this issue Mar 20, 2019 · 2 comments
Closed

Fix the usage of a metadata_file #3

dcfidalgo opened this issue Mar 20, 2019 · 2 comments
Assignees

Comments

@dcfidalgo
Copy link
Contributor

Does not work at the moment, i think the ExamplePreparator needs to be updated.

@dcfidalgo dcfidalgo self-assigned this Mar 20, 2019
@dcfidalgo
Copy link
Contributor Author

Maybe add this as an extra parameter to the datasource yml config file:

forward:
  tokens: 
    source:
    - text
  gold_label:
    source: label
    mapping: label_mapping.txt

The source keyword should be omitted if the input of a forward parameter is just a string -> This should also be possible:

forward:
  tokens: text  # or tokens: [text] 
  gold_label:
    source: label
    mapping: label_mapping.txt

@dcfidalgo
Copy link
Contributor Author

The usage of the metafile_data was reimplemented in #10
But we should unite metadata_file and values_mapping! Will open another issue for this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant