cogcomp-nlp
cogcomp-nlp copied to clipboard
modifying corpus readers
I'd like corpus readers to have a method to inform the user of the views they populate. One way to do this is to specify a CorpusReaderConfigurator property/field name and have AnnotationReader pull that configuration parameter at construction, but this requires all users to remember to set it.
Alternatively, we could add an abstract setViewsPopulated() method that all derived classes have to override, and call it in the constructor instead.
Any thoughts @cowchipkid , @danyaljj ?