Skip to content

Migrating from CSE to Bagpipes

Elmer Garduño edited this page Mar 27, 2014 · 1 revision

Declaring collection readers

  • CollectionReader descriptors should use collection-class: instead of class:

Old:

class: uima.components.collection.FileSystemCollectionReader

New:

collection-class: uima.components.collection.FileSystemCollectionReader

Declaring phases

  • Phases are now declared using phase instead of inherit: ecd.phase
  • Declare the name of the phase using phase: NAME
  • The old "|" syntax to specify options is now deprecated:

Old:

  - inherit: ecd.phase
    name: PhraseAnnotator
    options: |
      - inherit: annotators.PhraseAnnotator
      - inherit: annotators.QuestionPhraseAnnotator

New:

  - phase: PhraseAnnotator
    options:
      - inherit: annotators.PhraseAnnotator
      - inherit: annotators.QuestionPhraseAnnotator
Clone this wiki locally