@property
    def word2col(self):
        if self._word2col is None:
            self._word2col = {w: i for i, w in enumerate(self.col2word)}

        return self._word2col
Test that a TypeError is raised when an invalid name value is used to
dataset/ETHPy150Open jimmycallin/pydsm/pydsm/indexmatrix.py/IndexMatrix.word2col--crossover with--dataset/ETHPy150Open OpenKMIP/PyKMIP/kmip/tests/unit/pie/objects/test_secret_data.py/TestSecretData.test_validate_on_invalid_name