def to_loose(self, word_compact):
        self._check_finalized()
        uniques = np.unique(word_compact)
        # Find the out of vocab indices
        oov = np.setdiff1d(uniques, self.keys_compact, assume_unique=True)
        msg = "Found keys in `word_compact` not present in the"
        msg += "training corpus. Is this actually a compacted array?"
        assert np.all(oov < 0), msg
        loose = fast_replace(word_compact, self.keys_compact, self.keys_loose)
        return loose
Convert a compacted array back into a loose array.
dataset/ETHPy150Open cemoody/lda2vec/lda2vec/corpus.py/Corpus.to_loose