cogcomp-nlp
cogcomp-nlp copied to clipboard
AnnotationReader default constructor is public
This constructor is not intended for use -- the version with ResourceManager must be used or the initialize step won't work. Error message is logged but no exception thrown: https://github.com/CogComp/cogcomp-nlp/blob/master/corpusreaders/src/main/java/edu/illinois/cs/cogcomp/nlp/corpusreaders/AnnotationReader.java#L35
EITHER: refactor AnnotationReader to obviate intialize() call (hard) OR make constructor private OR throw an exception/system exit.