def codify_sentence(self, sentence):
        if self._converter is None:
            self.create_converter()
        return np.array([self.converter.convert(t) for t in sentence])
Converts a given sentence into the indices used by the neural network.
dataset/ETHPy150Open erickrf/nlpnet/nlpnet/reader.py/TaggerReader.codify_sentence