in code/source/sentence_preprocessing.py [0:0]
def split(sentences, max):
""" Splits sentences (as list of lists of tuples), to list of lists of len(max) or less """
new = []
for data in sentences:
new.append(([data[x:x+max] for x in range(0, len(data), max)]))
new = [val for sublist in new for val in sublist]
return new