A Scalable Technique for Weak-Supervised Learning with Domain Constraints