Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BasePhaseLoader: Allow parameters to be specified in 'options' blocks #20

Merged
merged 1 commit into from
Jun 17, 2014

Conversation

pasky
Copy link
Contributor

@pasky pasky commented Jan 17, 2014

This allows ECD blocks like:

'''

  • inherit: jdbc.sqlite.cse.phase
    name: information-extractor
    options: |
    • inherit: phases.ie.fixedregex
      regex: "$[^.]*"
      '''

i.e. specifying parameters inline in the options block rather than only
in the inherited ECDs.

… of 'inherit' type

This allows ECD blocks like:

  - inherit: jdbc.sqlite.cse.phase
    name: information-extractor
    options: |
      - inherit: phases.ie.fixedregex
        regex: "\\$[^.]*"

i.e. specifying parameters inline in the options block rather than only
in the inherited ECDs.
@pasky
Copy link
Contributor Author

pasky commented Jan 17, 2014

This issue has been also touched upon in issue #17.

@elmer-garduno
Copy link
Contributor

No problem merging it, are there tests that validate these cases?

elmer-garduno added a commit that referenced this pull request Jun 17, 2014
BasePhaseLoader: Allow parameters to be specified in 'options' blocks.
@elmer-garduno elmer-garduno merged commit ab525ce into oaqa:master Jun 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants