frontend dataSource use dataSpec passed in getData()

actually perform the computation found there
fix the multiword example (bracketing changed)