Add two helper subroutines: * story_is_annotatable() -- checks whether story should be enqueued for annotation (has "media.annotatable_..." set properly, has some sentences, etc.) * story_is_annotated() -- checks whether story has been (already) annotated (tests if it exists in MongoDB GridFS)
Add two helper subroutines:
* story_is_annotatable() -- checks whether story should be enqueued for annotation (has "media.annotatable_..." set properly, has some sentences, etc.)
* story_is_annotated() -- checks whether story has been (already) annotated (tests if it exists in MongoDB GridFS)

AchyuthIIIT/mediacloud,AchyuthIIIT/mediacloud,AchyuthIIIT/mediacloud,AchyuthIIIT/mediacloud,AchyuthIIIT/mediacloud,AchyuthIIIT/mediacloud,berkmancenter/mediacloud,berkmancenter/mediacloud,berkmancenter/mediacloud,AchyuthIIIT/mediacloud,berkmancenter/mediacloud,berkmancenter/mediacloud,AchyuthIIIT/mediacloud,AchyuthIIIT/mediacloud