Bringing tokenise and basicTokenise over from HaRe