subwordTokens.reduce((accumulator, currentValue) => {
let lastItem = [currentValue];
let offset = 0;
if (currentValue.slice(0, 2) == "##") {
lastItem = accumulator[accumulator.length - 1].concat([currentValue]);
offset = 1;
}
return accumulator.slice(0, accumulator.length - offset).concat([lastItem]);
}, [])