A tool for predicting interactions in protein domains with FACTORIE