def next(self, data=None):
        if data is None:
            if self.stream:
                data = self.stream.readline()
            else:
                return []

        lines = (self.buffer + data).split('\n')
        self.buffer = lines.pop()

        return [nmea.NMEASentence.parse(line) for line in lines]
Return the tokens of a sentence including punctuation.
dataset/ETHPy150Open Knio/pynmea2/pynmea2/stream.py/NMEAStreamReader.next--crossover with--dataset/ETHPy150Open fchollet/keras/examples/babi_rnn.py/tokenize