def read(self, length):

        data = ''
        for unused in range(length):
            data += self._queue.get()
        return data
Build the encoder based on given training data.
dataset/ETHPy150Open google/pywebsocket/test/mock.py/MockBlockingConn.read--crossover with--dataset/ETHPy150Open hdidx/hdidx/hdidx/encoder/__init__.py/Encoder.build