def loadReferencePhrases(self, sent_id, refFiles):

        sys.stderr.write( "Loading Reference phrases for forced decoding mode ...\n" )
        refHLst = [ open(file, 'r') for file in refFiles ]

        for file_i, refH in enumerate( refHLst ):
            sys.stderr.write( " * Loading ref phrases from file : %s\n" % (refFiles[file_i]) )

            sent_i = sent_id
            for sent in refH:
                sent = sent.strip()
                self.xtractPhrases(sent_i, sent)
                sent_i += 1
        refH.close()
Loads the phrases in the reference(s)
dataset/ETHPy150Open sfu-natlang/Kriya/src/Kriya-Decoder/refPhrases.py/RefPhrases.loadReferencePhrases